Skip navigation.
Home

Grub, SATA and a Mirrored /boot Patition

The Pain. The Pain.

The upgrade from Fedora 5 to 6 went pretty well. Until the first boot. Then it's that horrible "grub> _" entry screen blinking at you. Nooooooooooooooooooooooooooo.

Thank God for Firefox, Tab'ed browsing and Google, I eventually found the solution.

klamath:~# grub-install /dev/sda
klamath:~# grub
grub> device (hd0) /dev/sdb
grub> root (hd0,0)
grub> setup (hd0)
grub> quit

Directly taken from the page that finally fixed life for me: Migrating To A Mirrored RAID Using GRUB.

Ok, that's the key part of the solution. The rest was stock:
I have two SATA drives. /dev/sda and /dev/sdb.

Boot the FC6 DVD
# linux rescue
... waiting for command prompt ...

# chroot /mnt/sysimage

Follow the above grub commands, reboot, and all is fine again.

Now to go see if this is anywhere near as bad as the FC3 to FC6 upgrade[1] I've been repairing at work all week.....

[1] Upgrade. Ha! I wish. Try: Upgrade == Major Boom. Ergo: Reinstall clean, and rebuild everything from old config files. I must get around to ranting about developers one of these days. Developers who create circular dependencies for sysadmins to try and cope with. To start LDAP (without the new & magic "ignore these userid's" line) requires LDAP to already be running. I exposed the air in the server room to some of my more colourful descriptive phrases when I finally figured that little gem out.

Syndicate content