[SOLVED] Clonezilla Strategy: Larger to Smaller HDD
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've schemed a plan to defeat Clonezilla's limitation of going from larger to smaller HDDs:
1) Create imageable disk;
2) Resize main partition to smallest possible using gparted (leave unused space on disk);
3) Image disk with Clonezilla;
4) Burn to smaller HDD that is larger than shrunken partitions.
Will this work? In other words, does Clonezilla rely on partition tables or physical drive geometry?
gparted claims to do resizing without loosing data. In that case, then both the filesystem and the partition are resized and a new partition table is written. If Clonezilla does partition based backups, then you shouldn't have a problem. It would be a next to useless tool if it only did full harddrive backups.
Clonezilla is a wrapper for several tools - partition backups appear to be (as hoped) partition based; and only the used portion which is even better.
I keep meaning to test it, but never have.
Distribution: Red Hat - 6.2,7.3,9.0,FC3,FC4, FC5, Debian-3.1, Ubuntu 7x,8x,10x, DSL
Clonezilla can and will save just the used parts...
Clonezilla in any mode that has a supported file system, will only save data that is used. It does not store unused bytes. You can force it to, of course, but the normal operation is to just save what is used.
dd on the other hand will blindly copy everything.