grub-install
Karl Klinger
karlok at fastmail.fm
Wed Aug 20 00:29:52 UTC 2008
Jerry Lapham wrote:
> Does the Kubuntu installation from CD/DVD use grub-install?
>
> My laptop has three 20Gig partitions with an old version of PCLinuxOS on hda5,
> Mandriva 2008.1 on hda6, and kubuntu 8.04 on hda7. I had to reinstall
> Mandriva and now when I boot I get a grub menu with Mandriva as the first
> entry. When I scroll down and select the kubuntu entry it takes me to
> another grub menu, presumably the one I had before reinstalling Mandriva.
> I'd like to get rid of that first menu. Would running grub-install in
> kubuntu do it?
>
> -Jerry
You can use the grub shell to update the boot sector to point to the
partition that contains the menu you want:
sudo grub
grub> root (hd0,6)
grub> setup (hd0)
grub> quit
Note that in grub notation the partition numbers are zero-based, so sda7
becomes (hd0,6).
Karl
More information about the kubuntu-users
mailing list