Mailinglist Archive: opensuse (3767 mails)

< Previous Next >
Re: [SLE] How to move installation to another disk (inside same computer)?
  • From: "Ed Harrison" <eharrison@xxxxxxxxxxxxxxx>
  • Date: Thu, 2 Feb 2006 08:10:51 -0500
  • Message-id: <200602021310.k12DAqCg010371@xxxxxxxxxxxxxxxxxxxxxxxxxx>
** Reply to message from Ken Schneider <suse-list@xxxxxxxxxxxxx> on Thu, 02 Feb 2006 07:56:09 -0500

> Be careful with using "cp *" as it will not work without the correct
> switches set. You might also look into using rsync to do the copy
> process as it works quite well.

Here's the string I use, after mounting the new, smaller drive, or one of its partitions at /mnt.

As root, from the top of the old installation, do

find ./* -xdev | cpio -pdv /mnt.

I have used it for dozens of moves of this type.

Ed Harrison, Linux User # 199533
SuSE10.0, Kernel 2.6.15
PolarBar Mailer 1.26

< Previous Next >