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

Re: [Xen-users] How to create a domU on RedHat Enterprise AS 4.4?





if you are using the partition-within-the-domU method that makes it difficult to mount it outside, make the problem domU the second disk in a good domU... you can boot the good domU and the mount the second disk and mess with it.


On Sun, 10 Sep 2006, Liang Yang wrote:

Date: Sun, 10 Sep 2006 16:24:40 -0700
From: Liang Yang <multisyncfe991@xxxxxxxxxxx>
To: Tom Z. Napierala <tom@xxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How to create a domU on RedHat Enterprise AS 4.4?

Hi Tom,

I can not even boot my domU, how can I check my domU fstab?

Thanks,

Liang

----- Original Message ----- From: "Tom Z. Napierala" <tom@xxxxxx>
To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Sent: Sunday, September 10, 2006 8:34 AM
Subject: Re: [Xen-users] How to create a domU on RedHat Enterprise AS 4.4?


Dnia Saturday 09 September 2006 04:14, Liang Yang napisaÅ:
Hi,

I installed Xen 3.0.2 on RedHat Enterprise AS 4.4. Now I try to create domU
from dom0. I copied the whole filesystem of a RedHat to the logic volume
group (/dev/VG_Dom6_Linux/LogVol00) I created for domU. I then start the
domU kernel, however I got the following errors:

[...]

Checking root filesystem
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/VG_Dom6_Linux/LogVol00
fsck.ext3: /dev/VG_Dom6_Linux/LogVol00:
The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

No such file or directory while trying to open /dev/VG_Dom6_Linux/LogVol00
[FAILED]

[...]

Your DomU is trying to access logocal volume as root instrad of sda1.


Here is the content of my domU config file:
kernel = "/boot/vmlinuz-2.6-xenU"
ramdisk = "/boot/initrd-2.6-xen.img"
memory = 512
name = "domain1"
extra = "3"
vif = [ 'bridge=xenbr0' ]
dhcp = "dhcp"
disk = ['phy:/dev/VG_Dom6_Linux/LogVol00,sda1,w' ]
root = "/dev/sda1 ro"

Check your DomU fstab.

Regards,
--
Tom Napierala
DB Alliance Limited
North Point House, New Mallow Road, Cork, Ireland
The National Software Centre, Mahon, Cork, Ireland


_______________________________________________
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
_______________________________________________
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®.