On Tue, 14 Jun 2005, mcandy wrote:
> I have a disk that I need to read. I do not have any control over how
> the disk was written. It has a single partition, with an ntfs
> filesystem.
>
> The rescue disk from www.sysreccd.org has the 1.2 NTFS driver, and it
> can read the disk. The suse 9.1/9.2 live cd's have 2.6 kernels with
> 2.1.16 & 2.1.17 NTFS drivers, and they complain when I try to mount it
>
> read_ntfs_boot_sector(): Primary boot sector is invalid.
> read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting
> without trying to recover.
> ntfs_fill_super(): Not an NTFS volume.
>
> My guess is there is something marginally wrong with the superblock,
> which the older driver ignored, but the newer one is more strict.
>
> I would like to be able to use something newer than that rescue disk to
> read this, since it has its own problems... any ideas?
Yes, as the error essage suggests, try the "errors=recover" mount option.
So when mounting do:
mkdir /mnt/ntfs
mount -t ntfs -o ro,errors=recover /dev/blah /mnt/ntfs
Obviously replace /dev/blah with the partition device your are mounting.
That will look for the backup boot sector and try to mount with it
instead of the primary boot sector.
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
|