Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Disk Image Software in Linux

Jun 15, 2010 9:02PM PDT

Hello, i have a 20 GB Hard Drive formmatted as ext4, and since the drive it's getting old, i would like to get some software that images (not clones) the drive and store the image in a file somewhere. i've seen some that support ext4 but only clone the drive, and others that do what i want but don't support ext4. could someone help me? Thanks

Discussion is locked

- Collapse -
Why not CLONEZILLA?
Jun 15, 2010 9:20PM PDT

Just a question.

- Collapse -
Hoping
Jun 16, 2010 12:02AM PDT

i think it worked, tks Wink

- Collapse -
CLONEZILLA
Jun 16, 2010 12:07AM PDT

It's what I use.

Let me share the other part of the equation. GPARTED. Armed with both there are some magical things we can do.
Bob

- Collapse -
GP
Jun 16, 2010 12:16AM PDT

I already know about GParted, it's truly a wonderfull application

- Collapse -
DD
Jun 27, 2010 12:19AM PDT

You want to store the contents of your hard disk into an image file that you can mount and read data from?

DD can do this. It's not as fancy as Clonezilla or the like (it can't compress your data) but it'll definitely do the job.

The command is basically:

dd if=/dev/sda1 of=image.img

where "/dev/sda" is the device file for your hard disk partition (run 'fdisk -l' as root to find out what the device file is), and where "image.img" is the path to the file you want to create.

And, of course, DD is preinstalled on pretty much every Linux distribution and is a useful tool for a lot of different situations. Just be careful with DD because it can destroy data if your "of=" parameter is a file or device that contains data.