change boot order, Ubuntu and XP pro

Asked by LONCAN

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

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
LONCAN
Solved:
Last query:
Last reply:
Revision history for this message
Freddy Martinez (freddymartinez9) said :
#1

can you paste your full menu.lst here http://paste.ubuntu-nl.org/ and reply with the URL. You may not be root (or SuperUser) and might need to look at https://help.ubuntu.com/community/RootSudo.
Please reply back with information and we can help you further.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) said :
#2

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.

Revision history for this message
LONCAN (ceciljohn21) said :
#3

http://paste.ubuntu-nl.org/92/

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

Revision history for this message
Freddy Martinez (freddymartinez9) said :
#4
Revision history for this message
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.

Revision history for this message
Freddy Martinez (freddymartinez9) said :
#6

I got the idea from https://help.ubuntu.com/community/GrubHowto/ChangeDefaultOS
I read it much too quickly and realize it should read as this:
http://paste.ubuntu-nl.org/202/
Please try this and let me know if it works.

Revision history for this message
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

Revision history for this message
Freddy Martinez (freddymartinez9) said :
#8

Maybe this one? http://paste.ubuntu-nl.org/210/ 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.

Revision history for this message
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