[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hard-disk Change
Hi,
here is what I did to move my system:
booted mu-Linux (a one diskette linux), mounted old disk in /old, formated
new disk and mounted in /new, cp -a /old /new. That's it and it worked
very well for me.
Schlomo
On Mon, 31 Aug 1998, Yannai A. Gonczarowski wrote:
> Hi,
> I have two harddisks on which (together) a linux system is installed (/,
> /var and /home on one, /usr on the other).
> These disks are quite old and are malfunctioning frequently.
> I have a new harddisk with a capacity greater than the two together.
> I wish to move all the system from those disks to the new disk, maintaining
> seperate partitions for / /var /home and /usr like on the old disks.
> Here comes the question:
> When moving all files, is using tar okay?
> (cd /usr; tar cf - . | tar xCf /new/usr -), or should I use something else?
> I also plan to copy the root partition this way, so what I really need to
> know is if tar can correctly copy the files in /dev and other special files
> maintaining all attributes and ownerships.
>
>
> Regards,
> Yannai.
>
> ----------------------------------------------------------------------------
> Yannai A. Gonczarowski System Administrator yannaigo@leyada.jlm.k12.il
> The Hebrew University High School http://www.leyada.jlm.k12.il/~yannaigo/
>
> Si vis pacem, para bellum
> ----------------------------------------------------------------------------
>
>