[SOLVED] Making a backup of an installed distribution with all the changes intact
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Making a backup of an installed distribution with all the changes intact
Is it possible to make an ISO of the distribution already installed?
Well actually, I have made various changes according to my choice and don't want to do them again if I have to reinstall.
I found this: http://www.instalinux.com/, but didn't find it much helpful, I selected Debian for a trial and I thought I would be asked to choose each and every software myself...
You could use DD to create an image of your current install/partition, and use DD again later to restore it.
Thanks to you, the following quote is from that link:
Quote:
The command: dd -if /dev/hda1 > partitionimage.dd will backup "/dev/hda1" partition.
Does that mean if I create a separate partition for installing softwares and I back up that partition, will I get all those softwares up and running once I restore it?
Is it possible to make an ISO of the distribution already installed?
Well actually, I have made various changes according to my choice and don't want to do them again if I have to reinstall.
Any hints?
You can try "Remastersys", I think it does what you want to do.
As others stated, you can use various tools. One thing is using backup software, but as for being absolutely sure, I would use dd program too.
Code:
dd - command
if - input file, in this case should be block device
of - output file
Using dd, you can make "copy" of selected file/device (device is file, actually), with everything included. Make sure to use right device. "mount" and "fdisk -l" may be usable for verification. Also be aware that created file would be copy of it's original, not kind of install process - same configuration, same bootloader configuration, etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.