<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Mount Raw Images</title>
	<atom:link href="http://pthree.org/2012/04/16/mount-raw-images/feed/" rel="self" type="application/rss+xml" />
	<link>http://pthree.org/2012/04/16/mount-raw-images/</link>
	<description>Linux.  GNU.  Freedom.</description>
	<lastBuildDate>Fri, 17 May 2013 20:46:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6-beta2-24176</generator>
	<item>
		<title>By: Vangelis</title>
		<link>http://pthree.org/2012/04/16/mount-raw-images/#comment-116528</link>
		<dc:creator>Vangelis</dc:creator>
		<pubDate>Fri, 20 Apr 2012 16:36:26 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2351#comment-116528</guid>
		<description><![CDATA[sudo rmmod loop
sudo modprobe loop max_part=63 max_loop=8

Then if you mount your image with losetup /dev/loop0 my-image.img will have the partitions exposed in /dev/loop0p1 and /dev/loop0p2
---
I always add a file with the options under /etc/modprobe.d/loop.conf so that the extra options are loaded automatically upon boot:

sudo echo &quot;options loop max_part=63 max_loop=8&quot; &gt; /etc/modprobe.d/loop.conf]]></description>
		<content:encoded><![CDATA[<p>sudo rmmod loop<br />
sudo modprobe loop max_part=63 max_loop=8</p>
<p>Then if you mount your image with losetup /dev/loop0 my-image.img will have the partitions exposed in /dev/loop0p1 and /dev/loop0p2<br />
&#8212;<br />
I always add a file with the options under /etc/modprobe.d/loop.conf so that the extra options are loaded automatically upon boot:</p>
<p>sudo echo &#8220;options loop max_part=63 max_loop=8&#8243; &gt; /etc/modprobe.d/loop.conf</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sileht</title>
		<link>http://pthree.org/2012/04/16/mount-raw-images/#comment-116524</link>
		<dc:creator>sileht</dc:creator>
		<pubDate>Tue, 17 Apr 2012 17:06:17 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2351#comment-116524</guid>
		<description><![CDATA[You can do that using Qemu/nbd-client:
qemu-nbd -n virt01.img -P2
nbd-client localhost 10809 /dev/nbd0 
mount /dev/nbd0 /mnt]]></description>
		<content:encoded><![CDATA[<p>You can do that using Qemu/nbd-client:<br />
qemu-nbd -n virt01.img -P2<br />
nbd-client localhost 10809 /dev/nbd0<br />
mount /dev/nbd0 /mnt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: glandium</title>
		<link>http://pthree.org/2012/04/16/mount-raw-images/#comment-116523</link>
		<dc:creator>glandium</dc:creator>
		<pubDate>Mon, 16 Apr 2012 21:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2351#comment-116523</guid>
		<description><![CDATA[libguestfs&#039;s guestmount might come handy, too.]]></description>
		<content:encoded><![CDATA[<p>libguestfs&#8217;s guestmount might come handy, too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: textshell</title>
		<link>http://pthree.org/2012/04/16/mount-raw-images/#comment-116522</link>
		<dc:creator>textshell</dc:creator>
		<pubDate>Mon, 16 Apr 2012 21:14:10 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2351#comment-116522</guid>
		<description><![CDATA[using the small tool kpartx (not KDE or X11) does automate that quite a bit with using the device mapper.]]></description>
		<content:encoded><![CDATA[<p>using the small tool kpartx (not KDE or X11) does automate that quite a bit with using the device mapper.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
