[CLUE-Tech] Poor man's Ghost?

David Willson DLWillson at TheGeek.NU
Wed Apr 23 17:41:33 MDT 2003


The programs you want are 'partimage' and 'parted', preferably run from
a recent Knoppix CD.  I've done what you want to do about a dozen times,
though only once with the resizing that I assume you will want.

Here's da process:
1. Boot the reference system from KNOPPIX.
2. Mount a writable network resource.
3. Use 'partimage' to backup the source partition to the mounted
resource.
4. Boot the destination system from a Win98 EBD, a GeekDisk (TM), or
KNOPPIX.
5. Create a primary DOS partition as nearly identical to the source
partition as possible, a few MB bigger won't hurt, but a few MB smaller
might.  Pay strict attention to the Active flag!  It ~must~ be thrown,
or you'll get unexpected results.
6. Boot from KNOPPIX
7. Mount the network resource.
8. Restore the image to the new partition using 'partimage'.
7. Use 'parted' to expand the partition to the desired size.
8. Reboot from the hard-drive.

Easiest part to screw up is the creation of the new partition.  It has
to be active, same or larger, and primary.

On Wed, 2003-04-23 at 14:34, Matt Gushee wrote:
> I'm wondering if it is feasible, using some Linux distribution or 
> other on a floppy or two or three, to:
> 
>   1. Boot up a machine and connect it to a LAN;
>   2. Mount a network drive; and
>   3. Create an image of a local partition on the network drive
>       i.e., something like:
> 
>         $ dd if=/dev/hda of=/network/drive/hda1.img
> 
> In case you're curious why, I want to copy my wife's Win98 system to 
> a new hard disk. The machine is a laptop, so we can't readily install 
> another HD alongside the existing one. And we have the product 
> recovery CD, but it's not bootable, and the boot floppy seems to be 
> in a box in her parents' barn in northern Japan.
> 
> Has anyone done something like this?
>   
> -- 
> Matt Gushee
> Englewood, CO USA
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech





More information about the clue-tech mailing list