I am trying to copy files to my external hard drive using PartedMagic. My computer won't boot, so we are sending it in to get repaired. I've tried EVERYTHING but can't get it to boot into any desktop or recovery environment. What I am able to do is boot to a PartedMagic command line (Using Ultimate Bot CD). That is why I am just copying files instead. Both drives are NTFS. I'm using PartedMagic, which has NTFS support built in.
My issue is that the cp
command is skipping random files. This is what the command looks like:
root@PartedMagic:/mnt/local/Users# cp -R ianco/* /mnt/usb/ianco-bak/
The error I'm getting is:
cp: cannot open <filename> for reading: No such file or directory
After getting this issue, I executed this command again, but with the -n
(do not overwrite) parameter, and noticed that it skipped the exact same files. I created a log of the skipped files here.
Why is it skipping these specific files, and more importantly, how do I make it copy everything?
EDIT 1: I ran ll
and cat
on one of the affected files, and this is what I get
root@PartedMagic:/mnt/local/Users# ll ianco/AppData/Local/Android/sdk/docs/images/android-5.0/notifications/expandedtext_combo.png
-rwxrwxrwx 2 root root 0 Apr 25 2016 ianco/AppData/Local/Android/sdk/docs/images/android-5.0/notifications/expandedtext_combo.png
root@PartedMagic:/mnt/local/Users# cat ianco/AppData/Local/Android/sdk/docs/images/android-5.0/notifications/expandedtext_combo.png
cat: ianco/AppData/Local/Android/sdk/docs/images/android-5.0/notifications/expandedtext_combo.png: No such file or directory
cat
on them? What doesll
for any of them show? Maybe they are dead symlinks?chkdsk
on it? (I believe Linux cannot repair NTFS). Thell
output you provided reports size0
, I think it also may indicate damaged file or filesystem. Check sizes of other problematic files.