zlynx at acm.org
Tue Jul 29 21:01:03 MDT 2003
Yeah, it's possible. Your problem is that GRUB thinks hdb is the second
drive in the system and writes the boot accordingly.
When the BIOS runs on boot, it numbers every boot device on the system.
This number has to be mapped by GRUB. It doesn't always get it right,
like in your case. In your case, the BIOS will find hdb as the first
boot device, not the second.
I think what you need to do is edit /boot/grub/device.map. Change the
(hd0) device to be /dev/hdb and then try doing a grub-install.
I can't test that right now, but I think it'll work.
On Tue, 2003-07-29 at 11:37, Stephen Queen wrote:
> I am working on an embedded system that has 2 hard drives, hda and hdb.
> There is only one partition on each. They are both on ide0. hda is the
> master, hdb is the slave. I would like to install grub such that if hda
> is missing hdb will boot. If hda is present, then the system boots from
> it. I believe that the bios supports this. If it does, how do I setup
> grub so that this will occur? I have no problem installing it on hda, it
> is hdb that doesn't seem to work. Is this even possible?
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
Zan Lynx <zlynx at acm.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the LUG