1

I installed Ubuntu, but then installed Kubuntu over it (formated Ubuntu Partition) because Ubuntu is not compatible with almost any hardware on my PC. Problem is I'm stuck with an old GRUB that says Ubuntu in the options because in my attempts to make it compatible with my hardware I got an old Grub with an image with an Earth that says Debian.

How can I replace the GRUB with the one Kubuntu is supposed to install. I don't want to modify just the text, or the command to install on /sdaX, I want to actually re-write the MBR with the latest grub (reinstall the bootloader).

Thanks.

Agnes
  • 11

1 Answers1

2

If you are running Kubuntu, it's easy.

From a command line, assuming a single disk drive, type

sudo grub-install /dev/sda (this installs it in the mbr),

and then type sudo update-grub (this updates the grub menu)

Marty Fried
  • 18,466
  • It sort of worked, but not fully. The Debian image is no longer there, however it says: GNU GRUB version 1.99-21Ubuntu3 and it still says Ubuntu on the menu and on the options. I can change the options text, but I cannot change what says on top. Is this the latest version? – Agnes May 20 '12 at 03:32
  • This is the version that comes with whatever you were running when you installed it. If you were running Kubuntu, then it installed the version that comes with Kubuntu; there would be no other version available at that time. The menu should be whatever is standard for Kubuntu's grub menu, because it is a part of that distro, in in a file named /boot/grub/grub.cfg. The menu should have choices for every available OS that it finds, with the standard Kubuntu choice at the top. But I don't run KDE, so I'm not sure what it is supposed to say. I may install it in a VM soon, and then I'll know. – Marty Fried May 20 '12 at 04:21
  • 1
    @Agnes I run both Xubuntu and Lubuntu but GRUB always lists the kernels as just Ubuntu. I used grub-customizer to edit the names. – matt davis Sep 01 '12 at 03:21