fit new un-buggered hdd into system
boot from (slackware 3.X for example) rescue floppy or something.
then dd if=/dev/fukt_hdd of=/dev/replacement_hdd
If the disks are identical there shouldn't be a problem. There are
probably some other options to dd which could be used but as that's a
black art in which I've not dabbled, I won't advise.
another method whould be to to create a similar ish partition table on
the new disk
boot from rescue floppy again, mount the partitions under something like
/buggered_disk & /good_disk and mount the vairous /usr & stuf under
their respective mount points.
Then do something like this
tar -C /buggered_disk -vf - . | tar --preserve --same-owner -C
/good_disk -xvf -
swap out the disks, boot from floppy, re-install lilo, rehoof the system
That should work, I think, If not I'm sure someone will point out where
my brain melted.
check out the various manpages anyway, they're useful.
Raymond Kelly: ray at phbrink.ie: Systems Administrator:
PH Brink International, Ballybrit Business Park, Galway, Ireland:
TEL: +353 91 771181: Mobile: +353 87 2886761 (Caller ID only):
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!