Grub not properly installing.

Tom H tomh0665 at gmail.com
Sun Dec 27 20:45:20 UTC 2009


>> I am installing Karmic on a desktop with two root partitions for
>> different distros. Currently Jaunty is in sdb1 and Karmic is in sdb2.
>> The bios is configured to boot from sdb and when installing Karmic I
>> confirmed in the Advanced tab that Grub will be installed to sdb.
>> However, Grub remained unchanged when installing and there is no
>> option for booting from sdb2.

>> I figured that I would edit the grub menu in sdb1/boot/grub/menu.lst
>> however there is a good chance that I will be testing other distros in
>> sdb1 so I do not want to rely on it. I tried reinstalling Grub from a
>> LiveCD with the following command but there was no change in
>> behaviour:
>> sudo grub-install --root-directory=/media/root /dev/sdb

>> How does one configure Grub to use menu.lst from sdb2 instead of from sdb1?

> Dotan, as Tommy pointed out, karmic does not use grub-legacy;
> grub-install at livecd does not transfer karmic *partition*s's grub to
> sdb1, it moves the livecd's grub, which is basically empty.

> A workaround is to chainload your grub-legacy to that karmic partition's
> grub, (which is not exactly what you wanted), but will boot your karmic.
>  From there, try the sudo grub-install /dev/sdb

> But, Dotan, not sure about your bios setting to boot from sdb instead of
> sda. Do you have any boot in sda?

1. If you want to install grub from the Live CD you need to mount sdb2
and chroot to it (after bind-mounting the usual partitions) before
running "grub-install" (and follow up with "update-grub").

2. This is that second time in the last few days that someone on this
list says that Karmic does not use grub1. AFAIK, if you upgrade from
Jaunty to Karmic, you will still be booting through grub1 (at least as
of the 9.10 beta when I last upgraded from 9.04 to 9.10).




More information about the ubuntu-users mailing list