The filesystem *contents* will transfer okay. But ...

        LILO will have problems if what you are moving is the root (/)
filesystem. The new drive won't boot the system until you run LILO on it
(after making any needed changes in /etc/lilo.conf)

        If the new disk changes the partitions that different filesystems
are located on, you'll need to update /etc/fstab to reflect the new structure.

        You can't move a swap partition this way, just Linux filesystems.

        Make sure you use the tar options that preserve ownership and
permissions.

        You'll need either to preserve symlinks or reconstruct them. I don't
recall if tar has a provision for preserving symlinks.

        If you have several partitions, the tar/untar sequence may mess up
any divisions you have among the partitions. tar doesn't know about mount
points. If you have *say) /home on a separate partition, you need to make
and mount it before you do the untar'ing -- or you need to tar each
partition separately, which can be tricky if, say, you have /usr or /tmp on
a separate partition.

There are probably other details I've forgotten.

At 10:21 PM 7/3/99 -0500, Jeremy Wiebe wrote:
>Hi all.
>
>I just bought a new hard drive and would like some advice.
>
>If I want to transfer the entire installation to a new, bigger hard drive,
>will it work to just tar it up to a third drive and then untar it to the new
>drive?  (Or will this cause problems with the sizes of the drives being
>different?)

------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA  94303-3603                       [EMAIL PROTECTED]        
----------------------------------------------------------------

Reply via email to