Quinton Hoole
2005-Jan-20 14:05 UTC
[Xen-devel] Newbie question re: root partition spec in grub.conf
Hi So I’ve followed the installation manual and got Xen to boot, with XenLinux 2.6.10 on top of it. The relevant part of my grub.conf looks like this… #boot=/dev/hdb title Xen 2.0 / XenLinux 2.6.10 kernel /xen.gz dom0_mem=131072 module /vmlinuz-2.6.10-xen0 root=/dev/hdb2 ro console=tty0 My problem is that I''m not convinced that I''m using the correct root partition in the last line (I warned you, I''m a newbie to Xen as well as linux, so please be gentle with me if these sound like really dumb questions ;-). /dev/hdb2 is the root partition of my original (Fedora FC2) linux installation, while I would have thought that I should be using a partition containing stuff ported to Xen? But where is that, or how do I create it? The above grub.conf works to some extent, and results in a vaguely successful boot into the Fedora linux (although the mouse doesn''t work, and I''m not sure how much else is broken). But my guess is that I''m using the wrong boot partition. Can someone help to clarify my understanding here, and set me right? Thanks in advance... Quinton -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.1 - Release Date: 2005/01/19 ------------------------------------------------------- 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
Mark Williamson
2005-Jan-20 14:05 UTC
Re: [Xen-devel] Newbie question re: root partition spec in grub.conf
> #boot=/dev/hdb > title Xen 2.0 / XenLinux 2.6.10 > kernel /xen.gz dom0_mem=131072 > module /vmlinuz-2.6.10-xen0 root=/dev/hdb2 ro console=tty0Looks sane :-)> /dev/hdb2 is the root partition of my original (Fedora FC2) linux > installation, while I would have thought that I should be using a > partition containing stuff ported to Xen?Nope - only the operating system kernel needs porting to Xen. Since you''re booting with that, you should be fine. (but you''ll need to move /lib/tls out of the way, e.g. "mv /lib/tls /lib/tls.disabled" for running properly under Xen)> The above grub.conf works to some extent, and results in a > vaguely successful boot into the Fedora linux (although the mouse > doesn''t work, and I''m not sure how much else is broken).Is it a USB mouse? The default kernel build doesn''t have USB support, so you''d need to enable it for this to work. Since you''re using FC2, I imagine the pretty graphical boot has stopped working too. It can work in principle (perhaps putting "rhgb" at the end of the "module /vmlinuz..." line would work) but it''s nothing to worry about in any case.> But my guess > is that I''m using the wrong boot partition. Can someone help to clarify > my understanding here, and set me right?You were right to start with - dropping Xen onto your existing install will work fine. Fedora works fine with Xen. Cheers, Mark ------------------------------------------------------- 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