#drives from win 10

80 messages · Page 1 of 1 (latest)

pale root
#

how to delete stuff from my drives that I was using in windows in mint

#

Cause it's just greyed out

elfin lake
#

So probably a NTFS drive, you need to re-Mount it with write permissions.

elfin lake
#

Ok. First run
lsblk -f
This will show the drivers and let's see if there is a drive with NTFS

elfin lake
#

Ok. Just had to check. You have two NTFS dices with stuff on them. Sda1 that is mounted as New Volume1 and sdb2 that is mounted as New Volume.

#

To make them both writable in one swoop you can run this in your terminal

#

sudo umount /media/susgus/New\ Volume* && sudo mkdir -p /mnt/sda1 /mnt/sdb2 && sudo mount -t ntfs3 -o uid=1000,gid=1000,rw /dev/sda1 /mnt/sda1 && sudo mount -t ntfs3 -o uid=1000,gid=1000,rw /dev/sdb2 /mnt/sdb2

elfin lake
#

Yes that unmounted both and remounts them

pale root
elfin lake
#

Aha older one, no problem Just swap ntfs3 → ntfs-3g:
so run this:

sudo umount /media/susgus/New\ Volume* && sudo mkdir -p /mnt/sda1 /mnt/sdb2 && sudo mount -t ntfs-3g -o uid=1000,gid=1000,rw /dev/sda1 /mnt/sda1 && sudo mount -t ntfs-3g -o uid=1000,gid=1000,rw /dev/sdb2 /mnt/sdb2

pale root
#

a

elfin lake
#

Aha set in Fast Startup

#

So windows has not properly let go of the drive.
You are going to have to go into windows to have it let go of the drive.

In Windows:
Control Panel → Power Options
Choose what power buttons do
Disable Fast Startup
Fully shut down (not restart)

Then you can boot back into Linux and we'll see if we can mount them correctly

pale root
#

I dont have windows anymore
this isnt a dual boot

#

I completly overwrriten my nvme

#

unless im tripping

elfin lake
#

Ok no problem.
Run these commands

sudo ntfsfix /dev/sda1

sudo ntfsfix /dev/sdb2

This clears the dirty flag so Linux will allow write access.

elfin lake
#

Yes

#

Then this whole thing

sudo mount -t ntfs-3g -o uid=1000,gid=1000,rw /dev/sda1 /mnt/sda1 && sudo mount -t ntfs-3g -o uid=1000,gid=1000,rw /dev/sdb2 /mnt/sdb2

and you should be good

pale root
elfin lake
#

Aha that lock.

pale root
#

why is this so hard
I love how no guides mention this could be an issue

elfin lake
#

Bill gates cold dead hand is still gripping your drive. But if ntfsfix ran without error you are very close to done

pale root
#

please LET ME OUT BILL GATES
LET ME OUTTT

elfin lake
#

Ok let's just make sure the fix worked.
Run this

mount | grep sda1

pale root
elfin lake
#

Ok still mounted as read only, run this

sudo umount -l /mnt/sda1 /mnt/sdb2
sudo mount -t ntfs-3g -o uid=1000,gid=1000,rw /dev/sda1 /mnt/sda1
sudo mount -t ntfs-3g -o uid=1000,gid=1000,rw /dev/sdb2 /mnt/sdb2

And then this again

mount | grep sda1

pale root
#

the mout is still denied

elfin lake
#

Ok let's take it slow. Let's try to only unmount

sudo umount -l /mnt/sda1 /mnt/sdb2

pale root
elfin lake
#

Ok cool. Good.

Let's just check that the fix took, and then mount the first drive.

sudo ntfsfix /dev/sda1
sudo mount -t ntfs-3g -o uid=1000,gid=1000,rw /dev/sda1 /mnt/sda1

pale root
#

oh hey
one of my volumes are back
and I can delet stuff

elfin lake
#

Good times.
Then we try the other one.

sudo ntfsfix /dev/sdb2

#

That might be enough if it causes the lock to be relinquished

pale root
elfin lake
#

Well that's fine. It's read-write so that's the one that works.

#

Something is funky with sda1.
Run:

fuser -vm /dev/sda1

#

And we will see what's holding on

pale root
elfin lake
#

First this

sudo umount -lf /mnt/sda1 say?

#

Then

sudo mount -t ntfs-3g -o uid=1000,gid=1000,rw /dev/sda1 /mnt/sda1

and that drive should be done as well

pale root
#

other volume still missing

#

and this msg again

elfin lake
#

Son of a.... What did

sudo umount -lf /mnt/sda1

say?

pale root
#

not mounted

elfin lake
#

Ok.
Run

mount | grep sdb1

Just to sanity check that this one is the correctly mounted one

pale root
#

when I run it

elfin lake
#

Ofc because I'm stupid.

I meant

mount | grep sdb2

pale root
elfin lake
#

Yes that's the one that is good and works.
Cool
Only sda1 that won't play ball.

pale root
elfin lake
#

Ok.
You run this:

sudo umount -lf /mnt/sda1

and it says not mounted?

elfin lake
#

Ok something is very fishy.

Run this:

findmnt /dev/sda1

pale root
#

wait

#

I just checkedf file
AND its here and I can delete

#

stuff and adjust stuff

#

Im so confused

elfin lake
#

Ah fantastic. Shit works and I have no idea why.
My job here is done.

pale root
#

when I distro hop
I wouldnt need to go through this again right?

elfin lake
#

Not the fix part. But NTFS drives are a bit problematic sometimes on Linux.
If you don't plan on going back to windows you will have an easier time if you reformat them to ext4 or something

#

But mounting and stuff can be done through the UI now so it won't be a huge problem if you keep them

pale root
#

For the HDR support mostly