From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E5WOG-0007Ua-AZ for garchives@archives.gentoo.org; Wed, 17 Aug 2005 22:28:08 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7HMQK4u030905; Wed, 17 Aug 2005 22:26:20 GMT Received: from um1.unlimitedmail.net (139.Red-80-26-111.pooles.rima-tde.net [80.26.111.139]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7HMMjro025003 for ; Wed, 17 Aug 2005 22:22:45 GMT Received: from ip6-localhost (dogon.geomin.unibo.it [137.204.208.200]) (authenticated bits=0) by um1.unlimitedmail.net (8.13.4/8.13.4) with ESMTP id j7HMQN0D032500 for ; Thu, 18 Aug 2005 00:26:24 +0200 From: Etaoin Shrdlu To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT: Recovering partitions from an imaged drive Date: Thu, 18 Aug 2005 00:45:35 +0200 User-Agent: KMail/1.8.1 References: In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508180045.35273.shrdlu@unlimitedmail.org> X-UnlimitedMail-MailScanner: Found to be clean X-UnlimitedMail-MailScanner-From: shrdlu@unlimitedmail.org X-Archives-Salt: bbde3aa7-5010-4581-8f8f-933963fc3af3 X-Archives-Hash: 4b637914f84fe159180a7e7331804020 Tom Eastman wrote: > How can I take this image of ('hda') and mount the filesystem > ('hda1') that's inside it? I'm not sure, but mounting the whole hda as loopback could work (seem to remember a thread about this some time ago on the list, search the archives). In case it does not, try this. Since the real partitions usually start at the second sector (the first being the MBR that holds the bootloader and the partition table), I guess (iff the hard disk had only one partition taking all the space) you can extract only the hda1 partition by dd'ing the file onto another one but this time skipping the first sector, ie something like dd if=hda.img of=hda1.img bs=512 skip=1 or so. Hope this works. -- gentoo-user@gentoo.org mailing list