PDA

View Full Version : [SOLVED] Ubuntu and kubuntu, need to get rid of Kubuntu and keep bootloader



rg5million
November 29th, 2010, 09:39 PM
I have Ubuntu installed via wubi

I installed Kubuntu on an actual partition on my harddrive.

I want to get rid of Kubuntu, but when I delete that partition, the bootloader locks up the machine, cause it is missing.

Restore Kubuntu and it works. On that Kubuntu bootloader, I have the windows option, if I click the windows, then the wubi bootloader kicks in and I can go into ubuntu.

Question: How can I get rid of Kubuntu and keep the bootloader that allows me to go into Ubuntu.

drs305
November 29th, 2010, 09:43 PM
You can use the Windows repair disk to reinstall the Windows bootloader (probably fixboot/fixmbr but I'm not Windows savvy). Since Ubuntu is a wubi install, it is controlled by Windows.

If you don't have the Windows repair disk, you should be able to regain the Windows boot with this. Disregard the lilo messages about not being fully installed. The commands assume Windows is on your first drive:

sudo apt-get install lilo
sudo lilo -M /dev/sda mbr

When you reboot, it should take you to Windows, where you will have the option of booting Windows or Ubuntu (wubi).