From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JFvRa-0000XF-8N for garchives@archives.gentoo.org; Fri, 18 Jan 2008 17:55:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA736E0975; Fri, 18 Jan 2008 17:55:26 +0000 (UTC) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by pigeon.gentoo.org (Postfix) with ESMTP id 41842E0972 for ; Fri, 18 Jan 2008 17:55:26 +0000 (UTC) Received: from OMTA04.westchester.pa.mail.comcast.net ([76.96.62.35]) by QMTA05.westchester.pa.mail.comcast.net with comcast id ehDz1Y00F0ldTLk0503F00; Fri, 18 Jan 2008 17:55:25 +0000 Received: from spinner ([76.116.4.141]) by OMTA04.westchester.pa.mail.comcast.net with comcast id ehvR1Y00N32Z8is3Q00000; Fri, 18 Jan 2008 17:55:25 +0000 X-Authority-Analysis: v=1.0 c=1 a=0Tia7yGjtC8A:10 a=Sfy1QChaIfrNbIQ-zy0A:9 a=8_dIsScebdz2BI58TmSr4m8kEfcA:4 a=RJGzaPcH6QgA:10 a=ufO146cb3fEA:10 From: Jerry McBride Organization: TEAM-LINUX To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] "loopback mount" hard-drive image created with dd? Date: Fri, 18 Jan 2008 12:55:21 -0500 User-Agent: KMail/1.9.7 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200801181255.21673.mcbrides9@comcast.net> X-Archives-Salt: c6d21e42-745d-4ede-9e83-0621bab52670 X-Archives-Hash: dbbcec0271b93618992861d770c46c6f Stroller wrote: > Hi there, >=20 > Before installing on a new laptop which came with Vista pre-installed > I took an image of the hard-drive using dd. (ie: `dd if=3D/dev/sda of=3D/ > mnt/sdb1/disk.img`, where /mnt/sdb1 was a portable USB hard-drive). >=20 > Obviously the intention was that if I b0rked things up I could just > `dd` the image back onto the laptop and all would work as the > manufacturer shipped it, but I'd now find it useful to be able to > take a look inside the image and examine a few files. Is there any > way to do this, please? >=20 > I'm fairly confident that there were originally a couple of > partitions on the drive, and the one I want to look at will be NTFS, > of course. I know that a CD iso I can mount using `mount file.iso / > mnt/cdrom -t iso9660 -o loop`, but is there an equivalent for whole > partition tables? >=20 > Thanks in advance for any suggestions or advices, >=20 > Stroller. >=20 Try this... modprobe loop modprobe ntfs mkdir /mnt/iso mount -t ntfs /path/to/your/iso /mnt/iso -o loop,ro Assuming the iso is ntfs and you have loop and ntfs as modules... Cheers. Jerry McBride (jmcbride@mail-on.us) =2D-=20 =46rom the Desk of: Jerome D. McBride -- gentoo-user@lists.gentoo.org mailing list