Mind Chasers Inc.
Mind Chasers Inc.

Mount an ISO image locally on Linux

Brief writeup on mounting an ISO image locally without having to burn it to CD

X-ray Engineering Services

Here's a brief review on how to mount an ISO image locally to use it as if you had burned it to disk and mounted it. We'll use Freescale's latest QoriQ SDK as our example. We just downloaded QoriIQ-SDK-V1.5-SOURCE-20131219-yocto.iso to our ~/Downloads directory. We're using Ubuntu 12.04.

$ export PS1='\W $ '     # let's keep the prompt simple, just the current directory

~ $ sudo losetup /dev/loop0 ~/Downloads/QorIQ-SDK-V1.5-SOURCE-20131219-yocto.iso 

~ $ mkdir sdk

~ $ sudo mount /dev/loop0 ~/sdk
mount: block device /dev/loop0 is write-protected, mounting read-only

~ $ ls sdk
documents  EULA  install  packages_manifest.pdf  yocto.tar.gz

How simple!

Didn't find an answer to your question? Post your issue below or in our new FORUM, and we'll try our best to help you find a solution.

And please note that we update our site daily with new content related to our open source approach to network security and system design. If you would like to be notified about these changes, then please join our mailing list.

Related articles on this site:

subscribe to mailing list:

Please help us improve this article by adding your comment or question:

your email address will be kept private
authenticate with a 3rd party for enhanced features, such as image upload
previous month
next month