When installing ubuntu 9.10 karmic koala will grub2 work together with grub legacy

bqz69 bqz69 at telia.com
Wed Nov 4 14:42:47 UTC 2009


I did following from sda8 910
> >> at sh:grub> prompt, type "ls" (without quote marks)
This gave (hd0), (hd0,1) (hd0,2) (hd0,3) (hd0,5) (hd0,6) (hd0,7) (hd0,8) 

> >> type "search -f /boot/grub/grub.cfg" and it will show partitions with
> >> grub.cfg.
This gave hd0,8 (and not hd0,5/6)

> >> type " search -f /boot/grub/menu.lst" and it will show partitions with
> >> menu.lst
This gave both hd0,7 and hd0.2 (which are debian and 8.04)

> set root=(hd0,5)
> linux	/boot/vmlinuz-2.6.31-14-generic root=/dev/sda5 ro quiet splash
> initrd	/boot/initrd.img-2.6.31-14-generic
I tried this, and it did not work.

> If this cannot boot, then boot to sda8, 9.10 and at terminal,
> sudo grub-install --root-directory=/dev/sda5 /dev/sda
I did this in sda8 in a terminal, and here is the output:

user1 at fs-910-sda8:~$ sudo grub-install --root-directory=/dev/sda5 /dev/sda
[sudo] password for user1:
mkdir: cannot create directory `/dev/sda5/boot': Not a directory
user1 at fs-910-sda8:~$

>
> check from sda8 if grub.cfg at sda5 has entries, if not copy entries
> from grub.cfg of sda8 to grub.cfg of sda5. and add the following as
> first entry
I can see sda5 and mount it from sda8







More information about the ubuntu-users mailing list