Removing an OS in a multi-boot system
I recently installed Ubuntu 12.04 alongside my Debian Wheezy and Win 7 partitions. I decided that I didn't like Ubuntu, and wanted to remove it. I backed up the entire drive, then booted into Debian and deleted the Ubuntu / and home partitions with gparted. I then ran update-grub, which seemed to work fine; it found the remaining bootable partitions, wrote grub.cfg, and closed without error.
However, on reboot I got the dreaded grub rescue> prompt. At this point, I took the easy way out and reinstalled Ubuntu from the DVD. This worked; grub is back to normal now.
But I still want to remove Ubuntu. How can I do this without messing up grub?
|