installing a grub/lilo bootloader on the MBR of a MOUNTED hdd

Tim ignored_mailbox at yahoo.com.au
Wed Oct 19 10:35:02 UTC 2005


On Wed, 2005-10-19 at 10:51 +0100, Khaled wrote:

> I have duplicated a running server (sella) on my network to an empty
> hdd (sellaCone) mounted as /mnt/sellaClone on another hdd hosting
> Fedora 3 (host hdd=hda, sellaClone=hdc). Since I am cloning only the
> primary partition, only hdc2 is being cloned (suse 9.2 puts swap
> partition as hdc1).
> 
> My problem is that having duplicated all imported info/directories, I
> need to create a bootloader on the MBR so that the disk can be booted
> on its own.

I did it this way when I transferred to a bigger drive:

  Do all the drive content copying.
  Remove the old drive, leaving the new drive as the boot drive.
  Boot from the rescue CD.
  Chroot into the drive, as the prompt says.
  Run:  grub-install /dev/hda

Since I was swapping drives, I didn't bother working out if I could
install a bootloader to another drive while the old drive was still in
the box.

For more information, read the GRUB info file, it's more detailed than
its man file.  Or look at its website.
-- 
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




More information about the fedora-list mailing list