if you don't want (or can't) use non-free software (ghost, partition magic
(which i'd recommend for this), ...), you could try the following :
- install the new disk (say /dev/hdc)
- boot the old system
- create partitions on the new disk
- mount them on temporary mount points
- copy from old disk (cp -a)
- chroot to the new root fs
- edit lilo.conf change boot parameter to new disk (still /dev/hdc)
- lilo
- edit lilo.conf again revert boot parameter to new disk future dev (say
/dev/hda)
- shutdown
- remove old disk and put the new in place (now /dev/hda)
- boot 
- it should work, if it doesn't, you would just have to boot on a rescue
diskette or install cd, mount the new root fs, chroot to it and lilo again

let us know...


A 14:30 15/04/02 -0700, vous avez écrit :
>hello all
>
>i've got a old box here with a 6gig hd inside that i want to completely
>replace with a new shiny 30gb drive.  the problem is though that i've speant
>a lot of time getting this thing to work, setting up a name server, apache,
>proftpd, afpd etc. etc. and i'd rather not have to start from scratch.  a
>suggestion was made to me that i just make a disc image of what i've got,
>but i don't know how to do that...  what's involved?
>
>here's my current drive partition info:
>
>filesystem   1k-blocks       used    available   mounted on
>/dev/hdb1      5945404    4990916       652468            /
>/dev/hda1        49743       8272        38903        /boot
>none             63176          0        63176     /dev/shm
>
>what're my options here?
>
>
>
>_______________________________________________
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
                        - * - * - * - * - * - * -
Bien sûr que je suis perfectionniste !
Mais ne pourrais-je pas l'être mieux ?
        Thierry ITTY
eMail : [EMAIL PROTECTED]               FRANCE



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to