Hi Everyone, I am trying to boot a CentOS 4.4 system with the Xen 64 bit kernel and am failing because it seems that the Xen Kernel doesn''t support LVM Also if you are CentOS and are happy to share your grub.conf, I''d much appreciate it :) Any ideas? -- "I never look back darling, it distracts from the now", Edna Mode (The Incredibles) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jerry Amundson
2007-Feb-05 06:15 UTC
Re: [Xen-users] Booting Domain0 with LVM under CentOS
On 2/4/07, Devraj Mukherjee <devraj@gmail.com> wrote:> Hi Everyone, > > I am trying to boot a CentOS 4.4 system with the Xen 64 bit kernel and > am failing because it seems that the Xen Kernel doesn''t support LVMIt''s more likely a missing initrd module for your disk controller. What messages appear during boot? Did you run mkinitrd? title Xen 3.0.4 (2.6.16-xen) root (hd0,0) kernel /xen.gz dom0_mem=256M module /vmlinuz-2.6.16-xen ro root=/dev/VolGroup00/LogVol00 init 3 module /initrd-2.6.16.33-xen.img jerry -- "Pay no attention to that man behind the curtain!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jerry Amundson
2007-Feb-05 13:54 UTC
Re: [Xen-users] Booting Domain0 with LVM under CentOS
First, a couple general tips. 1. Don''t top-post (yes, like I''m doing now :-). 2. Reply to the list, not directly to me (or other posters). On 2/5/07, Devraj Mukherjee <devraj@gmail.com> wrote:> I did not compile it, used the available binary packages and they did > not come with the initrd files. Will try and build the packages.Second, I didn''t suggest building the source... Looking down further.....> On 2/5/07, Jerry Amundson <jamundso@gmail.com> wrote: > > On 2/4/07, Devraj Mukherjee <devraj@gmail.com> wrote: > > > Hi Everyone, > > > > > > I am trying to boot a CentOS 4.4 system with the Xen 64 bit kernel and > > > am failing because it seems that the Xen Kernel doesn''t support LVM > > > > It''s more likely a missing initrd module for your disk controller. > > What messages appear during boot? > > Did you run mkinitrd?See? Here (where you should have been replying anyway :-), I suggest running mkinitrd. jerry -- "Pay no attention to that man behind the curtain!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jerry Amundson
2007-Feb-25 14:43 UTC
Re: [Xen-users] Booting Domain0 with LVM under CentOS
[my reply on topic is below] kanour, please reply to lists, not directly to posters. On 2/25/07, kanour-xen <xen@kanour.com> wrote:> Jerry Amundson wrote: > > On 2/4/07, Devraj Mukherjee <devraj@gmail.com> wrote: > >> Hi Everyone, > >> > >> I am trying to boot a CentOS 4.4 system with the Xen 64 bit kernel and > >> am failing because it seems that the Xen Kernel doesn''t support LVM > > > > It''s more likely a missing initrd module for your disk controller. > > What messages appear during boot? > > Did you run mkinitrd? > > > > title Xen 3.0.4 (2.6.16-xen) > > root (hd0,0) > > kernel /xen.gz dom0_mem=256M > > module /vmlinuz-2.6.16-xen ro root=/dev/VolGroup00/LogVol00 init 3 > > module /initrd-2.6.16.33-xen.img > > > > jerry > > > Just compile support for LVM into kernel. NOT MODULES!!!Yes modules, NOT KERNEL! This is why we have kernel modules. It''s a fine environment as-is, why suggest such a thing as a kernel rebuild?? Here is another example of the deficiencies in the rpm install. The vanilla kernel rpm install maintains a bootable system, so should the kernel-xen rpm install. Period. (Knowing what I do now, my time would have been better served suppling patches to fix the problems, rather than posting the workaround all these times...) jerry -- "Pay no attention to that man behind the curtain!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nico Kadel-Garcia
2007-Feb-25 17:37 UTC
Re: [Xen-users] Booting Domain0 with LVM under CentOS
Jerry Amundson wrote:> [my reply on topic is below] > > kanour, please reply to lists, not directly to posters. > > On 2/25/07, kanour-xen <xen@kanour.com> wrote: >> Jerry Amundson wrote: >>> On 2/4/07, Devraj Mukherjee <devraj@gmail.com> wrote: >>>> Hi Everyone, >>>> >>>> I am trying to boot a CentOS 4.4 system with the Xen 64 bit kernel >>>> and am failing because it seems that the Xen Kernel doesn''t >>>> support LVM >>> >>> It''s more likely a missing initrd module for your disk controller. >>> What messages appear during boot? >>> Did you run mkinitrd? >>> >>> title Xen 3.0.4 (2.6.16-xen) >>> root (hd0,0) >>> kernel /xen.gz dom0_mem=256M >>> module /vmlinuz-2.6.16-xen ro root=/dev/VolGroup00/LogVol00 >>> init 3 module /initrd-2.6.16.33-xen.img >>> >>> jerry >>> >> Just compile support for LVM into kernel. NOT MODULES!!! > > Yes modules, NOT KERNEL! > This is why we have kernel modules. It''s a fine environment as-is, why > suggest such a thing as a kernel rebuild?? > > Here is another example of the deficiencies in the rpm install. The > vanilla kernel rpm install maintains a bootable system, so should the > kernel-xen rpm install. Period. > (Knowing what I do now, my time would have been better served suppling > patches to fix the problems, rather than posting the workaround all > these times...)It does in the RedHat 4.92 beta distribution. Basically, the "grubby" tool that builds grub.conf entries needs to understand about Xen, and RedHat Enteprise 4.x is simply too old to have this feature. Rolling back the 4.92 or the Fedora Core 6 versions of the grub and associated tools is feasible, but way too much work. If you want such tools in RedHat based releases, I''m afraid you need to pony up the money and have someone write them. Wait a month or two: RedHat 5 is due out in March, and I''m sure CentOs 5 will follow almost immediately upon its release. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jerry Amundson
2007-Feb-25 20:31 UTC
Re: [Xen-users] Booting Domain0 with LVM under CentOS
On 2/25/07, Nico Kadel-Garcia <nkadel@gmail.com> wrote:> It does in the RedHat 4.92 beta distribution. Basically, the "grubby" tool > that builds grub.conf entries needs to understand about Xen, and RedHat > Enteprise 4.x is simply too old to have this feature. Rolling back the 4.92 > or the Fedora Core 6 versions of the grub and associated tools is feasible, > but way too much work. If you want such tools in RedHat based releases, I''m > afraid you need to pony up the money and have someone write them.Nonsense. The grubby tool, and the /sbin/new-kernel-pkg script which calls it, are part of mkinitrd-3.5.13.6-1 which even updated RHEL 3 includes. The kernel-xen spec just took a short-cut only running mkinitrd, whereas the kernel spec runs /sbin/new-kernel-pkg. But all this just explains the lack of a grub.conf entry, not why the resulting initrd fails to boot sometimes... jerry -- "Pay no attention to that man behind the curtain!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users