3

How can I split a drive image created with 'dd' into separate files for each partition?

view full story
linux-howto

http://serverfault.com – I created an image of a failing drive with: dd if=/dev/sde of=/mnt/image001.dd The drive had only two partitions: Device Boot Start End Blocks Id System /dev/sde1 * 1 13 102400 7 HPFS/NTFS /dev/sde2 13 60802 488282112 7 HPFS/NTFS How can I split the image (image001.dd) into two or three files (1: MBR; 2: Partition 1; 3: Partition 2) so that I can mount the filesystems in it? A solution I've found that wouldn't work for me is to use split to create many 512K files, then cat them back together into three files (HowTos)