change boot order, Ubuntu and XP pro

Asked by LONCAN on 2006-12-31

gedit /boot/grub/menu.lst I tried to do this and when I replace the 0 with a 2 and go to save as and replace it tells me that I can not save. Need help. I open the terminal from Ubuntu desktop. Is there another terminal that I should be opening. I am very new to Ubuntu

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:

can you paste your full menu.lst here and reply with the URL. You may not be root (or SuperUser) and might need to look at
Please reply back with information and we can help you further.

You need to run gedit with a user who has more access:-

ALT+F2 (or in a terminal)
gksudo gedit /boot/grub/menu.lst

It will ask for your password, then edit exactly as you did previously and save normally.

LONCAN (ceciljohn21) said : #3

This is the original without any changes. Not sure which 0 I should change to a 2. I tried the very last at the bottom where it says : title Microsoft Windows XP Professional
              root (hd0,0)
I changed it to a 2, and saved it, rebooted and still the same boot order.
Thank you for all your help, and I look forward to hearing from you.
John H

LONCAN (ceciljohn21) said : #5

I tried your edits, I copied and pasted them then saved. When I restart it is still the same. It boots to Ubuntu first.

I got the idea from
I read it much too quickly and realize it should read as this:
Please try this and let me know if it works.

LONCAN (ceciljohn21) said : #7

Hi Freddy, It was close, it highlighted the other operating system line. Just needs to go down one more line to windows xp.
Look forward to hearing from you. Thank you very much for all your help.
John H

Maybe this one? Third time is the charm hopefully. When you say it highlighted the "other oprating system line", do you mean the line that says "Other operating systems:"?
Let me know if this helps.

Best LONCAN (ceciljohn21) said : #9

Hi Freddy, It works perfect now. Thank you for all of your help. I am going to have to look over your changes so that I will understand what you did. Thank you. I will have to contact you if I have other problems. Thanks again John H