<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.heepy.net/index.php?action=history&amp;feed=atom&amp;title=Mounting_a_partitioned_image_in_linux</id>
	<title>Mounting a partitioned image in linux - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.heepy.net/index.php?action=history&amp;feed=atom&amp;title=Mounting_a_partitioned_image_in_linux"/>
	<link rel="alternate" type="text/html" href="https://www.heepy.net/index.php?title=Mounting_a_partitioned_image_in_linux&amp;action=history"/>
	<updated>2026-04-06T20:42:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://www.heepy.net/index.php?title=Mounting_a_partitioned_image_in_linux&amp;diff=58&amp;oldid=prev</id>
		<title>Morris at 01:44, 4 September 2009</title>
		<link rel="alternate" type="text/html" href="https://www.heepy.net/index.php?title=Mounting_a_partitioned_image_in_linux&amp;diff=58&amp;oldid=prev"/>
		<updated>2009-09-04T01:44:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;To find and make available partitions in an image file of a partitioned medium:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
losetup /dev/loop0 filename.img&lt;br /&gt;
kpartx -av /dev/loop0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
this will create /dev/mapper/loop0pN...M &lt;br /&gt;
(not in /dev!)&lt;br /&gt;
&lt;br /&gt;
To clean up afterward, unmount any mounted partitions, then&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
kpartx -vd /dev/loop0&lt;br /&gt;
losetup -d /dev/loop0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Incantations]]&lt;/div&gt;</summary>
		<author><name>Morris</name></author>
	</entry>
</feed>