editing grub menu problem when trying to establish switch to windows shortcut icon

Asked by michael blair

I have an emachines pc that came with Windows XP Home Edition pre-installed. Recently I installed Ubuntu 8.04 LTS version in a dual-boot scenario according to the directions on the site. Everything works exquisitely (love Ubuntu, one hour to become a believer). The problem is when I tried to follow the instructions to set up an icon on the Ubuntu desktop that will switch me into Windows without restarting the pc. First instruction is to edit the GRUB menu and to see what menu number the entry for Windows is 'gksudo gedit /boot/grub/menu.1st' in terminal. Second instruction says to look at the file, after the comments, you should see a line that says ## ## End Default Options ##. etc etc ....my problem is that after typing in the first instruction to bring up this file their is a window for the file menu.1st but no text at all, zero, so I cannot "look at file, after the comments" etc . What is going on ? Could it have something to do with the pre-installed XP ? Thank you . -Michael Blair

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
michael blair
Solved:
Last query:
Last reply:
Revision history for this message
Old_Soldier (charles.davis) said :
#1

you typed a "one" instead of an "el" in the file name. since the file does not exist the edit assumes you want to create it. the correct command would have been

gksudo gedit /boot/grub/menu.lst

Revision history for this message
michael blair (michaelkblair) said :
#2

Thank you, I will try that this weekend. I'm sure you are correct. Looked like a one in the instructions on the Ubuntu site. You are an old soldier, a scholar, and a gentleman :D -Michael