Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My laptop comes with a program called "Acer Recovery Management", which allows you to make a bootable recovery USB stick, from which you can boot to recover the computer to its original state.

Now, of course (I don't know why Acer didn't think about this) I don't want to give up a perfectly usable USB stick – which BTW needs to be at least 16 GB – to be a 'recovery disk' that I will probably never use anyway. But I still want to make it, just in case.

So, is there a way to convert the data on this bootable USB to an ISO file (or format), so that I can keep it on an external hard drive somewhere instead of a USB stick, and in case of problems convert the ISO back into a bootable USB with e.g. unetbootin?

share|improve this question

2 Answers 2

up vote 10 down vote accepted

To create an image from a drive

sudo dd if=/dev/sdx of=/path/to/new.iso

Alternatively, to create a USB drive from an image

sudo dd if=/path/to/iso of=/dev/sdx

Replace /dev/sdx with your USB drive, e.g. /dev/sdc.

WARNING: It is imperative that you make certain you are using the correct drive. If you don't use the correct drive, you could lose your data. To check your currently mounted drives, use the command lsblk.

Note: Copying large files (1 GB or higher) can take a long time, be patient.

share|improve this answer
    
Have you tried it sometime? –  user35443 Jan 13 '13 at 18:11
4  
@user35443 I've used this method to create duplicate SD drives for my Raspberry Pi's –  camconn Jan 13 '13 at 18:34

Another option is to use gnome-disks.

You can start if from a terminal with gnome-disks or look for the application Disks in the Dash.

Once the USB stick is mounted, select it and use the more actions icon to choose Create Image.

Disks is a GUI for the same command.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.