-1

I made an image from an entire disk using dd like this: (I'm omitting bs, conv, status, etc.)

dd if=/dev/sda of=/media/somedisk/image.img

The image looks like this, when opened from 7-zip:

7-zip screenshot of the dd image

From this image, I would need to restore a single partition, by doing something like this:

dd if=/media/somedisk/image.img(??) of=/dev/sda4

Is there a way of only restoring a single partition from this image?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.