[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "James Corteciano" <linux@xxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.