View Full Version : [ubuntu] Remove grub after trashing Vista from dual-boot

November 8th, 2008, 02:29 PM
I used to have dual-boot Ubuntu and Vista, although I formatted the Vista partition as I don't need it anymore.
I guess now I don't need grub loader either? How do I remove it?
I tried sudo apt-get remove grub and also with --purge, but it's still there.

November 8th, 2008, 03:13 PM
My question was a bit wrong, I found that every operating system needs a boot loader, for Linux it's Grub or Lilo, for Windows it's NTLDR. You can not remove boot-loader of the operating system.

Solution was to configure Grub like so:

sudo gedit /boot/grub/menu.lst

Change line
timeout 10 to
timeout 0 so Grub have no time to ask.

And delete on the bottom of the file following lines:

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda4
title Windows Vista/Longhorn (loader)
root (hd0,3)
chainloader +1


November 8th, 2008, 07:26 PM
timeout 0

I recommend to use

timeout 1


(in place of "#hiddenmenu")

This way you will be able to boot into recovery mode, if you ever need to. (Press "Esc" during boot up to get to the grub menu)