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

Hi Alain,

Thanks for your help. It has fixed now.

James


On Mon, Oct 13, 2008 at 6:18 PM, Alain Barthe <ab266061@xxxxxxxxx> wrote:
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
<Prev in Thread] Current Thread [Next in Thread>