Ubuntu

Is it possible to create a ISO from Live USB of 12.04 version

Asked by Rohith Kumar on 2012-05-30

I got a live USB of Ubuntu 12.04. Is it possible to create a ISO image of that.

If yes, who to do that.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2012-05-30
Last query:
2012-05-30
Last reply:
2012-05-30

use dd which will perform a bit by bit copy. Assuming the USB is /dev/sdb you can run:

dd if=/dev/sdb of=~/image.iso bs=1024

and the resulting image.iso will be an image of the USB stick including the boot info. Obviously change the /dev/sdb if the USB is not that.

Rohith Kumar (rohithkumar-av) said : #2

dd: opening `/dev/sdb': Permission denied
 and how to know it is sdb

Rohith Kumar (rohithkumar-av) said : #3

And who will be know the above command got the LIVE USB of 12.04 in an ISO with exact copy of it

Rohith Kumar (rohithkumar-av) said : #4

rohit@rohit-Aspire-4720Z:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 14G 8.0G 5.3G 61% /
udev 489M 4.0K 489M 1% /dev
tmpfs 199M 864K 198M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 497M 420K 496M 1% /run/shm
/dev/sdb1 3.8G 920M 2.9G 24% /media/LIVE

I want to convert this Live UBUNTU 12.04 USB to ISO file

Then:

sudo umount /dev/sdb1
sudo dd if=/dev/sdb of=~/image.iso bs=1024

Will make an image of sdb in your home folder.

Rohith Kumar (rohithkumar-av) said : #6

Thanks Andrew, It did worked Initially I got an image.iso in home folder which size is pretty heavy around 4.1Gb around, and it was locked too. So I followed the steps you gave to unlock it earlier. And used Zsync to test with the previous one.
And this "reading seed file ubuntu-12.04-desktop-i386.iso: ***" process continued for a long time. And in the end got the below result.

_________________________________________________________________________
Read ubuntu-12.04-desktop-i386.iso. Target 99.9% complete. ********************************************************************************************************************
downloading from http://releases.ubuntu.com/12.04/ubuntu-12.04-desktop-i386.iso:
#################### 100.0% 57.1 kBps DONE

verifying download...checksum matches OK
used 734330880 local, fetched 1032771
rohit@rohit-Aspire-4720Z:~$ md5sum ubuntu-12.04-desktop-i386.iso
d791352694374f1c478779f7f4447a3f ubuntu-12.04-desktop-i386.iso
_______________________________________________________________________

I am happy now, Saving my ISO is my personal folder. Thanks for your help. So Great to know how to do this..

Thanks alot. :)

Rohith Kumar (rohithkumar-av) said : #7

Thanks actionparsnip, that solved my question.