Computing.Net > Forums > Linux > Partition raw image

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Partition raw image

Reply to Message Icon

Name: soothsayer
Date: November 23, 2005 at 17:38:59 Pacific
OS: Mandrake 10
CPU/Ram: 512
Comment:

Does anyone know how to create a raw image of a partition (like a thumb drive), which is a .dd file ?

Is there such tool ?

Cheers



Sponsored Link
Ads by Google

Response Number 1
Name: Jake2
Date: November 23, 2005 at 23:22:28 Pacific
Reply:

I think the tool you're looking for is "dd".

On UNIX systems devices like your thumb drive are represented as device files that reside in the /dev directory. Drives are named "hd" for ATA drives and "sd" for SCSI, USB, and SATA drives, followed by a unique letter, and the partition number if you only want to access one parition.

Assuming you don't have any SCSI or SATA drives, your thumb drive would be "sda", so the command to make an image of the first partition would be "dd if=/dev/sda1 of=image_file" ("if" means input file, "of" means output file). I didn't use the .dd extension because extensions don't matter in UNIX and there's no general consensus regarding the extension for raw image files.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Partition raw image

How to create a *.raw image? www.computing.net/answers/linux/how-to-create-a-raw-image/3119.html

Swap Partition on Image www.computing.net/answers/linux/swap-partition-on-image/29983.html

extracting (CD/DVD Image) bin files www.computing.net/answers/linux/extracting-cddvd-image-bin-files/26310.html