Re: Grub and old hard drives



Karl Larsen wrote:

For several years I have let the anaconda loader put the grub boot
message in the spot for such things on /dev/hda/. Fine, a couple of
years later I bought a much bigger hard drive and this Linux is on that.
But Grub is still using /dev/hda/.

These are both Western Digital hard drives and I have had good luck
with them. But the first to fail will be the oldest I expect. When that
happens Grub will fail. This is a real hard thing to fix :-(

So I have a plan. First read "Info Grub" and see how to put a Grub
boot in the boot section of /dev/hdb/. This I think is pretty simple. I
can do this today. But how to cause the file /boot/grub/grub.conf to use
this new boot point may be difficult.

Assuming this is possible I will let the list know.

I think you need to distinguish between the grub loader proper,
and the grub support files in /boot .

You can put either on either (or both) disks.
But if the loader is in the sdb/hdb MBR
you'll have to tell the BIOS to look there.
By default it will look in the sda/hda MBR.

I presently have /boot on sdb, and copies of the grub loader
on sda and sdb, in case something nasty happens to the rather old sda.

--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: dual booting computer sheddies to the bridge
    ... This gives me a WinXP entry in the grub loader, but it doesn`t work, just flickers the screen ... If this file has more than one entry, you get a boot menu when starting XP. ... When you moved the XP disk so grub boots, that also molishs the XP boot.ini entries wrong, so they need to be changed to match the new location of the XP disk. ...
    (uk.rec.sheds)
  • Re: grub-install to hdb; then boot as hda?
    ... method "B4" is what I use to install Grub. ... If you just copied the files over from hda, ... BIOS setting to change the boot order on hard drives. ...
    (comp.os.linux.misc)
  • Re: Installing to and booting from external USB hard drive
    ... as my sole hard drive on my Fedora Core 6 machine. ... all my hard drives from the machine, plug in the Maxtor One Touch then ... Partition and Install as usual to this device. ... Install grub to the MBR of this device ...
    (Fedora)
  • Re: Thanks aho! (Bad boot partition)
    ... I googled and found some sample conf ... It was not easy, kept editing in rescue mode, then tried to boot, got ... Grub can be a little bit ... mapping of hard drives in device.map, specially if you should boot from hd1 ...
    (alt.os.linux)
  • Re: Cant get grub to work
    ... > I'm having problems getting grub to work. ... > instead of been booting using a floppy when I want to boot Linux. ... The key points are the grub numbers drives and partitions from '0' not ... # Grub number's hard drives starting at 0. ...
    (linux.redhat)