Ubuntu: Make an iso of your mmc

Well, it doesnt have to be your mmc. It could be anything thats connected to your system.

How to: Make an .iso file from the terminal

Stuff I did:

Ubuntu software center, Google etc. to find a terminal application that would let me do it. Found “cat” from ubuntuforums. Well, i tried it out. Didnt know what it did exactly and i thought i just wrote everything in a file to another file

sudo cat /dev/mmcblk0 > my-iso.iso

This will create an .iso for all practical purposes i suppose. But for a normal user like me, i dont suppose you can transfer it to another os and use it for anything. the default archive manager doesnt open it either.

Found out about “dd” while Google-ing.

sudo dd if=/dev/mmcblk0 of=my-iso.iso

This does the exact thing as cat. But dd is the way everyone does it i suppose.

Solution: mkisofs

mkisofs is what came to myhelp at long last.

mkisofs -0 my-iso.iso /media/mmcname/

This did the trick. It created an iso of all the contents of “mmcname”. The only thing is however, it works only for directories i believe.


About Manu Mohan

Just another 20yr old...With a screwed up college life and feels hes doesn't fit in..:)

Posted on December 10, 2011, in Linux Adventures, Ubuntu and tagged , , , , . Bookmark the permalink. Leave a comment.

Cracking your skull open while you hit it on the desk? Let me know about it...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: