xen-users
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@xxxxxxxxx> wrote:
tried that as well but no luck.
On 6 July 2010 15:26, Bruce Edge <bruce.edge@xxxxxxxxx> 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@xxxxxxxxx> wrote:
still getting /dev/sda5 not found errors.
On 6 July 2010 14:39, Bruce Edge <bruce.edge@xxxxxxxxx> 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@xxxxxxxxx> 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 _______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
10_linux
Description: Binary data
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|