SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I actually bought a 1.5TB HD which should replace my 320GB one.
Which tool is the best one to clone my system from the 320GB HD to the 1.5TB one in an easy and straight forward way.
The filesystem is ext4 and the OS is Slackware64 13.1.
After cloning it with clonezilla, do I have to boot from a SlackwareDVD with giving the new hard disk partition as the root partition at boot promt and execute lilo afterwards?
If you do not want verbose output, leave out the "-v --progress" part. I "stole" the basic code from piratesmacks post in this thread, dressed it up a little & wrote a bash script to backup all the partitions on this machine. There are a lot of programs out there to clone/backup a partition, but you really don't need any of them.
Regards,
Bill
rsync is definitely one of the easiest and most flexible ways to do something like this.
I just finished upgrading a hard drive this way. I installed the new drive as the secondary drive, partitioned it, formatted it, and mounted it. Then I used:
rsync -vaxH / /path/to/new/drive
The only small problem is that the boot loader won't be properly installed on the new drive. This, of course, is only a problem if you are cloning your root partition. The solution (after removing the old drive) is to boot from a Slackware install disk or USB key, and follow the recovery instructions on how to boot the existing, installed system. Once you've booted the system this way you can run lilo to properly install the boot loader. If the new drive doesn't have the same device name (i.e. /dev/sda) as the old drive you will have to edit lilo.conf.
Following the suggestion from repo, I cloned it with Clonezilla.
And it was really easy and straight forward. Clonezilla also copied the boot loader right in place, so that I didn't have to adjust anything.
Writing this reply, my system is already running from my new hard disk :-)
I'm really happy with the way it worked and the result.
@integrale16: I'm glad you found a good solution. You should mark the thread SOLVED, via the "Thread Tools" button on top of your first post.
Regards,
Bill
If you are still searching for answers.... Clonezilla! All the way. I use it to perform quarterly clones of my system (not my user files) and also when I need to clone hard drives or partitions... Used it about 50 times in the last 2 years and it always did the job perfectly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.