[Fedora-xen] Newby Help

Friedrich Clausen fred at derf.nl
Thu Mar 27 12:23:19 UTC 2008


Hello,

I can offer some input from my own experiences regarding mounting root.

On Wed, Mar 26, 2008 at 9:13 PM, Walter Coole <WCoole at aperiogroup.com>
wrote:


> Please append a correct "root=" boot option
>
> I changed the root clause to:
>
> root = "/dev/xvda1 ro"
>
> , which changed the error to:
>
> VFS: Cannot open root device "xvda1" or unknown-block(0,0)
> Please append a correct "root=" boot option
>
> I'm unclear whether the problem is in creating the virtual disk or in
> being able to mount it after it's been created.
>

I found that the default initrd did not contain the xenblk driver and so it
could not access the root filesystem. See here:

http://lists.xensource.com/archives/html/xen-users/2008-03/msg00000.html

You might even want to use the --preload option of mkinitrd. My exact
mkinitrd was:

#  mkinitrd -v --preload=sd_mod --preload=xenblk --with=xennet
--with=xenblktap\
 --with=xenbus_be /tmp/test `uname -r`

Then I copied /tmp/test to /boot/initrd-2.6.21.7-2.fc8xen.img. This worked
for me - YMMV.

Cheers,

Fred.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20080327/e212e5b0/attachment.htm>


More information about the Fedora-xen mailing list