Hi. I''ve been banging my head on this and can''t seem to quite get it. I''ve got 2 other Xen boxes running, so I know I''m not totally incompetent :) On my new server, I am experimenting with having Domain0 boot with the root filesystem on an LVM device. /boot is still a 50M EXT3 partition, and / (root) should be found on /dev/mapper/rootvg-rootlv (rootlv in the disk group rootvg). The default kernel boots OK. I get booted up to the point where it can''t find the / (root) and looks for a floppy (none installed) or an NFS root. Hitting the "any" key blips by an error message that I can''t read quick enough and reboots. Has anyone gotten this to work yet? Ideally, I''d like to get to the point where my Xen server boots off of a CD or USB stick and has all of it''s "disk" hosted off of an external server (NFS, iSCSI, something). My linux distro is Debian Sarge (testing). Thanks! Sam ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Puthiyaparambil, Aravindh
2005-Feb-22 02:29 UTC
RE: [Xen-devel] Domain0 booting on LVM device
I have Domain 0 booting off an LVM volume. It works fine. You most likely don''t have an initrd image that has the Device Mapper modules built into it. I don''t have much experience with Debian but with SLES9 the mk_initrd script does this for you as long as you have compiled the dom0 kernel with the "Device Mapper support" as modules. I also had to uncompress my initrd image using gunzip. As a result of this I had to increase the size of the initial RAM disk (under Block Devices) in the dom0 kernel. Cheers, Aravindh -----Original Message----- From: xen-devel-admin@lists.sourceforge.net [mailto:xen-devel-admin@lists.sourceforge.net] On Behalf Of Sam Howard Sent: Monday, February 21, 2005 2:56 PM To: xen-devel@lists.sourceforge.net Subject: [Xen-devel] Domain0 booting on LVM device Hi. I''ve been banging my head on this and can''t seem to quite get it. I''ve got 2 other Xen boxes running, so I know I''m not totally incompetent :) On my new server, I am experimenting with having Domain0 boot with the root filesystem on an LVM device. /boot is still a 50M EXT3 partition, and / (root) should be found on /dev/mapper/rootvg-rootlv (rootlv in the disk group rootvg). The default kernel boots OK. I get booted up to the point where it can''t find the / (root) and looks for a floppy (none installed) or an NFS root. Hitting the "any" key blips by an error message that I can''t read quick enough and reboots. Has anyone gotten this to work yet? Ideally, I''d like to get to the point where my Xen server boots off of a CD or USB stick and has all of it''s "disk" hosted off of an external server (NFS, iSCSI, something). My linux distro is Debian Sarge (testing). Thanks! Sam ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Puthiyaparambil, Aravindh
2005-Feb-22 14:01 UTC
RE: [Xen-devel] Domain0 booting on LVM device
When I tried booting with a compressed initrd image I got an error message saying that it cannot find root and tries the floppy and looks for a NFS root. It looked like it did not even detect the presence of the initrd image file. -----Original Message----- From: Robin Green [mailto:greenrd@presidium.org] Sent: Tuesday, February 22, 2005 7:53 AM To: Puthiyaparambil, Aravindh Cc: Sam Howard; xen-devel@lists.sourceforge.net Subject: RE: [Xen-devel] Domain0 booting on LVM device> I also had to uncompress my initrd image using gunzip.Weird, I didn''t have to do that with Fedora. What error did you get when you tried to boot with it uncompressed? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Ok, this may be a dumb question, but I wasn''t aware I was using an initrd image ... I don''t see any evidence of it in my menu.lst. I have built my xen0 kernel with everything static (I don''t do a lot of modules). In my .config, I have "CONFIG_BLK_DEV_DM=y" ... shouldn''t that take care of it? What''s really bizare is that I can create guests over LVM LV''s with the same kernel.... Thanks! Sam Robin Green wrote:> On Mon, 21 Feb 2005, Puthiyaparambil, Aravindh wrote: > >> I have Domain 0 booting off an LVM volume. It works fine. > > > Same here. > >> You most likely don''t have an initrd image that has the Device Mapper >> modules built into it. I don''t have much experience with Debian but with >> SLES9 the mk_initrd script does this for you as long as you have >> compiled the dom0 kernel with the "Device Mapper support" as modules. > > > In Fedora-type systems it''s mkinitrd. If you don''t use the same type of > root filesystem on the domU kernel as on the dom0 kernel, you may need > to mount the domU / filesystem TEMPORARILY and use the --fstab option > to mkinitrd to specify domU''s /etc/fstab. > >> I also had to uncompress my initrd image using gunzip. > > > Weird, I didn''t have to do that with Fedora. What error did you get > when you tried to boot with it uncompressed? > >> As a result of >> this I had to increase the size of the initial RAM disk (under Block >> Devices) in the dom0 kernel. >> >> Cheers, >> Aravindh > >------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel