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

Re: [Xen-devel] Newbie boot problem (root on logical volume?)



On Fri, Feb 04, 2005 at 10:31:01AM +0200, Roland Paterson-Jones wrote:
> Hi all
> 
> Sorry for the newbie question.
> 
> I have installed xen-2.0.3 binary release over Fedora Core 3 2.6.9.
> 
> Xen boots, and XenLinux seems to start, but it can't find the root 
> partition, eventually failing looking for an NFS root.
> 
> My root file system is on a logical volume:
> 
>    kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup01/LogVol00
> 
> from the straight Fedora boot.
> 
> So, the xen version is:
> 
>    module /vmlinuz-2.6.10-xen0 root=/dev/VolGroup01/LogVol00 ro 
> console=tty0
> 
> Do I have to do anything special to use the logical volume?
Yes. Use an initrd. Create it with:
mkinitrd /boot/initrd-2.6.10-xen0.img 2.6.10-xen0 -v -f

Then add it to grub:
>    module /vmlinuz-2.6.10-xen0 root=/dev/VolGroup01/LogVol00 ro 
> console=tty0
     module /initrd-2.6.10-xen0.img

Before any of that, make sure you compiled the dom0 kernel with support
to device-mapper/lvm.

Regards,
Luciano Rocha


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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