I have an Ubuntu 14.04 Live USB (32 GB).

  • Is it possible to create a bootable .iso file from the Live USB ?

how can I create a bootable ISO?

  • Is the second point actually how to clone an existing live USB? Do you need to cache the files as copies on disk first or is a direct copy to a new USB medium ok as well? – Byte Commander Oct 5 '15 at 12:21
  • @ByteCommander clone?? you mean duplicate ..then No.And "cache the files as copies on disk first " ...yes =) – Ravan Oct 5 '15 at 12:38

It should be enough to just cat the device. If your USB is, for example, /dev/sdb, you can do:

cat /dev/sdb > foo.img

to restore the image to a USB disk, do:

cat foo.img > /dev/sdb

Note that this approach will create an image file as large as the drive itself, even if the drive is almost empty. If the drive is not 100% full and you only want an iso of the used space, use genisoimage (install it with apt install genisoimage) instead:

genisoimage -o foo.iso /path/to/usb/mount/point
| improve this answer | |
  • 1
    In case of 2 USB's 1 dd should be enough :D – Rinzwind Oct 5 '15 at 11:51
  • @terdon thanks =)...my second one?...I will edit for clarity.. – Ravan Oct 5 '15 at 11:52
  • @Ravan see updated answer. I don't see why you would want to do that though. Just save the iso and keep that. – terdon Oct 5 '15 at 12:04
  • 1
    What if the USB stick is much larger than the image needs, e.g. 8GB. Will the .iso file then be 8GB in size with much blank space in it or will it only eat up as much as necessary to hold the data? I'm referring to both the cat and the genisoimage methods. – Byte Commander Oct 5 '15 at 12:20
  • 1
    @ByteCommander good point. The cat approach will indeed make a file as large as the device, irrespective of how much data you have. The geniso will make a file only as big as the used space of the device. Thanks, answer edited. – terdon Oct 5 '15 at 12:37

I found a tool called Pinguy Builder which creates .iso from within the operating system.

Pinguy Builder will create an installable ISO of your current system.

You can burn this ISO to an USB drive or write it directly to a DVD.
The DVD/USB is bootable and so can then be booted from any PC.

Depending on what option you choose you can determine what type of ISO will be created.

If you pick “Dist”, it backups the whole system but excludes your home folder.

If you pick “Backup”, it backups the system and will include your home folder.

References :


How to launch Pinguy Builder on Ubuntu?

| improve this answer | |

Your Answer

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

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