Amina Khalid
2010-Jul-05 18:28 UTC
[Xen-users] installing xen 4.0.1 rc 3 on ubuntu 10.04 grub 2 errors
Hi I am trying to install the latest version of xen (xen-4.0.1 rc3) on Ubuntu 10.4 and amd 64 processor. But I am getting errors to boot dom0 kernel. I am using the steps given at http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ The error I am getting is also reported on the XEN mailing list below. http://lists.xensource.com/archives/html/xen-users/2010-06/msg00759.html. Can anyone tell me what I am doing wrong? Thanks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Bruce Edge
2010-Jul-05 19:15 UTC
Re: [Xen-users] installing xen 4.0.1 rc 3 on ubuntu 10.04 grub 2 errors
On Mon, Jul 5, 2010 at 11:28 AM, Amina Khalid <amina.khalid@gmail.com>wrote:> Hi > > I am trying to install the latest version > of xen (xen-4.0.1 rc3) on Ubuntu 10.4 and amd 64 processor. But I am > getting errors to boot dom0 kernel. I am using the steps given at > > http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ > > > The error I am getting is also reported on the XEN mailing list below. > > http://lists.xensource.com/archives/html/xen-users/2010-06/msg00759.html. > > Can anyone tell me what I am doing wrong? > > Boot from the Ubuntu install iso in recovery mode "Rescue a broken system",choose to "execute a shell in your root partition", then verify your root''s device number (hd0,2) etc... and take a look at the generated menu.cfg. Also, increase the timeout in /etc/default/grub so you get a boot menu, and re-run update-grub. (Note that if you have multiple partiitons you''ll need to run ''mount -a'' after getting the recovery shell. If it''s using UUIDs, try changing to device names instead. You can change this in etc/default/grub as well. If you can get a grub menu up, at from there you manually tweak the boot params until you get something that works. -Bruce _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Jul-05 20:04 UTC
Re: [Xen-users] installing xen 4.0.1 rc 3 on ubuntu 10.04 grub 2 errors
Could you track thread http://lists.xensource.com/archives/html/xen-users/2010-06/msg00759.html up to the end and get final explanation been given. Boris. --- On Mon, 7/5/10, Amina Khalid <amina.khalid@gmail.com> wrote: From: Amina Khalid <amina.khalid@gmail.com> Subject: [Xen-users] installing xen 4.0.1 rc 3 on ubuntu 10.04 grub 2 errors To: xen-users@lists.xensource.com Date: Monday, July 5, 2010, 2:28 PM Hi I am trying to install the latest version of xen (xen-4.0.1 rc3) on Ubuntu 10.4 and amd 64 processor. But I am getting errors to boot dom0 kernel. I am using the steps given at http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ The error I am getting is also reported on the XEN mailing list below. http://lists.xensource.com/archives/html/xen-users/2010-06/msg00759.html. Can anyone tell me what I am doing wrong? Thanks -----Inline Attachment Follows----- _______________________________________________ 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
Amina Khalid
2010-Jul-06 12:42 UTC
Re: [Xen-users] installing xen 4.0.1 rc 3 on ubuntu 10.04 grub 2 errors
yes I tried that as well but it didn''t work for me my grub entry is menuentry ''Ubuntu, Linux 2.6.18.8 with pv_ops for Xen 4.0.1rc3'' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root=''(hd0,5)'' multiboot (hd0,5)/boot/xen-4.0.0.gz dummy=dummy module (hd0,5)/boot/vmlinuz-2.6.18.8-xen0 dummy=dummy root=/dev/sda5 nopat ro console=tty0 module (hd0,5)/boot/initrd.img-2.6.18.8-xen0 } in /boot/grub/grub.cfg I have the following entry for default boot with ubuntu 10.04. menuentry ''Ubuntu, with Linux 2.6.32-23-generic'' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root=''(hd0,5)'' search --no-floppy --fs-uuid --set 98646bed-d837-44aa-b885-ac45a9042659 linux /boot/vmlinuz-2.6.32-23-generic root=UUID=98646bed-d837-44aa-b885-ac45a9042659 ro quiet splash initrd /boot/initrd.img-2.6.32-23-generic } I have tried root as UUID as well but it given me the same boot error of not finding root. My disk partitioning is as follow df -h Filesystem Size Used Avail Use% Mounted on /dev/sda5 9.2G 7.6G 1.2G 88% / none 496M 264K 496M 1% /dev none 500M 1.3M 499M 1% /dev/shm none 500M 92K 500M 1% /var/run none 500M 0 500M 0% /var/lock none 500M 0 500M 0% /lib/init/rw - Amina On 5 July 2010 21:04, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> Could you track thread > > http://lists.xensource.com/archives/html/xen-users/2010-06/msg00759.html > > up to the end and get final explanation been given. > > Boris. > > > > --- On *Mon, 7/5/10, Amina Khalid <amina.khalid@gmail.com>* wrote: > > > From: Amina Khalid <amina.khalid@gmail.com> > Subject: [Xen-users] installing xen 4.0.1 rc 3 on ubuntu 10.04 grub 2 > errors > To: xen-users@lists.xensource.com > Date: Monday, July 5, 2010, 2:28 PM > > > Hi > > I am trying to install the latest version > > of xen (xen-4.0.1 > rc3) on Ubuntu 10.4 and amd 64 processor. But I am > getting errors to boot dom0 kernel. I am using the steps given at > > http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ > > > > The error I am getting is also reported on the XEN mailing list below. > > http://lists.xensource.com/archives/html/xen-users/2010-06/msg00759.html. > > > Can anyone tell me what I am doing wrong? > > Thanks > > > -----Inline Attachment Follows----- > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=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
Bruce Edge
2010-Jul-06 15:37 UTC
Re: [Xen-users] installing xen 4.0.1 rc 3 on ubuntu 10.04 grub 2 errors
Try this hacked version of /etc/grub.d/10_linux. Save your grub.cfg, then copy it onto your system and run update-grub. It works for me, but I''m using lvm partitions to the device addressing is different. Another thought is that if you have the option to reinstall the dom0, use lvm for dom0''s /. That works. -Bruce On Tue, Jul 6, 2010 at 7:44 AM, Amina Khalid <amina.khalid@gmail.com> wrote:> tried that as well but no luck. > > On 6 July 2010 15:26, Bruce Edge <bruce.edge@gmail.com> wrote: > >> Try 4 instead of 5, there was a change in the 0/1 base for grub''s device >> numbers. >> >> -Bruce >> >> >> >> On Tue, Jul 6, 2010 at 7:03 AM, Amina Khalid <amina.khalid@gmail.com>wrote: >> >>> still getting /dev/sda5 not found errors. >>> >>> On 6 July 2010 14:39, Bruce Edge <bruce.edge@gmail.com> wrote: >>> >>>> Try removing the leading (hd0,5) from the multiboot/module lines. >>>> >>>> -Bruce >>>> >>>> >>>> >>>> On Tue, Jul 6, 2010 at 5:42 AM, Amina Khalid <amina.khalid@gmail.com>wrote: >>>> >>>>> yes I tried that as well but it didn''t work for me >>>>> >>>>> my grub entry is >>>>> >>>>> menuentry ''Ubuntu, Linux 2.6.18.8 with pv_ops for Xen 4.0.1rc3'' --class >>>>> ubuntu --class gnu-linux --class gnu --class os { >>>>> recordfail >>>>> insmod ext2 >>>>> set root=''(hd0,5)'' >>>>> multiboot (hd0,5)/boot/xen-4.0.0.gz dummy=dummy >>>>> module (hd0,5)/boot/vmlinuz-2.6.18.8-xen0 dummy=dummy root=/dev/sda5 >>>>> nopat ro console=tty0 >>>>> module (hd0,5)/boot/initrd.img-2.6.18.8-xen0 >>>>> } >>>>> >>>>> >>>>> in /boot/grub/grub.cfg I have the following entry for default boot with >>>>> ubuntu 10.04. >>>>> >>>>> menuentry ''Ubuntu, with Linux 2.6.32-23-generic'' --class ubuntu --class >>>>> gnu-linux --class gnu --class os { >>>>> recordfail >>>>> insmod ext2 >>>>> set root=''(hd0,5)'' >>>>> search --no-floppy --fs-uuid --set >>>>> 98646bed-d837-44aa-b885-ac45a9042659 >>>>> linux /boot/vmlinuz-2.6.32-23-generic >>>>> root=UUID=98646bed-d837-44aa-b885-ac45a9042659 ro quiet splash >>>>> initrd /boot/initrd.img-2.6.32-23-generic >>>>> } >>>>> >>>>> I have tried root as UUID as well but it given me the same boot error >>>>> of not finding root. >>>>> >>>>> My disk partitioning is as follow >>>>> >>>>> df -h >>>>> Filesystem Size Used Avail Use% Mounted on >>>>> /dev/sda5 9.2G 7.6G 1.2G 88% / >>>>> none 496M 264K 496M 1% /dev >>>>> none 500M 1.3M 499M 1% /dev/shm >>>>> none 500M 92K 500M 1% /var/run >>>>> none 500M 0 500M 0% /var/lock >>>>> none 500M 0 500M 0% /lib/init/rw >>>>> >>>>> >>>>> - Amina >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On 5 July 2010 21:04, Boris Derzhavets <bderzhavets@yahoo.com> wrote: >>>>> >>>>>> Could you track thread >>>>>> >>>>>> http://lists.xensource.com/archives/html/xen-users/2010-06/msg00759.html >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> up to the end and get final explanation been given. >>>>>> >>>>>> Boris. >>>>>> >>>>>> >>>>>> >>>>>> --- On *Mon, 7/5/10, Amina Khalid <amina.khalid@gmail.com>* wrote: >>>>>> >>>>>> >>>>>> From: Amina Khalid <amina.khalid@gmail.com> >>>>>> Subject: [Xen-users] installing xen 4.0.1 rc 3 on ubuntu 10.04 grub 2 >>>>>> errors >>>>>> To: xen-users@lists.xensource.com >>>>>> Date: Monday, July 5, 2010, 2:28 PM >>>>>> >>>>>> >>>>>> Hi >>>>>> >>>>>> I am trying to install the latest version >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> of xen (xen-4.0.1 >>>>>> rc3) on Ubuntu 10.4 and amd 64 processor. But I am >>>>>> getting errors to boot dom0 kernel. I am using the steps given at >>>>>> >>>>>> http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> The error I am getting is also reported on the XEN mailing list below. >>>>>> >>>>>> http://lists.xensource.com/archives/html/xen-users/2010-06/msg00759.html. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Can anyone tell me what I am doing wrong? >>>>>> >>>>>> Thanks >>>>>> >>>>>> >>>>>> -----Inline Attachment Follows----- >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Xen-users mailing list >>>>>> Xen-users@lists.xensource.com<http://mc/compose?to=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 >>>>> >>>> >>>> >>> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Marco Nenciarini
2010-Jul-08 17:00 UTC
Re: [Xen-users] installing xen 4.0.1 rc 3 on ubuntu 10.04 grub 2 errors
On 06/07/2010 17:37, Bruce Edge wrote:> Try this hacked version of /etc/grub.d/10_linux. Save your grub.cfg, then > copy it onto your system and run update-grub. It works for me, but I''m using > lvm partitions to the device addressing is different. > Another thought is that if you have the option to reinstall the dom0, use > lvm for dom0''s /. That works. >Or you can try to use the scripts I''ve attached to this message. http://lists.xensource.com/archives/html/xen-users/2010-07/msg00001.html Kind regards, Marco -- --------------------------------------------------------------------- | Marco Nenciarini | Debian/GNU Linux Developer - Plug Member | | mnencia@prato.linux.it | http://www.prato.linux.it/~mnencia | --------------------------------------------------------------------- Key fingerprint = FED9 69C7 9E67 21F5 7D95 5270 6864 730D F095 E5E4 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Amina Khalid
2010-Jul-08 20:29 UTC
Re: [Xen-users] installing xen 4.0.1 rc 3 on ubuntu 10.04 grub 2 errors
I used the file but getting error. mount: mounting none on /dev failed: No such device. I am using LVM on ubuntu 10.4. I have also used ext4 but getting the same error message on that as well. On 8 July 2010 18:00, Marco Nenciarini <mnencia@prato.linux.it> wrote:> On 06/07/2010 17:37, Bruce Edge wrote: > > Try this hacked version of /etc/grub.d/10_linux. Save your grub.cfg, then > > copy it onto your system and run update-grub. It works for me, but I''m > using > > lvm partitions to the device addressing is different. > > Another thought is that if you have the option to reinstall the dom0, use > > lvm for dom0''s /. That works. > > > > Or you can try to use the scripts I''ve attached to this message. > > http://lists.xensource.com/archives/html/xen-users/2010-07/msg00001.html > > Kind regards, > Marco > > -- > --------------------------------------------------------------------- > | Marco Nenciarini | Debian/GNU Linux Developer - Plug Member | > | mnencia@prato.linux.it | http://www.prato.linux.it/~mnencia<http://www.prato.linux.it/%7Emnencia> | > --------------------------------------------------------------------- > Key fingerprint = FED9 69C7 9E67 21F5 7D95 5270 6864 730D F095 E5E4 > > > > _______________________________________________ > 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
Marco Nenciarini
2010-Jul-09 09:58 UTC
Re: [Xen-users] installing xen 4.0.1 rc 3 on ubuntu 10.04 grub 2 errors
On 08/07/2010 22:29, Amina Khalid wrote:> I used the file but getting error. > > mount: mounting none on /dev failed: No such device. > > I am using LVM on ubuntu 10.4. I have also used ext4 but getting the same > error message on that as well. >Which kernel are you using? Usually such a error is because the kernel version is > 2.6.32 and it isn''t compiled with CONFIG_DEVTMPFS=y Kind regards, Marco -- --------------------------------------------------------------------- | Marco Nenciarini | Debian/GNU Linux Developer - Plug Member | | mnencia@prato.linux.it | http://www.prato.linux.it/~mnencia | --------------------------------------------------------------------- Key fingerprint = FED9 69C7 9E67 21F5 7D95 5270 6864 730D F095 E5E4 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Amina Khalid
2010-Jul-10 14:23 UTC
Re: [Xen-users] installing xen 4.0.1 rc 3 on ubuntu 10.04 grub 2 errors
Hi I am able to run the kernel 2.6.32.16 by using the config file given at http://lists.xensource.com/archives/html/xen-users/2010-03/msg00878.html. Now I have tried to boot using xen-4.0.1-rc4-pre but getting the following errors: Unable to add boot slab alias Null to sysfs eth0 cannot assign irq 10 failed to allocate interrupt 11 Gave up waiting for root device. Can anyone comment on what could be possible wrong? I get the same error message when I use xen-4.0.0. Thanks On 9 July 2010 17:10, Amina Khalid <amina.khalid@gmail.com> wrote:> I am using 2.6.31.13. Does it also need CONFIG_DEVTMPFS=y > > On 9 July 2010 10:58, Marco Nenciarini <mnencia@prato.linux.it> wrote: > >> On 08/07/2010 22:29, Amina Khalid wrote: >> > I used the file but getting error. >> > >> > mount: mounting none on /dev failed: No such device. >> > >> > I am using LVM on ubuntu 10.4. I have also used ext4 but getting the >> same >> > error message on that as well. >> > >> >> Which kernel are you using? Usually such a error is because the kernel >> version is > 2.6.32 and it isn''t compiled with CONFIG_DEVTMPFS=y >> >> Kind regards, >> Marco >> >> -- >> --------------------------------------------------------------------- >> | Marco Nenciarini | Debian/GNU Linux Developer - Plug Member | >> | mnencia@prato.linux.it | http://www.prato.linux.it/~mnencia<http://www.prato.linux.it/%7Emnencia> | >> --------------------------------------------------------------------- >> Key fingerprint = FED9 69C7 9E67 21F5 7D95 5270 6864 730D F095 E5E4 >> >> >> >> _______________________________________________ >> 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