WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] CentOS ISO how to boot in Xen guest system

To: "James Corteciano" <linux@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] CentOS ISO how to boot in Xen guest system
From: "Alain Barthe" <ab266061@xxxxxxxxx>
Date: Mon, 13 Oct 2008 12:18:27 +0200
Cc: Steffen Heil <lists@xxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 13 Oct 2008 03:19:06 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=i9ptnZoTPPNNL/aS627TDV1+00Bd/OWvemxLF76EU5c=; b=Ipu1KiwIBhUnBSqZ/R6wl1GCf+Jo/G5hobx65YsWmBpsflO1pjlmb2eizdj0Mnl24S nmhu1CEDjBaxHg+BKHBlyPimd67iGmcQ792F0uqnzKRc3mUyJ0x63WJVpmkMH9P/7yUA KArY/l7Gqdn1HV9Bz2zua25lYeCIdOfMe7/W0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=Cv9m4Ob1rbudhzqmRc2DgadYloq/pf2bkkOi9yyZj5+br9sPgWlezggtZbwZ4gSl2q xsvqAxq7YEXu6lnGhxQF+S1YhbbuxETcc934ZiInJrMZFz876ckxJRraJ/KiLmVmI589 iGuaV/esnUvS/3wcyvkWkh3XtaV8kBULgrA+c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <3dc9c8bb0810122045t6b888590hcf49bdef0f5759d2@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <3dc9c8bb0810111415x4637fea0u6930359d7c90403a@xxxxxxxxxxxxxx> <00be01c92bf7$53dd7a70$fb986f50$@de> <3dc9c8bb0810122045t6b888590hcf49bdef0f5759d2@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
2008/10/13 James Corteciano <linux@xxxxxxxxxxxxxxxxx>
Hi Steffen,

I try to mount the partition in dom0 and however this is what the error message said:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dom0:~# mount -t ext3 /dev/server/centos /mnt/temp
mount: wrong fs type, bad option, bad superblock on
/dev/server/centos,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

dom0:  dmesg | tail
...............
VFS: Can't find ext3 filesystem on dev dm-14.
...................
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I have got a wrong entry in /etc/fstab inside the domU system which cause of not booting properly. Is there anyway I can do to mount this /dev/server/centos in dom0?

What you try to mount above is a whole virtual disk. You have first to make its partition seeable from your dom0 by using "kpartx -a /dev/server/centos". This will create for you entries (one per virtual partition) in /dev/mapper. Then you have to mount the entry that corresponds to your virtual root.
 


Thanks!
James


On Sun, Oct 12, 2008 at 7:16 AM, Steffen Heil <lists@xxxxxxxxxxxxxxx> wrote:
Hi

> How to boot the centos dvd image (/download/centos/centos5.2.iso) in xen
guest system to let me do linux rescue command?

You don't have to.
Just mount the partition in dom0 and repair there!

Regards,
 Steffen




--
Linux Registered User #380364


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users