Hello... I'm new here. I installed Linux Mint last weekend, and so far so good.
I'm working from an existing system, where I was using Windows 10 on a SSD drive, and had a HHD drive as extra space, that used to run Windows 8.1. I installed Linux Mint-Cinnamon on the HHD drive (as a partition), along with a Swap partition. I no longer need the Windows 8.1 partition, and I want to transfer all the files I need off there, to the Linux partition. I can copy files over just fine, but I can't delete them from the old partition.
Some Google searching took me to use sudo chmod -R -v $USER:$USER and my partition name, which I believe is either /mnt/C0C80D62C80C93C or /dev/sdb2. I tried both, but it says cannot access: Not a directory Neither method is working.
I also read somewhere else to go based on the path to the mount, which should be /media/danny/{drive name}. But the only folder there is my CD-ROM drive.
Does anyone know what to do so that I can modify the files in my old partitions?
#Can't delete files from Windows partitions
82 messages · Page 1 of 1 (latest)
please dont
@unkempt finch
did you copy all the files you needed over to a safe place?
and made SURE many of those files are openable and legible?
from that new place on Linux
@unkempt finch
What do you mean? I thought this was only changing the file permissions
I honestly don't have any remote 'safe place' to put any files right now. I was going to transfer portions of the files at a time, and adjust the partitions as I go. I don't know if Linux will do that successfully though
...wait. the command I was using is chown. Not sure why I typed chmod
NTFS volumes dont support permissions or ownership commands
the reason you can't delete files is cuz the ntfs volume has a dirty-bit set
chkdsk /f it from Windows powershell or cmd to scan and fix
Hmm, can this be done from Linux? I'm growing increasingly untrusting of Microsoft these days
Sorry for the response lag, busy with many other things here
well do it from windows now
you'll later reformat that partition to something linux-native
eg: btrfs or ext4
https://youtu.be/IsEKxJrmmy0?t=813 (13:33) chkdsk
Can reformatting be done while keeping the data? (I'm under the impression that you can't)
Ok, guess I'll switch to Windows and see what I can do
I'm back; hmm...
say yes or press y, enter
that is your c: drive u ran it on
ensure you put the drive letter of the volume in question
eg:
chkdsk /f```
or chkdsk d: /f
Ok. I set that and I'll go ahead and restart
did u make damn sure to check the right one?
Well I intend to work on data from both of the drives, actually. So doing the Windows 10 partition is fine, I'll do the other drive later
What do I do next, though?
are you still in Windows ?
Not currently
chkdsk the ntfs volume that was giving you trouble deleting files
The chkdsk restarted, so I booted to linux :p
from Windows.
I can't delete files from either partition (and I want to)
once done, then should be fine to delete files
make sure Windows Fast Startup is deactivated in Windows 10. that also locks drives
I dont believe Windows 8x has that feature.
Ok. I'll see what I can do
Ok, it's working! 🙂
I'll have to wait till tomorrow to run chkdsk on my Win8 partition
...but I think it should work. Thanks for the help
now that you disabled fast startup?
yeah
aight
you can't boot Windows 10 real quick, and scan the Win 8 partition via cmd?
just put the proper drive letter into the command as I showed in quoted example
No, I have to be up for work at 5am, and its already after 11pm. Goodnight
cya
Okay, I ran chkdsk /f on my secondary drive (that has Windows 8.1), and in Linux it still doesn't allow me to delete the files there
chkdsk is asking if I want to dismount the drive before trying to run it (in active Windows). If I don't, it can run after rebooting Windows; that's what I did today, but didn't work. Should I try to dismount the drive?
so unmount it
has to happen or else no scanny/fixy
ok
ok, looks like it finished. I guess my next step is to try in Linux again?
I'll go ahead and do that
Aww, it's still not letting me delete anything (on the Win8 partition)... but still lets me delete things on the Win10 partition
open DISKS app in Linux
ok
go to that specific partition giving trouble.
ensure it's not mounted. Click the stop button if it is.
then click the gear icon menu, and do "repair filesystem"
this is a weaker fix than chkdsk, but it may still help
Hmm, seems risky. I don't have space for a backup (right now)
Do you think it's safe to do anyway?
I'm gonna copy some files over, to at least save the things that are most important
plus even Mint release notes a version ago said to
...okay. I think I got all the important stuff. Games and other apps can be recovered. But projects... I gotta keep those safe, lol
The repair tool gave me this error right away
The disk tool let me resume (remount) the drive without issues though
so windows 8 must have friggin fast startup on
fix.
...can I fix that without logging into Windows? I don't even know if it'll work... but I'll give it a shot
must be done from win 8
ok
method 2 here.
Okay! I can now delete files in Linux 🙂 Thanks for the help, man