The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    How do you set Grub2 as the default boot loader?

    Discussion in 'Linux Compatibility and Software' started by brncao, Dec 20, 2010.

  1. brncao

    brncao Notebook Evangelist

    Reputations:
    541
    Messages:
    570
    Likes Received:
    5
    Trophy Points:
    31
    After installing Ubuntu last, I did not see the grub2 boot loader on startup, just Window's own boot loader. The Grub2 boot loader is located in the same partition as Ubuntu. What are the commands to rewrite the mbr to grub2's? I'm familiar with Grub legacy, but not with Grub2.

    Edit: nevermind. I simply went into Gparted and set the flag to "boot." As I'm going off to bed, can anyone tell me how to get rid of Window's boot loader? I have to go through Grub's boot loader and upon selecting Windows, then deal with another boot loader (window's).
     
  2. RainMotorsports

    RainMotorsports Formerly ClutchX2

    Reputations:
    565
    Messages:
    2,382
    Likes Received:
    2
    Trophy Points:
    56
    Windows NT, especially newer versions like Vista and 7.... you don't unless your getting rid of windows.

    You can Use Grub to boot the windows boot loader OR Use the windows bootloader to boot grub. I have never seen windows booted without its own bootloader, if it was possible we would have a lot less issues to deal with.

    EDIT - I think I may understand what you want now, but still the way you say it no lol. If there is only one option in the windows bootloader, you wont see anything other than windows booting up. So if there are additional entries edit them out. But if the option there is to go back to grub, it could come in handy once in awhile. I would atleast edit the time out to be a bit quicker I know how that slowing down the bootup sucks.
     
  3. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    You should have installed grub to the MBR, in my case located on sda
     
  4. brncao

    brncao Notebook Evangelist

    Reputations:
    541
    Messages:
    570
    Likes Received:
    5
    Trophy Points:
    31
    Ok I've installed grub2 in sda. Do you know how to remove/hide some entries and edit names?
     
  5. User Retired 2

    User Retired 2 Notebook Nobel Laureate NBR Reviewer

    Reputations:
    4,127
    Messages:
    7,860
    Likes Received:
    10
    Trophy Points:
    0
    Can remove entries by editting /boot/grub/grub.cfg

    It's not possible to boot Win XP/Vista/7 without going via it's ntldr or bootmgr bootloader.
     
  6. flipfire

    flipfire Moderately Boss

    Reputations:
    6,156
    Messages:
    11,214
    Likes Received:
    68
    Trophy Points:
    466
    Hmm at startup mine pops up GRUB first and lets me choose OS and when i select vista it goes straight to the Vista loading screen. Is that considered booting without the windows bootloadr?
     
  7. brncao

    brncao Notebook Evangelist

    Reputations:
    541
    Messages:
    570
    Likes Received:
    5
    Trophy Points:
    31
    Maybe ntldr is the word. You see, I have two entries, Vista and 7, but there's nothing in Vista. I need to boot straight into 7 without going through this boot manager menu.
     
  8. RainMotorsports

    RainMotorsports Formerly ClutchX2

    Reputations:
    565
    Messages:
    2,382
    Likes Received:
    2
    Trophy Points:
    56
    Thats as close as it gets flip. Thats why I was trying to figure about what he was on about.
     
  9. flipfire

    flipfire Moderately Boss

    Reputations:
    6,156
    Messages:
    11,214
    Likes Received:
    68
    Trophy Points:
    466
    Get rid of the Vista entry first using EasyBCD

    After a closer look, the entry in GRUB does says Vista/Longhorn (Loader)
     
  10. brncao

    brncao Notebook Evangelist

    Reputations:
    541
    Messages:
    570
    Likes Received:
    5
    Trophy Points:
    31
    That did the trick. Thanks a bunch! Now the only thing left is the renaming and removing of entries in Grub. I have a feeling I'll be asking more questions later :eek:
     
  11. flipfire

    flipfire Moderately Boss

    Reputations:
    6,156
    Messages:
    11,214
    Likes Received:
    68
    Trophy Points:
    466
    Try Startupmanager. That should allow you to change those settings. Ive only used it once to put a password and change the colors of GRUB.
     
  12. brncao

    brncao Notebook Evangelist

    Reputations:
    541
    Messages:
    570
    Likes Received:
    5
    Trophy Points:
    31
    I need some clarifications. I installed grub2 on sda (MBR). Ubuntu is installed on sda3 (which I also see it contains grub in the boot folder). Will modifying the files in Grub from sda3 affect grub in sda? Or are they totally two separate things?

    Btw I cant seem to find an option to edit the names and remove entries in startupmanager.

    How do I disable the timeout? In grub legacy it was -1, but I searched google and couldn't find anything for grub2. Edit: nevermind. I got it. Now to figure out how to edit the names and remove some
     
  13. flipfire

    flipfire Moderately Boss

    Reputations:
    6,156
    Messages:
    11,214
    Likes Received:
    68
    Trophy Points:
    466
    I see, you will need to edit grub.cfg then, on the 'menuentry' line
     
  14. RainMotorsports

    RainMotorsports Formerly ClutchX2

    Reputations:
    565
    Messages:
    2,382
    Likes Received:
    2
    Trophy Points:
    56
    Must be something new, I haven't messed with nix in a couple of years almost.
     
  15. brncao

    brncao Notebook Evangelist

    Reputations:
    541
    Messages:
    570
    Likes Received:
    5
    Trophy Points:
    31
    I decided to leave the naming convention alone. Anyways, I've successfully removed some entries. Finally! Spent several days configuring my system to how I wanted it. Another success story :p