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

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Khaled wrote:
> Hi,
> 
> 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.
> The question is how can I do this?
so you have cloned the entire root (/) filesystem on /mnt/sellaCone ?
okay, this might work (assuming everything is in place):
chroot /mnt/sellaCone
/sbin/grub-install /dev/hdc

if there is no /boot directory containing kernels and grub binaries this
will fail fairly horribly, however.

Stuart
- --
Stuart Sears RHCE RHCX
Who will save us from this plague of unrepentant top-posters?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDVlU8amPtx1brPQ4RAoj8AJ9zLMH1VE0Yrj1aAcb6DVC7rp6MtQCfc37k
daFhp5Deppes1LhfmhgYuvo=
=l2kk
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux