{"id":941,"date":"2020-04-16T21:43:16","date_gmt":"2020-04-16T21:43:16","guid":{"rendered":"http:\/\/www.tech-g.com\/?p=941"},"modified":"2020-04-16T21:57:45","modified_gmt":"2020-04-16T21:57:45","slug":"quick-guide-to-mounting-iso-file-in-linux","status":"publish","type":"post","link":"https:\/\/www.voodoo.business\/blog\/2020\/04\/16\/quick-guide-to-mounting-iso-file-in-linux\/","title":{"rendered":"Quick guide to mounting ISO file in linux"},"content":{"rendered":"\n<p>In short, You can (Up to date systems) mount it in 1 go with something like<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mount -o loop \/path\/to\/my-iso-image.iso \/mnt\/iso<\/pre>\n\n\n\n<p>Step 1, what is the next loop number we can mount on ?<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">losetup -f<\/pre>\n\n\n\n<p>This will probably result in something like \/dev\/loop0 (Which is the next ready loop to map the ISO to<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>losetup \/dev\/loop0 \/path\/file.iso<\/code><\/pre>\n\n\n\n<p>Then, mount the loop device with the mount command<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>mount \/dev\/loop0 \/mnt\/dir<\/code><\/pre>\n\n\n\n<p>That&#8217;s it, The new solution and the old, As always, i keep things here as a not to self, because sometimes I come across older computers, and I forget how it was done since all the mounting I do now the new way<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In short, You can (Up to date systems) mount it in 1 go with something like mount -o loop \/path\/to\/my-iso-image.iso \/mnt\/iso Step 1, what is the next loop number we can mount on ? losetup -f This will probably result in something like \/dev\/loop0 (Which is the next ready loop to map the ISO to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-941","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/comments?post=941"}],"version-history":[{"count":3,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/941\/revisions"}],"predecessor-version":[{"id":944,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/941\/revisions\/944"}],"wp:attachment":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/media?parent=941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/categories?post=941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/tags?post=941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}