Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 hope this is an appropriate section of the forum for this kind of question. (If not, feel free to move it, admins.)
Can any of you tell me how I can make an image of an entire Ubuntu Mate 18.04.4 system partition, so it can be restored to a freshly formatted partition (or disk) that I can then boot from?
I used to be able to do this with Drive Image, which booted from a DOS disk—but it doesn't support SATA drives, which I'm using now.
This being Linux, I figured there'd be all kinds of free (i.e. OS) ways to do something like this, but I haven't found any yet. Thanks for your help!
Clonezilla is the canonical answer - or you can use any of the tools it uses under the covers.
Just copying the partition usually isn't sufficient:
- you need boot code in the MBR or EFI partition to boot it. May not be an issue if simply replacing a disk, but usually is, even in that case.
- if putting into a new system, you'll need to ensure appropriate drivers are in place prior to the backup.
...
Nothing is ever as simple as it first seems. Do-able tho'...
Linux clone used to be hard then easy then back to hard... progress.
My guess might be that Clonezilla tends to be a popular choice and most folks use it. In fact one of our business systems use it. Pretty easy to use over lan too.
Anyway, syg00 is correct that there may end up being naming and other unique things that may need to be made generic before clone or fixed later. Hopefully just works.
Thanks for your replies. I'm sorry it took over a month for me to acknowledge you. I actually posted that question for a friend here in Vancouver, BC, who was (ironically) unable to get online after an upgrade. He now says:
Quote:
Originally Posted by Ander's goofy friend
I guess you can report the thread resolved, though I had not wanted to give a definitive response until I had a bit more experience. As I offered before, pleas thank them for me.
I tried using gparted to clone my first MATE 18.04 setup before it was blasted, and it copied but did not boot from the destination disk. In retrospect, I may have switched destination disks for one not already prepared with a previous Ubuntu installation, and thus lacked the GRUB setup. I think I had previously used it with an 8.04 installation using a much older version of GRUB. Must try that again!
Of course, neither Clonezilla nor gparted create compressed images like Drive Image... I will have to investigate the compressing options on that list you so kindly provided!
My current MATE build is showing some odd behaviour and reporting an error to Canonical. There were many changes in the updates since our last try.
So there you go. Thanks again for your help. Cheers, A.
Oops—sorry about the duplicate post. This time I noticed the message about moderator approval. Maybe you've had spam problems here. Anyway, moderator, feel free to delete both this and my redundant post. Cheers, A.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.