Skip to contentSkip to conversation

Newbie boot problem (root on logical volume?)

DISCUSSION Roland Paterson-Jones 3 participants 4 messages Feb 4, 2005

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 13 lines · Roland Paterson-Jones

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
Quoted 8 lines

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:

Quoted 2 lines
   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

#2 lore raw

Might this be the ext3 inclusion problem in configuration? I usually include ext3 in kernel rather than a module.

Himanshu

Quoted 46 lines · Luciano Miguel Ferreira Rocha
Quoted 13 lines · Roland Paterson-Jones

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
Quoted 8 lines

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:

Quoted 2 lines
   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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

Signature · 12 lines
-------------------------------------------------------------------------
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
#3 lore raw
Quoted 2 lines · Himanshu Raj

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