boot opions

Asked by Hussam

Hello,
there is anyway t change the boot sequence ? I have win xp and linux i will need to change the sequence to be Win xp at the begining ?
and i need to extend the count down period.

Thank you,
Hussam

Question information

Language:
English Edit question
Status:
Answered
For:
EFI Boot Manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
huanix (huanix) said :
#1

This is actually pretty easy. We're going to edit a file called menu.lst that controls the GRUB boot loader.

1. Open up a terminal (You can find it under Accessories).
2. make a copy of your current boot setup, type "sudo cp /boot/grub/menu.lst /boot/grub/old_menu.lst" (only between the quotes, not including them!)
3. enter your root password. (Not your user password)
4. Now we'll edit your boot sequence. Type "sudo gedit /boot/grub/menu.lst"
5. A screen will pop up with your boot information.. read it, it's actually interesting.
6. To change the boot pause time, look for "timeout" and a number (default is 3); change it to whatever.
7. To change the order, look for lines that say "title Windows XP" or something, with a few lines below it. To change the order, move the ENTIRE block (everything that's not seperated by a blank line) above or below other entries.
NOTE: Everything in this file with a "#" before it is a comment meant for you to look at it; the computer doesn't read it!
8. When you're all done, just click save and reboot. I usually do this 2 or 3 times until I tweaked everything like I wanted.

Revision history for this message
huanix (huanix) said :
#2

I apologize, I stumbled here from the nether-region and responded to this question with reference to the GRUB bootloader, not the efi boot manager. So embarrassing.

Revision history for this message
LuRsT (lurst) said :
#3

Hi there,

First to change the time find this line:

timeout 30 #Change the number in seconds for the time to wait

For the default OS that it automaticaly chooses, find this line.

default 0 # Change the number to the OS prefered

For the menu order find the lines each OS and change the order of them like:

title GNU/Linux
root (hd1,0)
kernel /vmlinuz root=/dev/hdb1

title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1

This will outpu:

GNU/Linux
Windows XP

And this:

title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1

title GNU/Linux
root (hd1,0)
kernel /vmlinuz root=/dev/hdb1

Will output:

Windows XP
GNU/Linux

Hope This helps you
CHeers

Revision history for this message
Hussam (hussam-gmail) said :
#4

Works thank you .

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
huanix
Sent: Thursday, April 05, 2007 1:44 PM
To: <email address hidden>
Subject: Re: [Question #4683]: boot opions

Your question #4683 on EFI Boot Manager changed:
https://answers.launchpad.net/efibootmgr/+ticket/4683

    Status: Open => Answered

huanix proposed the following answer:
This is actually pretty easy. We're going to edit a file called menu.lst
that controls the GRUB boot loader.

1. Open up a terminal (You can find it under Accessories).
2. make a copy of your current boot setup, type "sudo cp /boot/grub/menu.lst
/boot/grub/old_menu.lst" (only between the quotes, not including them!) 3.
enter your root password. (Not your user password) 4. Now we'll edit your
boot sequence. Type "sudo gedit /boot/grub/menu.lst"
5. A screen will pop up with your boot information.. read it, it's actually
interesting.
6. To change the boot pause time, look for "timeout" and a number (default
is 3); change it to whatever.
7. To change the order, look for lines that say "title Windows XP" or
something, with a few lines below it. To change the order, move the ENTIRE
block (everything that's not seperated by a blank line) above or below other
entries.
NOTE: Everything in this file with a "#" before it is a comment meant for
you to look at it; the computer doesn't read it!
8. When you're all done, just click save and reboot. I usually do this 2 or
3 times until I tweaked everything like I wanted.

_______________________________________________________________________
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/efibootmgr/+ticket/4683/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the following
page to enter your feedback:
https://answers.launchpad.net/efibootmgr/+ticket/4683

Revision history for this message
Sam Cater (wraund-deactivatedaccount) said :
#5

WHOA MISTAKE!

dont let the grub backup be called .lst, they conflict, i know first hand, name it .backup

Can you help with this problem?

Provide an answer of your own, or ask Hussam for more information if necessary.

To post a message you must log in.