I was mistakenly copied an iso into my external hard drive!
It's not finished though. Hurriedly pressed ctrl+c to stop it. I could still play videos in my external hard drive but I'm worried. Is it okay? Or not? What should I do? A clip of fdisk -l output:
Sorry for my bad english. asked 04 Feb '13, 02:51 vecciora |
dd reported that it wrote 86MB, so there may be file(s) on your drive that got overwritten. If it happened, you will see the problem eventually, as you watch your videos. If you're worried about using your drive, then back-up your videos, format your drive afresh, and put the videos back on it. If you want to know the technical stuff of what happened, then read the manual pages about dd, they will explain how it works and thus, exactly what it did. answered 01 Mar '13, 01:06 bogonetic |
basically, the first 80MB of the partition got clobbered. This would include the main superblock and many of the first inodes. If you haven't rebooted the system or unmounted the filesystem then your best bet is to do like mogonetic suggested and copy as much data as possible to a new drive. If the drive has been unmounted, and you need to remount it, you'll probably have to run fsck on it using a backup superblock.
the 'default' backup superblock is trashed, so run ...... so I now go: HOWEVER: if you really care about the data on the drive, the first thing you should do is make a bit copy of the errant partition. eg: to copy from sdb1 to sdc1, dd if=/dev/sdb1 of=/dev/sdc1 That way, if something goes wrong, you'll have a spare copy that you can copy back onto sdb1 to try again. answered 02 Mar '13, 17:56 darkonc |