I am a bit of a newbie who is obviously getting the syntax for this command wrong because when I run the command the terminal just closes.
FIrstly I am trying to run the command using the run command option in the Pup Control panel. I have also selected run in a terminal in the hope it would give a clue regarding whether it is running or not.
The syntax I have been using is:
ntsfclone --rescue /dev/sda3 /dev/sdb1/sda3clone
where: /dev/sda3 is the partition with the bad sectors that I want to clone
/dev /sdb1 is an external usb drive
and /sda3clone is a folder on the external usb drive.
sda3 is unmounted when I run the command, sdb1 is mounted.
I have no idea what the right way to go about this is, is there a better way to run the command instead of in Pup control? You can probably tell that I have no idea what I am doing.
Can anyone help?
Syntax ntsfclone --rescue
Maybe try "testdisk" to rescue your data ... http://www.murga-linux.com/puppy/viewtopic.php?p=680336#680336
It would be helpful to advise for what purpose you are hoping ntfsclone will solve.
As per Barkin's post if you want to rescue data you can try testdisk. I am at this point assuming you are attempting to make a backup of your NTFS partition? If so the command you posted appears misconstrued.
The --rescue
command argument is not a complete command in itself, it is part of a backup or restore operation.
If you are hoping to backup with ignore read errors an ntfs partition, you can specify an output file (image file containing the backup). If saving an image file to sdb1, /dev/sdb1 should be mounted. If /dev/sdb1 is mounted on, say, /mnt/sdb1 and the folder /mnt/sdb1/sda3clone exists then the command, as far I can interpret your post correctly, would be something like:
Particularly if unfamiliar with a command line program, in my view it is better to open a full command line shell window rather than running from a menu entry. You can see the errors the program reports more easily and you can ask the program for help eg
ntfsclone --help
http://linux.die.net/man/8/ntfsclone
As per Barkin's post if you want to rescue data you can try testdisk. I am at this point assuming you are attempting to make a backup of your NTFS partition? If so the command you posted appears misconstrued.
The --rescue
command argument is not a complete command in itself, it is part of a backup or restore operation.
If you are hoping to backup with ignore read errors an ntfs partition, you can specify an output file (image file containing the backup). If saving an image file to sdb1, /dev/sdb1 should be mounted. If /dev/sdb1 is mounted on, say, /mnt/sdb1 and the folder /mnt/sdb1/sda3clone exists then the command, as far I can interpret your post correctly, would be something like:
Code: Select all
ntfsclone --save-image -o /mnt/sdb1/sda3clone/ntfs.img --rescue /dev/sda3
ntfsclone --help
http://linux.die.net/man/8/ntfsclone
-
- Posts: 2
- Joined: Sun 24 Feb 2013, 21:32
Peterm321 thanks for the syntax, it worked perfectly. ntfsclone noted 110 bad sectors with data loss. I am not sure what to do now, chdsk is out of the question since windows will not boot and the windows repair thing just tells me that it can't repair windows because of the bad sectors.
I could maybe try ntfsresize (I think there is a badsectors option), then reinstalling windows and then trying reload the data from the backup.
Not sure what testdisk does Barkin. Is it a command or a utility that I have to get from somewhere? I will take a look at your link.
Absolutely any advice would be appreciated.
I could maybe try ntfsresize (I think there is a badsectors option), then reinstalling windows and then trying reload the data from the backup.
Not sure what testdisk does Barkin. Is it a command or a utility that I have to get from somewhere? I will take a look at your link.
Absolutely any advice would be appreciated.
RoyHitchman wrote:Not sure what testdisk does Barkin. Is it a command or a utility that I have to get from somewhere?
http://en.wikipedia.org/wiki/Testdiskwikipedia.org wrote:TestDisk is a free data recovery utility. It is primarily designed to help recover lost data storage partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally erasing a partition table) ...
You have to install the testdisk program into puppy
You can get a copy of testdisk for puppy from here ... http://www.datafilehost.com/download-0b574d4b.html
Full details for Puppy users here ... http://puppylinux.org/wikka/testdisk
Any further advice frome me would be rather limited, I'm afraid, as I have little experience of fixing bad NTFS partitions, or data recovery from NTFS. I once did mess with a windows Windows system and had to restore the partition but then again I had backups of the important data so it meant it was a matter of a restore rather than data recovery.RoyHitchman PostPosted: Yesterday, at 11:06 wrote: Absolutely any advice would be appreciated.
It appears (NB never tried myself) that you can use ntfs-3g to try and mount a NTFS image created by ntfsclone, http://tuxera.com/forum/viewtopic.php?f=3&t=29108
which includes this statement:
Code: Select all
You can still mount the file by calling ntfs-3g directly :
ntfs-3g test.img /mnt/ntfs
You could also take a look at http://superuser.com/questions/372710/t ... hard-drive and see if that has any useful information.