I am exchanging hard drives in my computer fairly often, and it seems to have an adverse effect on the computers ability to boot. I'm aware of the boot order in the BIOS and I make sure that the drive with my OSes on is first. After adding a second Nvidia hardware RAID earlier today (I've had one for about a year), it's stopped the computer from booting (error 5 it says), and it's made me want to learn how GRUB actually works.

Reading up on it has done nothing but confused me. The terminology is badly explained, if at all. I have a couple of questions:

What is a BIOS drive? What drives should go in device.map? Only drives that contain OSes? Does the ordering matter? Should the (hdX) number correlate to the SATA port numbers, or something?

What I used to do when changing drives was just boot into rescue mode using my Fedora disk, run grub-install <OS drive> and it was okay again, but that hasn't helped this time. I would change the drives in device.map if the drive path in /dev had changed but that's as far as I went.

(I am using GRUB version 0.97.)

link|improve this question

71% accept rate
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.