PaulDotCom mailing list archives

mounting a dd'ed device


From: mailinglistmatt at gmail.com (Matt Erasmus)
Date: Thu, 12 Nov 2009 17:09:35 +0000

Howdy

You can run the following:

     mount -o ro,loop,offset=XXXX -t auto image-sda /media/image

The command is from this blog post [1] which I found very
useful...hope it helps.

[1] http://isc.sans.org/diary.html?storyid=6991

2009/11/12 Robin Wood <dninja at gmail.com>:
If in linux I use dd to create a file from a whole device, say
?dd if=/dev/sdb of=sd_card.dump

then I want to mount a partition that is on that dump, how can I do it?

I know that if I dd'ed a single partition I could mount it as loopback
but having the whole disk as a file I don't know how to reference a
single partition in that file.

-- 
Matt


Current thread: