LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-28-2011, 12:11 PM   #1
The Divine Architect
LQ Newbie
 
Registered: Dec 2011
Distribution: Linux Mint 12
Posts: 8

Rep: Reputation: Disabled
Making system image of linux with clonezilla


I plan on installing linux mint 11 and immediately plan on doing a system image back up of the distro with Clonezilla. I also plan on doing three partitions: /root, /home, and swap. Now, I have searched Google and all I have seen is people backing up a Linux system that's installed on one partition (everything installed within /root). How would I go backing up my partitions with Clonezilla? Do I just make a system image of the /root partition and leave /home partition alone? Thanks
 
Old 12-28-2011, 12:24 PM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by The Divine Architect View Post
I plan on installing linux mint 11 and immediately plan on doing a system image back up of the distro with Clonezilla. I also plan on doing three partitions: /root, /home, and swap.
good idea; some people and some Linux guides and books even recommend to make /boot a separate small partition (a few 100MB) of its own. Some others, however, say that's nonsense or at least unnecessary.

Quote:
Originally Posted by The Divine Architect View Post
Now, I have searched Google and all I have seen is people backing up a Linux system that's installed on one partition (everything installed within /root). How would I go backing up my partitions with Clonezilla? Do I just make a system image of the /root partition and leave /home partition alone?
It depends. We probably agree that the swap partition doesn't need backing up. For the rest ... You could simply make two images - one of / and one of /home. But then again, the /home directory isn't that critical. You might just as well make a copy of that directory into an archive (being root, of course), and restore it later from that archive (being root again). Your choice. :-)

[X] Doc CPU
 
Old 12-28-2011, 12:36 PM   #3
The Divine Architect
LQ Newbie
 
Registered: Dec 2011
Distribution: Linux Mint 12
Posts: 8

Original Poster
Rep: Reputation: Disabled
So, in order to restore my Linux OS back to the way it was, I can just restore the /root partition I backed up? Will there be any misconfigurations with /root and the /home partitions? I really appreciate your responses.
 
Old 12-28-2011, 01:28 PM   #4
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by The Divine Architect View Post
So, in order to restore my Linux OS back to the way it was, I can just restore the /root partition I backed up?
no, you may have misunderstood me. You definitely back up and restore both partitions, one after another. I just pointed out that the /home partition doesn't have to be imaged; a simple file-oriented backup would do. Yet it's a two-step process at ay rate.

Quote:
Originally Posted by The Divine Architect View Post
Will there be any misconfigurations with /root and the /home partitions?
No, because between the two steps you don't log in to the system that is being backed up or restored. And even if you did, you would log in as root, and the root user's home directory usually isn't under /home, but instead it's /root. So it's included in the image of your main partition (unless your distro uses a different location for the root user's home directory).

[X] Doc CPU
 
Old 12-28-2011, 01:56 PM   #5
The Divine Architect
LQ Newbie
 
Registered: Dec 2011
Distribution: Linux Mint 12
Posts: 8

Original Poster
Rep: Reputation: Disabled
I think I understand what you are saying. I should back up the /root partition and then back up the files of the /home partition. I have all my personal documents and of that sort on a separate partition on my external hd, so that wont be a problem. But I'm guessing that backing up the /home partition is somewhat important since it houses some program configs of that sort? In that case, I will just make an image of both /root and /home and restore both when needed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Image of NT4 system using clonezilla g_ramesh Linux - Newbie 3 10-25-2010 11:52 PM
Building a new linux system...using CloneZilla image... cbjhawks Linux - Hardware 2 01-01-2010 12:00 PM
[SOLVED] My Clonezilla image files - how are they used ? MBA Whore Linux - Software 1 09-02-2009 06:08 PM
clonezilla clone disk to image, when restore from image to destination hdd problem. hocheetiong Linux - Newbie 3 05-06-2008 07:59 PM
Using Clonezilla linux partition image to windows ssh server killerforce Linux - Hardware 1 06-01-2007 09:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration