Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

GRUB Bootloader

  • 16-02-2006 03:25AM
    #1
    Registered Users, Registered Users 2 Posts: 1,295 ✭✭✭


    Hey, I recently formatted my laptop and used the oppertunity to install ubuntu on a partition. All's running smothly at the moment so my question isn't a life or death situation more of a way to solve an annoyance.

    Anyways I use GRUB as a bootloader but it defaults to selecting ubuntu if left idle when I turn on the machine.

    Is there anyway to get it to load XP by default?


Comments

  • Registered Users, Registered Users 2 Posts: 549 ✭✭✭declan_lgs


    In /boot/grub/menu.lst there should be a line "default 0" towards the top. Change "0" to "1" or whatever menuentry Windows is (the first menuentry = 1, second = 2, etc.).

    (If the "default 0" line isn't there, add it yourself at the top)


  • Registered Users, Registered Users 2 Posts: 1,193 ✭✭✭liamo


    declan_lgs wrote:
    Change "0" to "1" or whatever menuentry Windows is (the first menuentry = 1, second = 2, etc.).

    Slight correction : first menu entry = 0, second = 1, etc...


  • Registered Users, Registered Users 2 Posts: 354 ✭✭AndrewMc


    Another alternative is to set it to "default saved", and add a "savedefault" line in each kernel/OS that you want. Then, any time that you boot a "savedefault" kernel/OS it'll be remembered and chosen by default the next time. I think Ubuntu should have the "savedefault" lines there already. Might be useful?


Advertisement