Mounting a hard disk with a ez drive partition

Today I stumbled upon a drive with a part table like

Disk /dev/sdb: 74.5 GiB, 80026361856 bytes, 156301488 sectors Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x213f213e

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 9 16434494 16434486 7.9G 55 EZ-Drive

Thanks to google I found this manual

http://fatooh.org/misc/ez-drive.html

with the quintessence that is

dd if=/dev/sdb bs=1 skip=958 count=66 of=/dev/sdb seek=446

Afterwards you see the ‘real’ partition-table.

Hint: It seems that once the Linux-Kernel noticed dos/windows Drive-Mappers itself and did the remapping for us. This was removed somewhere in the early 2.6ties. Some HowTos say the kernel parameter sdb=remap is supposed to re-enable this, but it didn’t work for me.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s