public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Etaoin Shrdlu <shrdlu@unlimitedmail.org>
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	[thread overview]
Message-ID: <200508180045.35273.shrdlu@unlimitedmail.org> (raw)
In-Reply-To: <de0cnu$hi8$1@sea.gmane.org>

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



  reply	other threads:[~2005-08-17 22:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-17 22:12 [gentoo-user] OT: Recovering partitions from an imaged drive Tom Eastman
2005-08-17 22:45 ` Etaoin Shrdlu [this message]
2005-08-18  4:19   ` [gentoo-user] " Tom Eastman
2005-08-18  9:33     ` Michael Kintzios

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200508180045.35273.shrdlu@unlimitedmail.org \
    --to=shrdlu@unlimitedmail.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox