[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to install grub to eg the 16th disk in a system?

From: Roderick Johnstone
Subject: How to install grub to eg the 16th disk in a system?
Date: Mon, 17 Jan 2011 17:40:54 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.7


How can I install grub to say the /dev/sdp device (root partition on
sdp1) in a server so that that disk could replace a failed one in a
production system and boot as sda?

In my setup, disks (including partitions for root and data) are mirrored
between production and server systems (using rsync) to provide a quick
swap backup in the event of disk failure on the production system.

I have a script that fixes up the UUID of disk partitions etc in fstab
and grub.conf on the mirror as these are different from the production
system disks, but I don't know how to get grub installed on eg /dev/sdp
so that I can boot it straight away when the disk is swapped into the
production system where it will be /dev/sda.

Currently I have to boot into a rescue mode and use grub-install once
the disk is swapped in to the production system to be able to get it to

This is grub 0.97 on Fedora 14 x86_64.

Thanks for any pointers anyone can give.

Roderick Johnstone

reply via email to

[Prev in Thread] Current Thread [Next in Thread]