Made a careless error. Had a windows partition sda2 on a dual boot system. From linux (sdb) I did a mount /dev/sda2 /mnt and then cp myfile /dev/sda2 rather than cp myfile /mnt. The partition appears unreadable. Does anyone know what happened and if my ntfs data is recoverable?
I’m just not sure how to recover or gain access to the file system. Can you recommend any utilities? Running openSuSE 12.3. I believe the transferred data was about 100kB. Thank you for your feedback. See below:
linux-e9ss:/home/mark # sfdisk /dev/sda
Checking that no-one is using this disk right now …
OK
Disk /dev/sda: 30394 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sda1 0+ 7 8- 64228+ de Dell Utility
/dev/sda2 * 8 30392 30385 244067512+ 7 HPFS/NTFS/exFAT
/dev/sda3 0 - 0 0 0 Empty
/dev/sda4 0 - 0 0 0 Empty
linux-e9ss:/home/mark/ # mount /dev/sda2 /mnt
mount: unknown filesystem type ‘(null)’
linux-e9ss:/home/mark # mount -t ntfs /dev/sda2 /mnt
NTFS signature is missing.
Failed to mount ‘/dev/sda2’: Invalid argument
The device ‘/dev/sda2’ doesn’t seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?