On Monday 20 Aug 2012, Balwinder S Dheeman wrote: > On 08/20/2012 01:37 PM, Raj Mathur (राज माथुर) wrote: > > Treated myself to some new hardware as advance > > Eid/Diwali/Christmas/New Year gift, and was trying to install Xen > > and get virtual machines running on that. The path was long and > > arduous, and is still not complete, but some of my experiences on > > the way are documented in: > > > > http://wiki.kandalaya.org/cgi%2dbin/twiki/view/Main/DebianXenMigrat > > eVirtualBox > > > > Covered are: > > > > - Basic Xen setup > > - Compiling and installing a custom kernel for the i915 GPU Hung > > issue - Extracting a disk image from a VirtualBox VDI > > - Creating and running a Xen DomU with the image > > > > It's mostly technical and expects the reader to have decent Linux > > sysadmin and basic Xen knowledge. > > > > Feedback, bouquets and brickbats (in moderation :) appreciated. > > You had already been a good howto/document writer and this one is yet > another milestone on your journey towards the leadership.
I'm blushing! > I may be wrong, but I think: > > 1. We must edit the /etc/fstab in VM image before we boot into it, > the kernel and, or initrd scripts won't be able to find the root > partition. You're partially correct: the kernel (which is in the Dom0) is passed the "root=" parameter by Xen, so the correct disk gets mounted as root. Other -- non-root -- partitions, like you said, won't get mounted. If you can manage with just root mounted, then the HOWTO is fine. If not (e.g. /usr along with /usr/bin/vi is on a different partition) then, as you said, you need to change fstab before trying to boot the system. > 2. It's better we either use UUIDs or LABELs in the > /etc/fstab; applicable to all installations/distos. You're right, UUIDs are much better than explicit partition names. It's just... I hate them, because I like to know which partitions are mounted where by looking at mount(8) output, and UUIDs really get in the way. Purely a personal thing, and not a recommendation for anyone else! Regards, -- Raj -- Raj Mathur || r...@kandalaya.org || GPG: http://otheronepercent.blogspot.com || http://kandalaya.org || CC68 It is the mind that moves || http://schizoid.in || D17F _______________________________________________ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd