[Techtalk] dying hard drive

Conor Daly conor.daly-linuxchix at cod.homelinux.org
Sat Dec 2 10:12:21 UTC 2006


On Thu, Nov 30, 2006 at 03:39:59PM -0800 or so it is rumoured hereabouts, 
Cynthia Kiser thought:
> 
> * I don't actually know how to transfer a bootable disk image on Linux
> but my Mac sysadmin does it frequently for  his/our Macs.

As I understand it, you cannot transfer a bootable image since the image
itself is not bootable.  Instead, you transfer the image and then install
a bootloader.  The standard method for this is to:

1.  Transfer the image
2.  Mount the image 
3.  chroot <mountpoint>
4.  grub-install /dev/hda

The chroot bit puts you in the environment that the new image expects.
Then the grub-instal will work correctly.  This assumes that your target
hard disk is an IDE disk on the primary master controller.  A SATA disk
will be /dev/sda .

Conor
-- 
Conor Daly <conor.daly at cod.homelinux.org>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/G/S/O d+(-) s:+ a+ C++(+) UL++++ US++ P>++ L+++>++++ E--- W++ !N
PS+ PE Y+ PGP? tv(-) b+++(+) G e+++(*) h-- r+++ z++++ 
------END GEEK CODE BLOCK------
http://www.geekcode.com/ http://www.ebb.org/ungeek/


More information about the Techtalk mailing list