Results 1 to 3 of 3

Thread: Remove grub after trashing Vista from dual-boot

  1. #1
    Join Date
    May 2008
    Beans
    11

    Question Remove grub after trashing Vista from dual-boot

    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.
    Last edited by vizualbod; August 27th, 2011 at 04:54 PM.

  2. #2
    Join Date
    May 2008
    Beans
    11

    Re: Remove grub after trashing Vista from dual-boot

    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:

    Code:
    sudo gedit /boot/grub/menu.lst
    Change line
    Code:
    timeout 10
    to
    Code:
    timeout 0
    so Grub have no time to ask.

    And delete on the bottom of the file following lines:

    Code:
    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title		Other operating systems:
    root
    
    
    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda4
    title		Windows Vista/Longhorn (loader)
    root		(hd0,3)
    savedefault
    makeactive
    chainloader	+1
    Done!
    Last edited by vizualbod; November 8th, 2008 at 03:16 PM.

  3. #3
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Remove grub after trashing Vista from dual-boot

    timeout 0
    I recommend to use

    Code:
    timeout 1
    and

    Code:
    hiddenmenu
    (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)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •