Submitted 28-Aug-00 by Bob Puff@NLE:

> me do this, as my destination is smaller than my source.

Corect, cloning software requires an identical drive.

> Since I only have 350 megs total (a little in /boot, 64 megs of /swap, and
> 300 megs of /), I know this should be possible.

It's easy, if fact :)

> I hooked up my 500 meg drive on the unused secondary IDE port, and used the
> cfdisk program to set up the partitions.  Somehow, I managed to mount it
> (probably the wrong way), and copied all data to it.  When I tried booting
> it, LILO was messed, so I booted from Floppy.  It failed in a kernel panic
> - can't mount root.

Your root partition is in a different physical location now, and the boot
floppy was built for the old one.  Pass root=/dev/hd?? (replace the question
marks with the correct device info) at the lilo prompt.

> What is the easiest way to copy the data from a linux hd to another hd,
> when the destination is a different size than the original?  

It has been my experience that cpio works wonderfully:

find / -print | cpio -p --preserve-modification-time --make-directories --dot \
/mnt/newdisk

-- 
Anton Graham                            GPG ID: 0x18F78541
<[EMAIL PROTECTED]>                 RSA key available upon request
 
Familiarity breeds contempt.
  -- Publius Syrus (42 B.C.), Maxim 640 


Reply via email to