How to edit /boot/grub/menu.lst
Dear team,
I'm a newbie at Linux. Installed Ubuntu 7.04 on two of my machines yet failed to utilize the grub boot loader. Instead I used a 3rd party boot loader called BootIt NG. I'm now trying again to setup my kids computer to dual boot using grub. I loaded Ubuntu on a clean drive and got it up and working. Then I connected another drive that had a Windows XP partition on it, and copied it onto the drive with Ubuntu. Used my BootIt NG partition disk to set up the MBR entry for it and modified the boot.ini file to reflect the relative position of the WinXP partition.
On bootup, I hit the esc key to go to the grub boot menu list. Then I edited the last item, the memory test, to use it to boot the WinXP partition and it works!
Now here's the easy part for you Linux guys to help me out. I need to edit the /boot/grub/menu.lst file to have a permanent entry in the boot up list.
Do I use the grub-install to do this? or boot from a grub boot disk and run the root and setup commands?
These are the lines that boot my WinXP partition on the fly:
root (hd0,3)
savedefault
makeactive
chainloader +1
then I hit boot and it boots. But how can I modify the menu.lst file. If I use a text editor from the Ubuntu desktop, It doesn't allow me to save the file. This is how I would prefer to do it since my experience with the grub setup commands in the past have not gone too well.
Thanks for any help!
Gary
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Hanusz leszek
- Solved:
- Last query:
- Last reply: