Need to edit /boot/grub/menu.lst after install to boot
Team,
I'm just beginning with Ubuntu and am trying to set up a dual boot WinXP and Ubuntu system. I installed Ubuntu 7.04, but the grub menu.lst file is wrong. Root line needs to be edited to "root (hd0,2)" and the kernal line needs to be changed to "... root=/dev/hda3..."
I ran this command to determine these values:
grub> find /boot/grub/stage1
(hd0,2)
grub> find /boot/vmlinuz-
(hd0,2)
I'm sure this is something simple, but I haven't figured out how to edit /boot/grub/
How can I get in and edit this file? When I try editing the grub boot menu at boot up, I get the first pretty UBUNTU screen at which point my system locks up. The changes to the boot menu don't save either.
The Ubuntu install set up root as root (hd0,0) and for the kernal root=/dev/hda1.
I did install stage 1 to the MBR, since I want to use grub as my boot loader.
grub> setup (hd0)
This looks like it runs good with no errors, but then the menu.lst is not changed.
Any help will be greatly appreciated.
Gary
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask gary for more information if necessary.