Trouble mounting dd image
I am trying to mount an image I made of an NTFS drive that contained three partitions, 2 of them fat32 and one NTFS. When I created the image I used the command "dd bs=16M if=/dev/hda | bzip2 | pv -b | dd bs=16M of=/path/name.img.bz2. I went ahead and decompressed it using bzip2 -d, but when I try and mount it I get an error. I am thinking the issues is caused by the fact that I have multiple partitions of different types, or the fact that I used the bs=16M option. The only partition I really want to mount is the NTFS partition. Can someone please give me some advice on why I am having this issue and how I can go about getting it resolved. Any help is greatly appreciated! I am using Mandriva Free Spring 2007.1 as my distro. Here is a copy of my shell session. Thanks again!
PS I tried omitting the Blocksize option and changing it to 16M, neither seemed to help.
[root@mbox ~]# mount /mnt/lmirror/Back\ Up/zap.img /mnt/zap/ -t ntfs -o loop=/dev/loop3,blocksize=1024
mount: wrong fs type, bad option, bad superblock on /dev/loop3,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[root@mbox ~]# so
-bash: so: command not found
[root@mbox ~]# dmesg|tail
NTFS-fs warning (device loop0): is_boot_sector_ntfs(): Invalid boot sector checksum.
NTFS-fs error (device loop0): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device loop0): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device loop0): ntfs_fill_super(): Not an NTFS volume.
NTFS-fs error (device loop3): parse_options(): Unrecognized mount option blocksize.
NTFS-fs warning (device loop3): is_boot_sector_ntfs(): Invalid boot sector checksum.
NTFS-fs error (device loop3): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device loop3): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device loop3): ntfs_fill_super(): Not an NTFS volume.
NTFS-fs error (device loop3): parse_options(): Unrecognized mount option blocksize.
[root@mbox ~]#
Last edited by mpmackenna; 11-24-2007 at 12:20 PM.
|