<?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: Mounting a hard disk image including partitions using Linux</title>
	<atom:link href="http://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linux</link>
	<description>Andre Miller</description>
	<lastBuildDate>Fri, 13 Jan 2012 16:52:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Steve</title>
		<link>http://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linux#comment-765</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 13 Jan 2012 16:52:19 +0000</pubDate>
		<guid isPermaLink="false">#comment-765</guid>
		<description>At least for Ubuntu Lucid, mounting offsets well beyond a 32-bit limit works flawlessly.  Thanks for saving me a ton of time and copying!  

I really prefer to image the whole drive so that I get boot sectors, etc and it can boot from a restored image with zero hassle.  I just always thought that it came with the drawback of not being able to access the partitions in these images...</description>
		<content:encoded><![CDATA[<p>At least for Ubuntu Lucid, mounting offsets well beyond a 32-bit limit works flawlessly.  Thanks for saving me a ton of time and copying!  </p>
<p>I really prefer to image the whole drive so that I get boot sectors, etc and it can boot from a restored image with zero hassle.  I just always thought that it came with the drawback of not being able to access the partitions in these images&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: killermist</title>
		<link>http://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linux#comment-762</link>
		<dc:creator>killermist</dc:creator>
		<pubDate>Mon, 09 Jan 2012 01:34:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-762</guid>
		<description>In the line:
#mount -o loop,ro,offset=1184440320 test2 /mnt/rabbit
Was &quot;test2&quot; supposed to be &quot;test2&quot;, or was it supposed to be &quot;hda.img&quot;?
That could make a difference.</description>
		<content:encoded><![CDATA[<p>In the line:<br />
#mount -o loop,ro,offset=1184440320 test2 /mnt/rabbit<br />
Was &#8220;test2&#8243; supposed to be &#8220;test2&#8243;, or was it supposed to be &#8220;hda.img&#8221;?<br />
That could make a difference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: japzone</title>
		<link>http://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linux#comment-758</link>
		<dc:creator>japzone</dc:creator>
		<pubDate>Tue, 03 Jan 2012 19:01:09 +0000</pubDate>
		<guid isPermaLink="false">#comment-758</guid>
		<description>@16
Thanks a ton! Testdisk is infinitely better! I&#039;ve been trying ChromeOS builds from Hexxah but since they&#039;re built automatically sometimes they are corrupted. Using Testdisk I can quickly check to make sure that everything is ok. Testdisk even allows filebrowsing and much more! Will be using this tool from now on.</description>
		<content:encoded><![CDATA[<p>@16<br />
Thanks a ton! Testdisk is infinitely better! I&#8217;ve been trying ChromeOS builds from Hexxah but since they&#8217;re built automatically sometimes they are corrupted. Using Testdisk I can quickly check to make sure that everything is ok. Testdisk even allows filebrowsing and much more! Will be using this tool from now on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eSoul</title>
		<link>http://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linux#comment-749</link>
		<dc:creator>eSoul</dc:creator>
		<pubDate>Sun, 18 Dec 2011 01:20:12 +0000</pubDate>
		<guid isPermaLink="false">#comment-749</guid>
		<description>I know its an old article, but I wanted to comment that the reason your command to mount your offset partition inside your original disk image did not work could be because of a possible typo.

# parted hda.img
GNU Parted 1.7.1
Using /data/rabbit/disk_image/test2

You say the disk image is hda.img with your parameter for parted, but then parted says you are using a whole other file (/data/rabbit/disk_image/test2).  When I run parted, my output is like so:

esoul@dionysus:/twoTB/eSoulBackup$ sudo parted ./taylor.dd
GNU Parted 2.3
Using /twoTB/eSoulBackup/taylor.dd

I know the version numbers are different and mine is newer, but it doesn&#039;t have any effect on using mount to mount the partition at an offset.  What really kills it for could be your mount parameters -- 

#mount -o loop,ro,offset=1184440320 test2 /mnt/rabbit

This fails possibly because you are not in the same folder as test2.  Either cd to the directory or put the full path to the disk image and all is fine.  Like so -- 

esoul@dionysus:/twoTB/eSoulBackup$ sudo mount -o ro,loop,offset=1573912576 taylor.dd /mnt/temp
esoul@dionysus:/twoTB/eSoulBackup$

No errors, no complaints, I can list directory contents just fine.

This is also a disk image with a NTFS file system and a &quot;hidden&quot; partiton before it.  I have plenty of disk images sitting on my backup server and everyone of them will mount partitions inside of the device image with no problems.</description>
		<content:encoded><![CDATA[<p>I know its an old article, but I wanted to comment that the reason your command to mount your offset partition inside your original disk image did not work could be because of a possible typo.</p>
<p># parted hda.img<br />
GNU Parted 1.7.1<br />
Using /data/rabbit/disk_image/test2</p>
<p>You say the disk image is hda.img with your parameter for parted, but then parted says you are using a whole other file (/data/rabbit/disk_image/test2).  When I run parted, my output is like so:</p>
<p>esoul@dionysus:/twoTB/eSoulBackup$ sudo parted ./taylor.dd<br />
GNU Parted 2.3<br />
Using /twoTB/eSoulBackup/taylor.dd</p>
<p>I know the version numbers are different and mine is newer, but it doesn&#8217;t have any effect on using mount to mount the partition at an offset.  What really kills it for could be your mount parameters &#8212; </p>
<p>#mount -o loop,ro,offset=1184440320 test2 /mnt/rabbit</p>
<p>This fails possibly because you are not in the same folder as test2.  Either cd to the directory or put the full path to the disk image and all is fine.  Like so &#8212; </p>
<p>esoul@dionysus:/twoTB/eSoulBackup$ sudo mount -o ro,loop,offset=1573912576 taylor.dd /mnt/temp<br />
esoul@dionysus:/twoTB/eSoulBackup$</p>
<p>No errors, no complaints, I can list directory contents just fine.</p>
<p>This is also a disk image with a NTFS file system and a &#8220;hidden&#8221; partiton before it.  I have plenty of disk images sitting on my backup server and everyone of them will mount partitions inside of the device image with no problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liam</title>
		<link>http://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linux#comment-743</link>
		<dc:creator>Liam</dc:creator>
		<pubDate>Sun, 04 Dec 2011 23:18:25 +0000</pubDate>
		<guid isPermaLink="false">#comment-743</guid>
		<description>This article just saved my life, figuratively. Thank you so much!</description>
		<content:encoded><![CDATA[<p>This article just saved my life, figuratively. Thank you so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikko Rantalainen</title>
		<link>http://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linux#comment-717</link>
		<dc:creator>Mikko Rantalainen</dc:creator>
		<pubDate>Sat, 01 Oct 2011 09:16:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-717</guid>
		<description>One word: kpartx

For example: http://perbu.livejournal.com/1157.html</description>
		<content:encoded><![CDATA[<p>One word: kpartx</p>
<p>For example: <a href="http://perbu.livejournal.com/1157.html" rel="nofollow">http://perbu.livejournal.com/1157.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig Forster</title>
		<link>http://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linux#comment-700</link>
		<dc:creator>Craig Forster</dc:creator>
		<pubDate>Tue, 30 Aug 2011 01:52:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-700</guid>
		<description>Using parted to work out the partition offsets allowed me to salvage some important files from a VirtualBox disk image that I converted to a raw image as it wouldn&#039;t boot.  Thanks!</description>
		<content:encoded><![CDATA[<p>Using parted to work out the partition offsets allowed me to salvage some important files from a VirtualBox disk image that I converted to a raw image as it wouldn&#8217;t boot.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to create FS image and mount</title>
		<link>http://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linux#comment-686</link>
		<dc:creator>How to create FS image and mount</dc:creator>
		<pubDate>Wed, 13 Jul 2011 09:41:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-686</guid>
		<description>[...] if=/dev/your-device of=~/Desktop/your-device-image.img for a complete explanation see this post: http://www.andremiller.net/content/m...ns-using-linux  with regards,   [...]</description>
		<content:encoded><![CDATA[<p>[...] if=/dev/your-device of=~/Desktop/your-device-image.img for a complete explanation see this post: <a href="http://www.andremiller.net/content/m...ns-using-linux" rel="nofollow">http://www.andremiller.net/content/m&#8230;ns-using-linux</a>  with regards,   [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mvsroot</title>
		<link>http://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linux#comment-626</link>
		<dc:creator>mvsroot</dc:creator>
		<pubDate>Tue, 10 May 2011 22:32:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-626</guid>
		<description>An easy way to mount a partition is the follwing command:
IMG=&quot;hda.img&quot;;PART=1;mount -o loop,ro,offset=$(parted $IMG -s unit b print&#124;awk &#039;$1==&#039;$PART&#039; {sub(/B/,&quot;&quot;,$2);print $2}&#039;) $IMG /mnt/rabbit
.
If you must copy this partition you can use similar subcommands to calculate the offset. You can use the bc command to calculate skip and count if the blocksize (bs) is larger as 1.</description>
		<content:encoded><![CDATA[<p>An easy way to mount a partition is the follwing command:<br />
IMG=&#8221;hda.img&#8221;;PART=1;mount -o loop,ro,offset=$(parted $IMG -s unit b print|awk &#8216;$1==&#8217;$PART&#8217; {sub(/B/,&#8221;",$2);print $2}&#8217;) $IMG /mnt/rabbit<br />
.<br />
If you must copy this partition you can use similar subcommands to calculate the offset. You can use the bc command to calculate skip and count if the blocksize (bs) is larger as 1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Create/Mount Hard Drive Image &#171; Pyr0g</title>
		<link>http://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linux#comment-570</link>
		<dc:creator>Create/Mount Hard Drive Image &#171; Pyr0g</dc:creator>
		<pubDate>Mon, 07 Feb 2011 21:14:08 +0000</pubDate>
		<guid isPermaLink="false">#comment-570</guid>
		<description>[...] How to create and mount a hard drive image.  [...]</description>
		<content:encoded><![CDATA[<p>[...] How to create and mount a hard drive image.  [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

