Creating an image of the system partition in Linux? [SOLVED]

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
User avatar
morris
Level 2
Level 2
Posts: 57
Joined: Fri Oct 22, 2010 6:18 am
Location: Germany, somewhere in the Black Forrest

Creating an image of the system partition in Linux? [SOLVED]

Post by morris »

Usually when I installed Windows, I did create another partition for the data, and soon after installing I made an Image of the drive with the system using the program Power Quest Drive Image and I put that image onto the data partition. So that if I catch some virus or want to get rid of confusions from too many installed and deinstalled progs I can just replace the corrupted image partition with the new and freshly installed version of the system as it was just after I installed my basic programs.

Is there anything like Drive Image in Linus as well? I would want to create another partition for data anyway and then I think it might be useful to create an image of the freshly installed system, when everything still works smooth. May be Linux comes with some inbuilt prog that does the trick. It might come handy to know this before actually installing.
Last edited by morris on Wed Nov 03, 2010 10:14 am, edited 1 time in total.
oobetimer

Re: Creating an image of the system partition in Linux?

Post by oobetimer »

You can use tar commands for backuping. An example root-partition /

sudo tar -cjvf root_backup.tar.bz2 --exclude=root_backup.tar.bz2 --exclude=/home --exclude=/media --exclude=/mnt /

http://linux.about.com/od/commands/l/blcmdl1_tar.htm
User avatar
LarryP
Level 3
Level 3
Posts: 118
Joined: Wed Jul 21, 2010 12:28 pm

Re: Creating an image of the system partition in Linux?

Post by LarryP »

I belive you can do that with aptoncd but think you might need to burn it to cd or dvd to move it to another partition but then I've never treid to move things from one partition to another in linux. Another option is remastersys if it is not in the repositories you can get it from sourceforge, just make sure you have build-essential and gdebi on your system- they should be there but it doesn't hurt to look check those out in package manager by typing the name into the search box. If you are interested in what could be called a 'server style'' backup the following link is an excellent tutorial written by scorp123 http://forums.linuxmint.com/viewtopic.p ... nix+backup . I suggest reading at least through Fred's posts. another highly knowledable and helpful person here.
TANSTAAFL There ain't no such thing as a free lunch
User avatar
tdockery97
Level 14
Level 14
Posts: 5060
Joined: Sun Jan 10, 2010 8:54 am
Location: Mt. Angel, Oregon

Re: Creating an image of the system partition in Linux?

Post by tdockery97 »

You can also use a program called Clonezilla. It will make an exact image of your system partition. The image can then be stored on your data partition and restored later. It does exactly what you described. You can find the details about it here: http://clonezilla.org/. It runs from a live cd or dvd so will work even if your system completely crashes.
Mint MATE 20.1
Elisa

Re: Creating an image of the system partition in Linux?

Post by Elisa »

The same job as written above, does also the "ghost4lin" - http://linux.softpedia.com/get/System/H ... x-53.shtml
User avatar
morris
Level 2
Level 2
Posts: 57
Joined: Fri Oct 22, 2010 6:18 am
Location: Germany, somewhere in the Black Forrest

Re: Creating an image of the system partition in Linux?

Post by morris »

@ Elisa and tdockery:
Your tips seem to me more familiar, cause that is close to what I did in windows. Also I use Filezilla and FF already in Windows, so that is another plus.
I think I might want to try out the other suggestions as well. After all I am just getting really excited about Linux and also the Terminal seems interesting to me. When I started out with computers I had some DOS-Version. Later on, when things crashed or once when I stupidly locked myself out of my own comp with a very complicated password, I was so glad, that I still could do some simple tricks in DOS. I went in with the rescue-floppy and then there I deleted the program bootmagic which had that password which didn't let me in. Afterwards I could start the thing without password-protection.
Any thief wanting to get in in my absence could have done the same though, so much for password-security.
Post Reply

Return to “Newbie Questions”