-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloning most of an Ubuntu system disk, except for one data partition #118
Comments
That's true. There is no such scenario in Clonezilla. Steven |
Steven, Thanks for letting me know that at least I understand the problem properly. Yes, I am talking about cloning, not imaging. I have two drives, from two completely different Linux systems that need to be partially cloned: all the contents of the drives need to be cloned, except one partition. The partitions withheld from cloning are not system partitions, they are data partitions. This must be a fairly common scenario, given that I have 2 very different systems that need partial cloning. Clonezilla is capable of cloning an entire drive, including replicating the partition table verbatim or by modifying the overall space required. It is also capable of replicating the swap partition and uEFI BIOS boot entry. The manual steps you mention (swap and uEFI) are handled by Clonezilla somehow. I would be happy to write up detailed instructions for how to accomplish partial drive cloning, if you are willing to guide me by answering specific questions. To simplify the problem, I do not intend to support the legacy systems that Clonezilla supports (this means GPT only), and am only interested in Clonezilla Live, so no BitTorrent support, etc. You have mentioned the steps required at a high level. I have questions about each step:
Thank you, |
I want to clone a 4 TB Ubuntu system drive, except for one data partition, to a 2 TB drive. The clone should be bootable, so the GPT data, EFI partition and system partition need to function. This does not seem to be possible using the Clonezilla menus, even in expert mode.
The image below shows the partitions on the drive to clone. All partitions should be copied to the new bootable drive, except the last partition (shown as
/dev/sdb3
, labeledData
):I have no desire to reinvent Clonezilla, or to do any unnecessary programming. The most desirable outcome would be to learn how to use an unmodified Clonezilla to accomplish the task.
Clonezilla has dozens of interesting utilities in
clonezilla/sbin/
for managing Linux drives. I have not found any documentation on these utilities.My detailed notes are online.
The text was updated successfully, but these errors were encountered: