On Sun, 3 Nov 2002, Kieran Haughey wrote: > Hi Steve, > > I've run e2fsck -c on the drive, although even it fails to deal with the specific >sectors. I'm hoping a complete reformat will fix it, but I'm not holding my breath >:-). > > Thanks for the hinr on dump/restore, I will look into these. I do > remember though that there was a method of using tar to do it without > creating and files (stdout->stdin) which I might look into.
If you are copying to a disk of the same size dd is simplest: dd if=/dev/hda of=/dev/hdb bs=1024 'if' is source 'of' is destination To move to a larger disk and take advantage of the extra size you'll have to partition it and then move the data. A thorough read of the howto is recommended whatever way you go: http://ldp.planetmirror.com/HOWTO/mini/Hard-Disk-Upgrade/index.html -=-=-==-=-=--=-=-=-=-=-=-=-=-=-=-=-= Graeme Robinson - Graenet consulting www.graenet.com - internet solutions -=-=-=-=-=-=-=-=-=-=-==---=-=--=-=-= -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
