#Can't delete files from Windows partitions

82 messages · Page 1 of 1 (latest)

unkempt finch
#

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?

boreal heath
#

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

unkempt finch
#

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

boreal heath
#

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

unkempt finch
#

Sorry for the response lag, busy with many other things here

boreal heath
#

well do it from windows now

#

you'll later reformat that partition to something linux-native

#

eg: btrfs or ext4

unkempt finch
#

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...

boreal heath
#

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

unkempt finch
#

Ok. I set that and I'll go ahead and restart

boreal heath
#

did u make damn sure to check the right one?

unkempt finch
#

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?

boreal heath
#

are you still in Windows ?

unkempt finch
#

Not currently

boreal heath
#

chkdsk the ntfs volume that was giving you trouble deleting files

unkempt finch
#

The chkdsk restarted, so I booted to linux :p

boreal heath
#

from Windows.

unkempt finch
#

I can't delete files from either partition (and I want to)

boreal heath
#

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.

unkempt finch
#

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

boreal heath
#

now that you disabled fast startup?

unkempt finch
#

yeah

boreal heath
#

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

unkempt finch
boreal heath
#

cya

unkempt finch
#

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?

boreal heath
#

has to happen or else no scanny/fixy

unkempt finch
#

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

unkempt finch
#

ok

boreal heath
#

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

unkempt finch
#

Hmm, seems risky. I don't have space for a backup (right now)

#

Do you think it's safe to do anyway?

boreal heath
#

yes it should be fine

#

i've had ppl do it so many times

unkempt finch
#

I'm gonna copy some files over, to at least save the things that are most important

boreal heath
#

plus even Mint release notes a version ago said to

unkempt finch
#

...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

boreal heath
#

fix.

unkempt finch
#

...can I fix that without logging into Windows? I don't even know if it'll work... but I'll give it a shot

boreal heath
#

must be done from win 8

unkempt finch
#

ok

unkempt finch
#

Okay! I can now delete files in Linux 🙂 Thanks for the help, man