LinuxQuestions.org
Review your favorite Linux distribution.
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 10-12-2010, 02:11 PM   #1
nnjond
Member
 
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281

Rep: Reputation: 31
Drive imaging


Hi,

I've customised my KDE pretty much how I want it,

So should the need arise, and to avoid all the re-install rigmorale, should drive imaging be the right backuo option to create a clone of my os + environment?

My Data is on a 2nd disc and appears at /media/ which i need not backup.

Thanks for your time
 
Old 10-12-2010, 02:55 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you can use the built in "dd" program
or "clonezilla"


by "customised my KDE" do you mean just settings ? if so then just copy your ~/.kde4 folder to a cd
there might be a few other folders too depending on just what you did
 
Old 10-12-2010, 03:13 PM   #3
PenGUiN_6_1
Member
 
Registered: Oct 2006
Location: Brunswick, MD
Distribution: gNewSense 2.3 (deltah) i386
Posts: 57

Rep: Reputation: 22
One option...
Use LiveCD to go to terminal

Waitr for terminal to let you type command

Exe cute
Code:
mkdir /.lazydog
ls -a /
mount $DataDrive /.lazydog -t $type -o rw
dd if=/$OsDrive of=/.lazydog/backup0.OSdrive bs=$size
...where OsDriveis your system, .lazydog or whatever is your data place, dd works thing for thing...specified by bs, which is the size of the in and out thing; it is optional. DataDrive is what you call to save the image.

Using this, REMEMBER THE MOUNT TYPE, because if need be, you can do this...
Code:
mount -t $type $path/backup0.OSdrive /mnt/hd -o loop,ro# or whatever
...to the image. Be sure you have the space for it.
 
Old 10-12-2010, 03:28 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
You have a choice. Either you can dd it which is an exact copy of every bit of the drive even empty space or you can consider a file based backup solution. Tar and cat might be used along with redobackup or clonezilla type of solutions.
 
Old 10-12-2010, 04:59 PM   #5
nnjond
Member
 
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281

Original Poster
Rep: Reputation: 31
Thanks All.

I see now I don't want to clone my partitions. John W seems to offer the appropriate advice as It's just my settings i wish to preserve.

Should I just copy .kde, and on re-install substitute for my default .KDE ?
 
Old 10-12-2010, 05:16 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
most things for kde ( and Gnome) if they were installed for just the normal user then they are in your home folder

themes and backgrounds ( if system wide) are not


for a test try this

make a new user and copy folders over one by one soon your new user should have the same settings
 
  


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
imaging pen drive using dd pranks Linux - Newbie 3 06-17-2010 01:37 AM
drive imaging tools matthewhardwick Linux - Software 2 08-12-2005 08:54 AM
Drive imaging witeshark General 1 01-28-2004 12:00 AM
imaging a linux-windows drive dave37 Linux - Software 3 01-09-2004 08:03 AM
Imaging a hard drive...is it possible nbukis Linux - General 6 04-10-2003 08:19 AM

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

All times are GMT -5. The time now is 02:28 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