grub-install

Jerry Lapham rjlapham at cinci.rr.com
Wed Aug 20 01:12:57 UTC 2008


On Tuesday 19 August 2008 8:29:52 pm Karl Klinger wrote:
> 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

That did it.  Thanks.

	-Jerry
-- 
=============================================
Jerry Lapham
Monroe, OH  45050
rjlapham at cinci.rr.com
=============================================
Walk to Emmaus: Fueling station for a spirit-filled church




More information about the kubuntu-users mailing list