Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-12-2013, 11:12 AM   #1
LQ Newbie
Registered: Dec 2013
Posts: 2

Rep: Reputation: Disabled
Smile How do I image an OS Hard drive with a Knoppix Live CD and dump that image to new HD

I'm a complete newb to Linux though I have some basic experience with Solaris. I have an OS image on an external drive that was made (by someone else)with one of the utilities in Knoppix Live. First, I'm not sure how to look at or identify this image so that I am sure that I am dumping the correct image from the source drive to the correct destination drive. I'm not sure what utility to use, like dd or partimage. Second, I need to know how to dump this image onto another drive. If someone could tell me where I can read about how to use dd and partimage on the Knoppix Live CD, that may be all I need. Also, I have been doing some reading and I'm not sure dd is the correct utility to use since it can affect the usable size of the drive. Maybe a partimage tutorial or step by step would be helpful.

Old 12-12-2013, 11:19 AM   #2
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,167

Rep: Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890
this seems kinda' dangerous for a noobie.

run the file command to determine if it is a partition iso or a disk image...

then the format of the command would be something like:
dd if=fc19-11-15-2013.iso of=/dev/sdb bs=8M
Old 12-12-2013, 04:36 PM   #3
LQ Newbie
Registered: Dec 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks Schneidz. I ended up using the command:

dd if=/dev/sda of=/dev/sdb bs=1024

its copying now.
Old 12-12-2013, 06:36 PM   #4
Registered: Mar 2008
Posts: 17,195

Rep: Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562
As a note, live cd's like knoppix have many tools. Gparted for example might have been used. A number of apps can be loaded if not installed like partimage to a live booted system. Other live cd's are also useful for this task. Clonezilla and Redobackup and systemrescue.

dd is a bit by bit copy. It tends to work but you also have to know limits of exact copies. Generally you fix any specific references before the clone. Otherwise you'd have to edit them later. Grub and fstab are common issues. In some cases you will have messed up geometry.
Old 12-12-2013, 07:35 PM   #5
Registered: Jan 2013
Distribution: Arch
Posts: 50

Rep: Reputation: 13
I would recommend using the DRBL livecd. It contains the clonezilla program, as well as a few other useful utilities, and it boots into a gui. It's intended purpose is to facilitate imaging multiple computers over a network at the same time, but it works great for single computers as well.

Here is the link to the clonezilla livced guide.

Also, keep in mind you can only image to a partition of equal or greater size. It doesn't matter if 90% of the image is of free space, it wont work. Atleast not last time I checked.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
creating live usb image using moblin image creator 2 mobquest Linux - Newbie 0 07-09-2009 12:35 AM
Using dd and gzip to create hard drive image but image is bigger than hard drive? banz Linux - Software 3 11-22-2008 05:25 AM
back up entire hard drive to image file? with a live cd n_md Linux - Software 2 02-01-2006 04:04 AM
Image a hard drive burton Linux - Software 2 04-09-2004 12:15 AM
Hard drive image bkmesenbrink Linux - Newbie 7 06-21-2003 11:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:58 PM.

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