[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] grub2 problem while booting with xen-4.0.1



On Thu, Mar 3, 2011 at 9:50 AM, Abhishek Dixit <abhidixit87@xxxxxxxxx> wrote:
> i.e. following grub2 entry does not work

>
> menuentry 'Ubuntu, with Xen and  Linux 2.6.32.27'  {
>        set root='(hd0,1)'
>        multiboot (hd0,1)/boot/xen.gz dummy=dummy
>        module  (hd0,1)/boot/vmlinuz-2.6.32.27-pv-ops dummy=dummy
> nopat root=/dev/hda1 ro console=tty0
>        module  (hd0,1)/boot/initrd.img-2.6.32.27-pv-ops
> }
>
> but if I boot with following grub entry
>
> menuentry 'Ubuntu, with Linux 2.6.32.27-pv-ops' --class ubuntu --class
> gnu-linux --class gnu --class os {
>        recordfail
>        insmod ext2
>        set root='(hd0,1)'
>        search --no-floppy --fs-uuid --set ef6fb0a3-17d8-46b8-944b-4d84fbd3c236
>        linux   /boot/vmlinuz-2.6.32.27-pv-ops
> root=UUID=ef6fb0a3-17d8-46b8-944b-4d84fbd3c236 ro   quiet splash
>        initrd  /boot/initrd.img-2.6.32.27-pv-ops
> }
>
> the only concern being the hypervisor not started in case of 2nd type
> of grub entry.
> Can any one tell me what should I look as with first type of grub
> entry

For starters, kernel parameters should mostly be the same whether or
not you're loading the hypervisor. So start with "root" parameter,
which is different in both entries (for example, by default there
should be no more disk recognized as /dev/hda in kernel 2.6.32)

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.