Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

unable to mount a drive imaged using dd

0 views
Skip to first unread message

tech...@gmail.com

unread,
Oct 1, 2008, 8:37:06 AM10/1/08
to
I booted BackTrack3, and opened a terminal session to image an iDE
drive with three partitions.
The command was
dd if=/dev/dha of=/dev/hdd conv=notrunc,noerror

This seemed to run fine.
Running "fdisk –l" showed identical partition info.

I created mount points for the three partitons
mkdir /mnt/hdd1
mkdir /mnt/hdd2
mkdir /mnt/hdd3

When I try to mount any of the partitions, I get an error message:
mount /dev/hdd1 /mnt/hdd1
mount: special device /dev/hdd1 does not exist

mount -o ro -t auto /dev/hdd1 /mnt/hdd1
mount: special device /dev/hdd1 does not exist

Any help is appreciated,
Thanks

Stefan Patric

unread,
Oct 1, 2008, 6:02:05 AM10/1/08
to

You need to use the '-o loop' option with mount, among others. Here's a link
with the procedure:

http://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linux


Stef

ArameFarpado

unread,
Oct 1, 2008, 1:19:32 PM10/1/08
to
Em Quarta, 1 de Outubro de 2008 11:02, Stefan Patric escreveu:

> On Wed, 01 Oct 2008 05:37:06 -0700, techrojo wrote:
>
>> I booted BackTrack3, and opened a terminal session to image an iDE drive
>> with three partitions.
>> The command was
>> dd if=/dev/dha of=/dev/hdd conv=notrunc,noerror
>>
>> This seemed to run fine.
>> Running "fdisk –l" showed identical partition info.
>>
>> I created mount points for the three partitons mkdir /mnt/hdd1
>> mkdir /mnt/hdd2
>> mkdir /mnt/hdd3
>>
>> When I try to mount any of the partitions, I get an error message: mount
>> /dev/hdd1 /mnt/hdd1
>> mount: special device /dev/hdd1 does not exist
>>
>> mount -o ro -t auto /dev/hdd1 /mnt/hdd1 mount: special device /dev/hdd1
>> does not exist
>>
>> Any help is appreciated,
>> Thanks
>
> You need to use the '-o loop' option with mount, among others. Here's a
> link with the procedure:
>

It doesn't look like his trying to mount a iso file

Bill Marcum

unread,
Oct 1, 2008, 1:23:06 PM10/1/08
to
You may need to reboot after changing the partition table on /dev/hdd.

tech...@gmail.com

unread,
Oct 1, 2008, 1:57:05 PM10/1/08
to
On Oct 1, 1:23 pm, Bill Marcum <marcumb...@bellsouth.net> wrote:
> You may need to reboot after changing the partition table on /dev/hdd.- Hide quoted text -
>
> - Show quoted text -

Stefan - I'm trying to access a partition, not an image.

Bill - Yep, a reboot was needed.

Thanks all!

Grant

unread,
Oct 1, 2008, 4:32:27 PM10/1/08
to
On Wed, 1 Oct 2008 05:37:06 -0700 (PDT), tech...@gmail.com wrote:

>I booted BackTrack3, and opened a terminal session to image an iDE
>drive with three partitions.
>The command was
> dd if=/dev/dha of=/dev/hdd conv=notrunc,noerror
>
>This seemed to run fine.
>Running "fdisk –l" showed identical partition info.
>
>I created mount points for the three partitons
>mkdir /mnt/hdd1
>mkdir /mnt/hdd2
>mkdir /mnt/hdd3
>
>When I try to mount any of the partitions, I get an error message:
>mount /dev/hdd1 /mnt/hdd1
>mount: special device /dev/hdd1 does not exist

So you imaged the source device onto the /dev/hdd that has no physical
hard drive behind the device node?

If so, image to a file and try a loop mount?

Grant.
--
http://bugsplatter.id.au/

Baho Utot

unread,
Oct 1, 2008, 4:43:15 PM10/1/08
to
Bill Marcum wrote:

blockdev --rereadpt /dev/hdd may work without the reboot.

0 new messages