> I apologise in advance because I am sure this question has been asked
> many times.
> I am shortly to install a new HDD and would like to copy my Linux
> system in it's entirity. Can anyone please give some pointers as how
> to go about this or possibly point me towards a FAQ or Web page which
> has the information.
1) create a lilo boot disk with lilo, and the kernel on it (email me if you
need to know how to do this too)
2) install the new drive in the system, create a filesystem on it, and
mount it on, say, /mnt
3) copy the filesystem over, making sure to preserve permissions, and
exclude /mnt and /proc. Some ways to do this are
cp -a -x / /mnt
note that the -x means only stay on one filesystem, so if you
normally have more than one filesystem mounted, you'll need to copy
those over, too.
( cd / ; tar --atime-preserve -l -p --same-owmer -v -cf - / ) | ( cd /mnt ;
tar --atime-preserve -p --same-owner -xf - )
but all as one line...
4) after veryfying everything looks good, you can remove the old system,
reboot off of the boot disk, and re-install lilo on the new disk.
--
Windows: I can play Doom! |RedHat Linux 2.0.31pre-2 i486
Linux: I can be a file server, be a Web|Because reboots are for upgrades!
server, run the accounting package with|http://www.wpi.edu/~rasmusin/pgp.html
twelve terminals AND play Doom! |for pgp key. frank sweetser