Re: Moving whole system to a new HD

H. Peter Anvin (hpa@freya.yggdrasil.com)
11 Mar 1996 08:21:49 GMT


Followup to: <Pine.LNX.3.91.960307210600.155A-100000@coyote.telepac.pt=
>
By author: Joao Brazao Ferreira <jbf@telepac.pt>
In newsgroup: linux.dev.kernel
>=20
> Hi, everybody!
>=20
> I'm needing to move my whole system from a 540Mb disk to a new 1.2G=
b.
> I have seen here a post about how to do it, but, unfortunatly, i didn=
't=20
> save it. If someone, please, could repost it or give me a tip...
>=20

mount -t ext2 /dev/new_disk /mnt
cp -ax / /mnt
mkdir /mnt/mnt

<Edit /mnt/etc/lilo.conf>

lilo -r /mnt

Make a boot floppy just in case.

-hpa
--=20
PGP public key available - finger hpa@zytor.com
"The earth is but one country, and mankind its citizens." -- Bah=E1'u=
'll=E1h
I don't work for Yggdrasil, but they sponsor the linux.* hierarchy.