Click to See Complete Forum and Search --> : Stop GRUB from boot
capoeira
07-14-2006, 05:54 AM
Hi..i'm having problem to stop the boot loader from booting up...last time i'm configured GRUB timeout=0..now i;m lost root password and trying to reset it by login as single user..but before that i have to edit GRUB by press 'e'..the problem is i cannot select my kernel..anyone know how to stop it??
Parcival
07-14-2006, 06:53 AM
Boot from a liveCD (for example Knoppix) and mount your partition where your /boot/grub/ is. Once you have it, use a texteditor on /boot/grub/grub.conf (may also be called /boot/grub/menu.lst) and set in the desired time value.
capoeira
07-14-2006, 07:33 AM
may i use RH9 cd? because this is RH9..
retsaw
07-14-2006, 09:35 AM
You might be able to. It doesn't make a difference what you use as long as you are able to mount your partition and run commands.
Since you only need to change Grub so you can boot to single user mode to reset your passwd you might aswell do that from a livecd (or your RH9 cd), just boot the livecd, mount your root partition, chroot to it (e.g. if you mounted your root partition on /mnt/hda1 you would type "chroot /mnt/hda1") then type "passwd" to reset your root passwd, exit the chroot, umount your root partition and then reboot.
saikee
07-14-2006, 10:00 AM
The rescue mode of Red Hat installation CD is used effectively like what a Live CD would except you boot to RH9.
capoeira
07-17-2006, 03:01 AM
You might be able to. It doesn't make a difference what you use as long as you are able to mount your partition and run commands.
Since you only need to change Grub so you can boot to single user mode to reset your passwd you might aswell do that from a livecd (or your RH9 cd), just boot the livecd, mount your root partition, chroot to it (e.g. if you mounted your root partition on /mnt/hda1 you would type "chroot /mnt/hda1") then type "passwd" to reset your root passwd, exit the chroot, umount your root partition and then reboot.
thanks dude..my problem solved. I'm using RH9 cd and go for 'linux rescue'. Then it will mount to chroot /mnt/sysimage. From there i can edit grub file. Thanks a lot...