Roland Paterson-Jones
2005-Feb-04 08:31 UTC
[Xen-devel] Newbie boot problem (root on logical volume?)
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? Or am I barking up completely the wrong tree. Thanks for any help Roland ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Luciano Miguel Ferreira Rocha
2005-Feb-04 09:50 UTC
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=tty0module /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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Himanshu Raj
2005-Feb-04 15:52 UTC
Re: [Xen-devel] Newbie boot problem (root on logical volume?)
Might this be the ext3 inclusion problem in configuration? I usually include ext3 in kernel rather than a module. Himanshu On Fri, Feb 04, 2005 at 09:50:01AM +0000, Luciano Miguel Ferreira Rocha wrote:> 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@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel-- ------------------------------------------------------------------------- Himanshu Raj PhD Student, GaTech (www.cc.gatech.edu/~rhim) I prefer to receive attachments in an open, non-proprietary format. ------------------------------------------------------------------------- ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Luciano Miguel Ferreira Rocha
2005-Feb-04 18:39 UTC
Re: [Xen-devel] Newbie boot problem (root on logical volume?)
On Fri, Feb 04, 2005 at 10:52:34AM -0500, Himanshu Raj wrote:> Might this be the ext3 inclusion problem in configuration? I usually include ext3 in kernel rather than > a module.ext3, udev, dm_mod, dm_mirror, etc. But ext3, specifically, would still allow to boot, with root mounted as ext2 instead. 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel