I rebooted to rescue mode, chrooted the /mnt/sysimage over to / so I had my normal environment.
I ran "grub-install --root-directory=/ /dev/sda1" but when I rebooted it just went to a "grub>" prompt. I figured it might had something to do with me running the command so much or possibly deleting something else. I reloaded RH9 again the same way.. I went to a terminal window inside of KDE and ran the mount command:
/dev/sda2 on / type ext3
none on /proc type proc
usbdevfs on /proc/bus/usb type usbdevfs
/dev/sda1 on /boot type ext3
none on /dev/pts type devpts
none on /dev/shm type tmpfs
I then ran vi on
and got the same info:
title Red Hat Linux (2.4.20-8smp)
kernel /vmlinuz-2.4.20-8smp ro root=Label=/
title Red Hat Linux (2.4.20-8)
kernel /vmlinuz-2.4.20-8 ro root=Label=/
Then I ran "vi /etc/fstab"
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts grid=5,mode=620
none /proc proc defaults
none /dev/shm tmpfs defaults
/dev/sda3 /swap swap defaults
/dev/cdrom /mnt/cdrom < typical info>
o 0 0
/dev/fd0 /mnt/floppy <typical info>
OOOOOKKK with all that in mind if I want to practice fixing the boot loader I should be able to run fdisk /mbr on the drive, boot off the RH9 cd1, go into rescue mode which will mount my environment to /mnt/sysimage, run "chroot /mnt/sysimage". Then all that is left is running the grub-install command correct?
grub-install --root-directory=/ /dev/sda1
grub-install --root-directory=/ /dev/sda
Mainly I am trying to play with fixing grub via rescue mode so any other tips would be much apperciated also...
Thanks for dealing w/ my limited linux knowledge.. hopefully this will change quickly....