Fdisk the new disk, creating a swap partition and linux partition. Make a
filesystem (mkfs.ext2 /dev/hdaX) on it and mount it on your current system.
cp (--recursive) all of your data to the new disk from /. Then reinstall
lilo, changing <new drive>/etc/lilo.conf to boot /dev/hdaX instead of
/dev/hdc2.
The last step is the most important... be sure lilo is pointing to your new
disk. afaik that should do it, but then again this is a 1 minute
written-in-mailer solution...
At 05:39 PM 6/17/98 +0200, you wrote:
>Hi
>
>I have my linux system on a 420 Mb harddrive (/dev/hdc)
>This harddrive has 2 partition one for linux system (/dev/hdc2) and one
partition for swap (/dev/hdc1).
>lilo has master boot in /dev/hdc
>
>I have now a new harddrive (/dev/hda) and want to move alla my linux
system and swap to this new harddrive.
>Could someone here explain for me exackt how should I do it ?
>
>Regards,
> Nima Mortazavi
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.