|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] DomU boot fails with can't find root on Fedora 6
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ligesh
> Sent: 31 January 2007 13:03
> To: Xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] DomU boot fails with can't find root on Fedora 6
>
>
> I am trying to get Xen running on Fedora 6, which I thought
> would be easy, but I guess not. I am using the standard image
> from jailtime.org and my domU configuration file is below. I
> am using the same kernel of the host itself.
>
> ------------
> kernel = '/boot/vmlinuz-2.6.19-1.2895.fc6xen'
> ramdisk = '/boot/initrd-2.6.19-1.2895.fc6xen.img'
> memory = 512
> name = 'test.vm'
> vif = ['vifname=vif-test0, mac=aa:00:f6:f4:06:1a']
> vnc = 0
> vncviewer = 0
> serial = 'pty'
> disk = ['file:/home/test.vm//root.img,sda1,w',
> 'file:/home/test.vm//vm.swap,sda2,w']
> root = '/dev/sda1 ro'
> ------------------
>
> -------------------
> Loading dm-zero.ko module
> Loading dm-snapshot.ko module
> Making device-mapper control node
> Scanning logical volumes
> Reading all physical volumes. This may take a while...
> No volume groups found
> Activating logical volumes
> Volume group "VolGroup00" not found
> Creating root device.
> Mounting root filesystem.
> mount: could not find filesystem '/dev/root'
> Setting up other filesystems.
> Setting up new root fs
> setuproot: moving /dev failed: No such file or directory
> no fstab.sys, mounting internal defaults
> setuproot: error mounting /proc: No such file or directory
> setuproot: error mounting /sys: No such file or directory
> Switching to new root and running init.
> unmounting old /dev
> unmounting old /proc
> unmounting old /sys
> switchroot: mount failed: No such file or directory
> Kernel panic - not syncing: Attempted to kill init!
>
> --------------------------
>
> The above is the error I got. It seems the initrd is
> searching for volGroup00, which is how the '/' of the HOST is
> mounted, but I have explicitly given 'root =' in the config
> file. So I am confused.
>
> Is there anyone here who has experienced this beforehand? Of
> course, I plan to ask in the fedora-xen mailing list too, but
> for some weird reason, I am not getting their confirmation email.
Probably caused by the fact that you're using the same initrd for your
guest as you do for the host - you should use a separate initrd for your
guest (using the same kernel is fine). My guess is that the initrd is
"messing" with the root argument.
--
Mats
>
> Thanks in advance.
>
>
>
> _______________________________________________
> 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>
|
- [Xen-users] DomU boot fails with can't find root on Fedora 6, Ligesh
- RE: [Xen-users] DomU boot fails with can't find root on Fedora 6,
Petersson, Mats <=
- [Xen-users] Re: DomU boot fails with can't find root on Fedora 6, Ligesh
- [Xen-users] RE: DomU boot fails with can't find root on Fedora 6, Petersson, Mats
- [Xen-users] Re: DomU boot fails with can't find root on Fedora 6, Ligesh
- [Xen-users] Re: DomU boot fails with can't find root on Fedora 6, Ligesh
- [Xen-users] Re: DomU boot fails with can't find root on Fedora 6, Ligesh
- [Xen-users] RE: DomU boot fails with can't find root on Fedora 6, Petersson, Mats
- [Xen-users] Re: DomU boot fails with can't find root on Fedora 6, Ligesh
- [Xen-users] RE: DomU boot fails with can't find root on Fedora 6, Petersson, Mats
- [Xen-users] Re: DomU boot fails with can't find root on Fedora 6, Ligesh
- [Xen-users] Re: DomU boot fails with can't find root on Fedora 6, Ligesh
|
|
|
|
|