From: Luciano Miguel Ferreira Rocha Subject: Re: Newbie boot problem (root on logical volume?) Date: Fri, 4 Feb 2005 09:50:01 +0000 Message-ID: <20050204095001.GA24948@nsk.no-ip.org> References: <420332C5.7080800@rolandpj.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <420332C5.7080800@rolandpj.com> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org 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