Hi, I''ve got SusE 10.0 running xen 3 installed on /dev/hdd I''ve got a gentoo system installed in /dev/hda. What would be the right configuration , the disk part in the config file to boot the gentoo system ? I''m quite confused on that part s all info I can find is based on creating images ..or is that really the only way... Here ''s what I have at the moment but I keep getting a kernel panic :mount :no such device disk = [ ''phy:hda5,sda1,w'',''phy:hda3,hda3,w'',''phy:hda6,hda6,w'',''phy:hda7,hda7,w'',''phy:hda8,hda8,w'',''phy:hda9,hda9,w'',''phy:hda10,hda10,w'',''phy:hda11,hda11,w'' ] Sorry for this probably "obvious" question. thanks, Peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, The part about sda1 looks weird to me - actuall your whole thing looks weird.... the idea is to map the phisical devices into virtual ones. so check this ... is your phisical hda5 really going to correspond to virtual sda1? is your hda3 really going to correspond to virtual hda3? ... etc The part that looks weird is that you are saying you have gentoo installed on /dev/hda ... usually I''d expect to see phy:hda1,hda1 entry or something like that (unless your gentoo is installed in some strange way - which is possible too) Peter van Eck wrote:> Hi, > > I''ve got SusE 10.0 running xen 3 installed on /dev/hdd > > I''ve got a gentoo system installed in /dev/hda. > > What would be the right configuration , the disk part in the config file > to boot the gentoo system ? > > I''m quite confused on that part s all info I can find is based on > creating images ..or is that really the only way... > > Here ''s what I have at the moment but I keep getting a kernel panic > :mount :no such device > disk = [ > ''phy:hda5,sda1,w'',''phy:hda3,hda3,w'',''phy:hda6,hda6,w'',''phy:hda7,hda7,w'',''phy:hda8,hda8,w'',''phy:hda9,hda9,w'',''phy:hda10,hda10,w'',''phy:hda11,hda11,w'' > ] > > Sorry for this probably "obvious" question. > > thanks, > > Peter > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jan 18, 2006 at 12:15:29PM +0100, Peter van Eck wrote:> I''ve got SusE 10.0 running xen 3 installed on /dev/hdd > > I''ve got a gentoo system installed in /dev/hda.try with the following settings: disk = [ ''phy:hda,hda,w'' ] root = "/dev/hdaX ro" where X is the partition number of your root device. -- Vincent Hanquez _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tomas Florian wrote:> Hi, > > The part about sda1 looks weird to me - actuall your whole thing looks > weird.... the idea is to map the phisical devices into virtual ones. > > so check this ... is your phisical hda5 really going to correspond to > virtual sda1? > is your hda3 really going to correspond to virtual hda3? > ... etc > > The part that looks weird is that you are saying you have gentoo > installed on /dev/hda ... usually I''d expect to see phy:hda1,hda1 > entry or something like that (unless your gentoo is installed in some > strange way - which is possible too) > > > > > Peter van Eck wrote: > >> Hi, >> >> I''ve got SusE 10.0 running xen 3 installed on /dev/hdd >> >> I''ve got a gentoo system installed in /dev/hda. >> >> What would be the right configuration , the disk part in the config file >> to boot the gentoo system ? >> >> I''m quite confused on that part s all info I can find is based on >> creating images ..or is that really the only way... >> >> Here ''s what I have at the moment but I keep getting a kernel panic >> :mount :no such device >> disk = [ >> ''phy:hda5,sda1,w'',''phy:hda3,hda3,w'',''phy:hda6,hda6,w'',''phy:hda7,hda7,w'',''phy:hda8,hda8,w'',''phy:hda9,hda9,w'',''phy:hda10,hda10,w'',''phy:hda11,hda11,w'' >> ] >> >> Sorry for this probably "obvious" question. >> >> thanks, >> >> Peter >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > >Well after I started experimenting with Xen I got so confused on the virtual device part that I tried several , not in use, special files in /dev. The kernel still panics as soon as it trying to mount the root /filesystem.. As I''m still confused on the virtual devices part would someone careto explain to me how I should interpret this when using partitions ? In my example how do I pick the virtual root filesystem for the guest root filesystem I try to boot ? thanks, Xen "newbie" Peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Vincent Hanquez wrote:>On Wed, Jan 18, 2006 at 12:15:29PM +0100, Peter van Eck wrote: > > >>I''ve got SusE 10.0 running xen 3 installed on /dev/hdd >> >>I''ve got a gentoo system installed in /dev/hda. >> >> > >try with the following settings: > >disk = [ ''phy:hda,hda,w'' ] >root = "/dev/hdaX ro" > >where X is the partition number of your root device. > > >That''s a variant I haven''t tried yet ... I will give it a go and let you know.... thanks, Peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ok for example ... let''s say I have linux installed on hda1 / hda2 swap now if I want to virtualize it ... I have to match the partitions hda1 -> hda1 hda2 -> hda2 ... so this was too easy ... so a harder one (with 2 systems running on 1 physical drive): hda1 / (system1) hda2 swap (system1) hda3 / (system2) hda4 swap (system2) now the mapping is hda1 -> hda1 hda2 -> hda2 hda3 -> hda1 hda4 -> hda2 Hope that helps.> > > Well after I started experimenting with Xen I got so confused on the > virtual device part that I tried several , not in use, special files > in /dev. > > The kernel still panics as soon as it trying to mount the root > /filesystem.. > > As I''m still confused on the virtual devices part would someone careto > explain to me how I should > interpret this when using partitions ? In my example how do I pick the > virtual root filesystem for the guest root filesystem I try to boot ? > > thanks, > > Xen "newbie" Peter >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Tomas, I did set it the way you explained it but it still panics... Waiting for device /dev/hda5 to appear: ok rootfs: major=3 minor=5 devn=773 Mounting root /dev/hda5 mount: No such device Kernel panic - not syncing: Attempted to kill init! thanks, Peter Tomas Florian wrote:> Ok for example ... let''s say I have linux installed on > > hda1 / > hda2 swap > > now if I want to virtualize it ... I have to match the partitions > > hda1 -> hda1 > hda2 -> hda2 > > ... so this was too easy ... so a harder one (with 2 systems running > on 1 physical drive): > > hda1 / (system1) > hda2 swap (system1) > hda3 / (system2) > hda4 swap (system2) > > now the mapping is > hda1 -> hda1 > hda2 -> hda2 > hda3 -> hda1 hda4 -> hda2 > > Hope that helps. > >> >> >> Well after I started experimenting with Xen I got so confused on the >> virtual device part that I tried several , not in use, special files >> in /dev. >> >> The kernel still panics as soon as it trying to mount the root >> /filesystem.. >> >> As I''m still confused on the virtual devices part would someone >> careto explain to me how I should >> interpret this when using partitions ? In my example how do I pick >> the virtual root filesystem for the guest root filesystem I try to >> boot ? >> >> thanks, >> >> Xen "newbie" Peter >> > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Peter wrote:> Vincent Hanquez wrote: > >> On Wed, Jan 18, 2006 at 12:15:29PM +0100, Peter van Eck wrote: >> >> >>> I''ve got SusE 10.0 running xen 3 installed on /dev/hdd >>> >>> I''ve got a gentoo system installed in /dev/hda. >>> >> >> try with the following settings: >> >> disk = [ ''phy:hda,hda,w'' ] >> root = "/dev/hdaX ro" >> >> where X is the partition number of your root device. >> >> >> > That''s a variant I haven''t tried yet ... > > I will give it a go and let you know.... > > thanks, > > PeterStill get... Waiting for device /dev/hda5 to appear: ok rootfs: major=3 minor=5 devn=773 Mounting root /dev/hda5 mount: No such device Kernel panic - not syncing: Attempted to kill init! It looks like it doesn''t see the "real" rootfilesystem I guess. Or is it the other way ''round ,as in can ''t see the virtual one. Could it be because that filesystem in the guest OS (Gentoo) is formaatted as reiser ? Peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Peter van Eck wrote:> Peter wrote: >> Vincent Hanquez wrote: >> >>> On Wed, Jan 18, 2006 at 12:15:29PM +0100, Peter van Eck wrote: >>> >>> >>>> I''ve got SusE 10.0 running xen 3 installed on /dev/hdd >>>> >>>> I''ve got a gentoo system installed in /dev/hda. >>>> >>> >>> try with the following settings: >>> >>> disk = [ ''phy:hda,hda,w'' ] >>> root = "/dev/hdaX ro" >>> >>> where X is the partition number of your root device. >>> >>> >>> >> That''s a variant I haven''t tried yet ... >> >> I will give it a go and let you know.... >> >> thanks, >> >> Peter > > > Still get... > > Waiting for device /dev/hda5 to appear: ok > rootfs: major=3 minor=5 devn=773 > Mounting root /dev/hda5 > mount: No such device > Kernel panic - not syncing: Attempted to kill init! > > > It looks like it doesn''t see the "real" rootfilesystem I guess. > Or is it the other way ''round ,as in can ''t see the virtual one. > > Could it be because that filesystem in the guest OS (Gentoo) is > formaatted as reiser ? > > Peter > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersHi all, Just following up on my post... As I''m used to working with gentoo (suse was a while back since the last time I used it) and never use ramdisk(initrd''s) I finally found out that I had to have the initrd to load the reisersfs module. The / filesystem of the guest (gentoo) system was reiser.. *So for all Suse 10 and perhaps other Suse versions , reiserfs is not in the xen initrd by default !! *rgds, Peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users