TechSpot

Editing the GRUB bootloader

By Boogityboo04
May 6, 2006
  1. I am a Linux neophyte and I have Kubuntu Linux on my Windows XP computer and am using the GRUB bootloader. By default it seems to have put Kubuntu on the top of the list of systems. Could anyone explain how to edit the bootloader to move Windows XP to the top to be the default?
     
  2. Peddant

    Peddant TS Rookie Posts: 1,644

    "The GRUB configuration file is /boot/grub/menu.lst. Some distributions use another configuration file; for example, Red Hat Linux uses the file /boot/grub/grub.conf.

    How do you change the default OS that GRUB loads?

    In menu.lst, perhaps found somewhere beneath /boot, there is an entry: "default."

    "default" is the index number of the title entry that you want.

    default 0
    title foo
    ...
    ...
    title bar
    ...
    ...
    title baz
    ...
    ...

    In the above example, the default is "foo." If you wanted to change it to "baz," you would set default to 2"

    From HERE
     
  3. Boogityboo04

    Boogityboo04 TS Rookie Topic Starter Posts: 351

    ok thanks, i got it working
     
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.