Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
... and this machine doesn't have a floppy drive, so I don't have a boot disk.
How canI get grub back?
I tried booting with the RH CD to upgrade the boot loader, but:
1. It no longer has a current configuration to upgrade and
2. If I try to create a new bootloader config, it says that I didn't install any kernel packages, so it couldn't use the new bootloader.
I tried running "linux rescue" off of the RH CD (at boot time). I can get to a shell, but I can't run grub-install because of the way linux rescue mounts the system drive.
Yes, I had the same problem. Just upgrade redhat, and when it asks you what packages you want to install, select the kernal you want to use. Then you will be able to make a new GRUB configuration.
Hope this helps ,
Thad Blankenship
Originally posted by drknow Yes, I had the same problem. Just upgrade redhat, and when it asks you what packages you want to install, select the kernal you want to use. Then you will be able to make a new GRUB configuration.
Hope this helps ,
Thad Blankenship
Well, that didn't work, so I must have done something wrong.
When I boot from the RH CD, choose "upgrade" then choose to select the packages to upgrade, but when the package list comes up, the kernel is not listed. kernel-smp, kernel-source, kernel-utils, kernel-boot, & kernel-pcmcia are there, but none of them seem to do the trick.
Originally posted by michaelk When you boot the RH CD it will mount the root partition to /mnt/sysimage
then:
chroot /mnt/sysimage
Now try reinstalling grub
grub-install
tried that (as it says in my original post). grub-install is a script that looks for various other scripts that aren't where they are supposed to be because the original file system now starts at /mnt/sysimage as opposed to /.
I had that problem a while back when I reinstalled ME, I have my C(hda) with 2 partitions, and my D(hdb) has Redhat9, grub was installed on the C drive( where windoze is) in place where the mbr would be.
after grub was trashed by Windoze I could still get to my Redhat with its boot floppy.
Once in Linux I opened a terminal as SU and type "/sbin/grub-install /dev/hda".
It worked for me. found my answers here in the forum.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.