Re: How to remove windows from dual-boot system
So, if I understood correctly you want to remove kubuntu and you are worried about grub2 remaining on the MBR? You are right, the system will be unbootable if you just delete the kubuntu partition.
From kubuntu in terminal do:
sudo apt-get install lilo
sudo lilo -M /dev/sda mbr
(I assume your hdd is /dev/sda, if other, change accordingly in the command)
Ignore the warnings it will give you. That will write generic MBR on your hdd and after restart it should boot windows directly.
After that you can delete the kubuntu partition and do as you wish with the unallocated space.
PS. You didn't have to change the title of the thread. It's not that we don't reply to threads how to remove ubuntu. It just depends who is online, timezones, etc.
Last edited by darkod; May 12th, 2010 at 05:52 PM.
Darko.
-----------------------------------------------------------------------
Ubuntu 18.04 LTS 64bit
Bookmarks