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

advertisement

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 follow us on Twitter and join our mailing list.

Related articles on this site:

share
subscribe to mailing list:

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

For enhanced features and capabilities, please sign in or authenticate using a popular third party

your email address will be kept private

to upload an image

previous month
next month
Su
Mo
Tu
Wd
Th
Fr
Sa
loading