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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-24-2010, 10:53 PM
|
#1
|
LQ Newbie
Registered: Jan 2010
Location: Pleasant Hill, California, USA
Distribution: linux mint 8
Posts: 2
Rep:
|
How to access the dd command in Linux Mint 8
I would like to use the dd command to make a low level copy of a hard drive. How do you access the dd command in Linux Mint? I am going to install the source and target in the computer, boot up to Linux Mint with a Bootable CD and then copy one drive to the other.
I'd appreciate any help that I can get in this forum.
Thanks,
Arthur
|
|
|
01-24-2010, 11:01 PM
|
#2
|
Senior Member
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591
|
When booted into a live session, type: fdisk -l in a terminal as root or sudo to see the device names. If the target is the first drive it will be /dev/sda, /dev/sdb for the second drive. Issue command: dd if=/dev/sda of=/dev/sdb conv=notrunc,noerror as root or sudo, wait till the prompt returns. Depending on the amount of ram, size of processor, it could take up to an hour per 10GB to write, so be patient, if the hard drive light is blinking, it's still working.
If only copying a partition and not the entire drive you will need to adjust the command accordingly.
|
|
|
01-24-2010, 11:37 PM
|
#3
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
To directly answer the question: Open a terminal. You'll find one in the menus somewhere, or you can enter ctrl-alt-F1 (or F2, F3, etc.)
You'll need sudo with something like dd---or you can activate the root account using "sudo passwd root".
|
|
|
01-25-2010, 12:52 AM
|
#4
|
LQ Newbie
Registered: Jan 2010
Location: Pleasant Hill, California, USA
Distribution: linux mint 8
Posts: 2
Original Poster
Rep:
|
Thanks for the help!
Thanks for the help and for such quick replies, I'll post as to how it goes.
Arthur
|
|
|
All times are GMT -5. The time now is 04:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|