Red Hat:Can boot the HD from FD but can't boot directly off of HD
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.
Red Hat:Can boot the HD from FD but can't boot directly off of HD
Red Hat. I synced (low level copied) the entire hard disk to a 2nd hard disk. The second hard disk is now the main disk but i can't get it to boot directly without a boot floppy. Once booted the disk runs all aps correctly. I ran fdisk and the boot partition is 'bootable'. Is there a simple command to make the hard disk bootable?? Thanks in advance! Dave
Grub is installed and the grub.conf file has :
---
root(hd0,0)
kernel /vmlinuz ro root=/dev/hda3
initrd /initrd.img
---
Note: i didn't re-install grub after copying the original hd to the 2nd hd.
I just booted the original hd and it is running grub at bootup and the grub config files match on both hd's.
Do i need to re-run grub on the new HD to update a boot track???
appears fishy, are you sure this is the exact location of the boot partition?
kernel /vmlinuz ro root=/dev/hda3
again, are you sure /dev/hda3 is the correct location of the kernel image? not /dev/hdb ?
as in, is this the older harddrive still connected? that is referred to as hda
Prim master is /dev/hda
The old drive is not connected. The new drive replaced the old drive. Only 1 hd in the system. (at a time)
(when i say i just booted the old drive - i unplugged the new one and plugged back in the old one).
This exact situation happend to me 2 years ago and a linux tech gave me a simple command to make the hard disk bootable. i don't recall if the command was at the 'floppy boot:" prompt or after the computer was booted up?? I sure wish I kept 'notes' better!!! I am pretty sure it was a simple one line command. I don't recall having to run 'grub' or any re-install.
FYI - i got my system to boot off the hd by running the 'grub install' command:
install (hd0,0)/grub/stage1 (hd0) (hd0,0)/grub/stage2 p(hd0,0)/grub/grub.conf
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.