View previous topic :: View next topic |
Author |
Message |
zapdafish n00b
Joined: 29 May 2003 Posts: 18
|
Posted: Mon Jul 07, 2003 7:41 am Post subject: help with editing grub |
|
|
i was following the install page for grub and accidentally typed in the wrong line so that
kernel (hd0,0)/boot/kernel/bzImage root=/dev/hda6
was typed on
what I really want is
kernel (hd0,0)/boot/bzImage root=/dev/hda6
I have gone into edit mode over and over with the 'e' option to edit the commands before booting and deleted kernel the path but then I don't know how to make the change stick, when I hit 'b' for boot, it automatically reverts back to the line with kernel in the path.
can someone help? |
|
Back to top |
|
|
knoxville Tux's lil' helper
Joined: 04 Mar 2003 Posts: 96
|
Posted: Mon Jul 07, 2003 8:01 am Post subject: |
|
|
you can boot right?, if yes mount your boot partition then edit the grub.conf in /boot/grub/grub.conf |
|
Back to top |
|
|
Garbz Apprentice
Joined: 02 Jul 2003 Posts: 260 Location: Brisbane, Australia
|
Posted: Mon Jul 07, 2003 8:24 am Post subject: |
|
|
i don't think that u can directly create or write a permanenet config for grub through edit.
boot from the command line e.g:
grub> root(hd0,0)
grub> kernel /boot/bzImage root=/dev/hda6
grub> boot
that should get the system running and then manually edit the /boot/grub/menu.lst or grub.conf whatever the config file is. _________________ Every begining is another begining's end. |
|
Back to top |
|
|
|