How to mount my NTFS drive?
I was able to use this earlier, but after reinstalling a bunch of games, I noticed my drive said it was read only, and I am unable to add or edit any files. It works perfectly fine when I use it in Windows, and when restarting (for the first time since I flashed the HTPC nvidia iso) it took me to the os tree, and the first option had failed for a reason i cant remember, and had to pick the second option
124 Replies
oh and now my other drives aren't being mounted. drives that aren't ntfs
it feels like i have 0 permissions or something
Linux will make drives read-only if bad blocks (data corruption) are found. These are most common on NTFS drives from time to time, requiring chkdsk for a fix.
But non-NTFS having that problem might be something else too.
Try booting a live USB (gparted live is good for that) to check the health of your disks as well as mounting the problematic ones to see which are still read-only.
haven't tried what you said, but last night I did use kde partition manager and scanned it with that
it did say it was fine, but tbh I didn't rly trust it cuz it felt like it didn't work idk
boutta try gparted live
also kinda understandable if some blocks are messed up, files going from one partition to another from the same portable HDD for many hours all day
the HDD is slow
isnt this the read only system partition used for updates that shouldnt be touched? i know that one is named "basic data partition" in windows
basic data partition is my windows drive, and another temp ntfs drive I made for transferring some files
two different basic data partitions
is this a laptop?
no its a desktop running htpc bazzite
nvm htpc, i know windows enables "fast startup" on laptops in power options which will hybernate the pc when you shut it down which will make the ntfs partition read only.
hence the question
top is my windows c drive and bottom is the ntfs drive i was using to transfer certain files
but out of ALL of them, i can only access bazzite and steam, and i cant even DO anything in the steam folder, only read files
i can check my windows to see if it has that
isnt it bios or is it windows settings
i t hink windows ima restart
did you follow the mounting guide from the documentation
no cuz i didnt need it at first
everything was working
well i know there are things from windows that will mark an ntfs drive as dirty which makes it read only in linux
another thing to note is that at first when I noticed this problem and restarted my PC last night, my Linux boot drive wasn't showing up in the BIOS even tho it showed up in windows just fine
pretend it says windows instead of it being Linux, and that's what it said BEFORE I figured out how to see it
and then here I was able to pick between the two of them, but not add them both to the boot order, like I had it before
pressing f11 when booting does show all my boot devices at once, and the ostree when launching bazzite shows windows too
thats more funkyness with the bios/uefi and efivars (think thats the right term)
and I can't boot into windows cuz now it blue screens and says unaccessible boot device
uh
i would suggest you run a smart check on your windows drive then, see if that says anything
and run filesystem checks for windows on the drive if you can since that would indicate that something is severely wrong with your windows install
or the disk just is not even connected but the EFI bootloader is present
Ironically if you simply disconnect the NTFS drive in Windows without using the safe disconnect option it will mark it as dirty and be read only on Linux
yeah it will
but i have no idea what has caused this and when even the windows bootloader is complaining, something is severely wrong
okay so the windows boot specifically
is cuz of me being dumb and I accidentally deleted something that windows needed ig 🙄
so I have to reinstall windows overy current install to be able to get into windows and see what's wrong with my drives 💀
I remember stepping out of my room, and coming back to games still being installed, but one monitor was black and wouldn't come back until I unplugged and replugged from the mobo, and my Ethernet cable also wasn't working when I came back until replug so I assume my cat wanted to leave out my CLOSED window, hopped BEHIND my monitors and bumped the cables on my pc even tho the floor is easier to traverse
what should I use to flash my USB? and is it built in or do I need to install it
oh also something I just noticed is that my PC never booted into game mode during my several restarts
which image are you using?
htpc, Nvidia, kde
well there is your problem
nvidia
?
gamemode is not supported on nvidia because nvidia
oh
nvidia promised to fix that almost 2 years ago
then what's the point in having both options?
for when it is?
because the nvidia image gives you the desktop image
that makes sense as to why the image was the exact same name
i dont own a functional crystal ball 😄
:/
however
I was saying that it's the game mode iso, but it wouldn't be active until Nvidia fixes it and it'd magically work one day
if it is a 20 series or newer, nvk is probably going to support gamemode before nvidia proprietary drivers
but you said both are desktop
okay I got 30 series
what's nvk tho
nvk also doesnt support gamemode yet
open source drivers?
if gamemode crashes, it attempts to boot to desktop
yes nvk is the opensource nvidia vulkan drivers
my chimeraos (amd GPU) usually doesn't even work in game mode so that's why I'm using bazzite rn
thought so. I remember using em when I tried popos a couple years ago
that was like right before we got all this proton Linux gaming
nvk became available this year i believe
ah okay
youre thinking of nouveau
possibly
hey on the bright side, at least not all hope is lost
^
my htpc got a polaris amd card and is stuck on fedora 39
also you can use fedora media writer or popsickle for burning the iso
or balena etcher
or ventoy
as soon as I get my 16mb windows partition fixed I'll be able to access my drives
i believe etcher and ventoy are probably the best ones by my preference
I would have used ventoy but iirc I heard bazzite doesn't like it?
i cant help you in fixing that partition though, never had to repair it and i have been using linux as my main driver for the past 16 years ^^'
I can't play league of legends on Linux😔
I would've switched full time if proton came out sooner. couldn't game much when I tried pop os
ill ping you later
my win11 iso is still downloading
windows will delete the linux bootloader if it detects the linux efi boot partition first
different ssd
so it shou;dnt right
does not matter, windows is dumb and will overwrite it if it sees it before its own this is why you get dumb issues like
"i removed my 2nd drive and windows no longer boots"
Yeah on that one we need to use at least a Windows recovery image or boot into a functional Windows and use CMD’s chkdsk
its why i always recommend disconnecting any other drive with efi partitions when installing windows
id have to unscrew my ssd
which luckily i did that last night tryna figure out why it wasnt working, so my case is still open
Linux has some NTFS fix tools but they are just halfway there. It’s generally a bad idea to share a read-write NTFS partition with both Windows and Linux
i was told before that its generally fine esp now that there are ntfs drivers being built into distros
which i was told after i formatted a drive into ext4 so that i couild use one drive for both
but i have problems when using both ext4 or ntfs, on the other operating systems respectively
filecheck tools for ntfs are not good, use the windows ones
ntfs is not good for games on linux
but thats my steam drive 😔
i can see if steam will be okay with going thru wsl on windows
but i have to manually mount every time i want to use an ext4 drive on windows every boot
Ah that’s a big problem. Been there done that. Things stopped working randomly and after making everything ext4 I had no issues whatsoever with Steam or games anymore
btrfs works in windows, sucks to setup correctly for dual boot, but it is the only driver that works for both systems
im looking at the github rn
I would honestly have two entirely separate disks, one for Windows games and another ext4 for Linux games, as sharing the same disk with ext4 and NTFS can have automount issues already
you just have to correctly map your windows user to uid 1000 and gid 1000 for the btrfs driver and only use the driver to access the games disk and homedir.
do not access the system root with it (ideally ignore mounting that partition)
top bdp is my windows C drive, bazzite is this, Steam is my ntfs drive specifically for steam games and the occasional offloading files, roms is my retro games i have backed up (soon to be a nas but rn on portable hdd in ext4), second bdp being the same portable hdd, but an ntfs partition i made, dont remember why i picked ntfs i think its because it was the fastest by a lot to format into
downloaded ventoy to put the windows iso on
flashed ventoy just fine
cant mount the usb to put the win iso onto
livecd? the heck?
it thinks the usb is a cd/dvd drive
is that not the one to put on my usb 💀
my b i got the linux one 💀
lmao
Ventoy
Ventoy is an open source tool to create bootable USB drive for ISO files. With ventoy, you don't need to format the disk again and again, you just need to copy the iso file to the USB drive and boot it.
its flashing ventoy
its been a couple years since i used ventoy
the exact same error on the usb still
i have no idea why it thinks your usbs are a cd/dvd
i have no idea what you have managed to do to your system
i dragged .pkg files from my ntfs drive into rpcs3 :moyaiguy:
i used ventoy cuz popsicle said it didnt support windows iso, but its letting me flash it so im trying that directly
maybe I should've listened? tried booting from USB and i was able to add it to the boot order, but couldn't force override the boot into it directly. then when booting it said to insert a CD to boot from 🙄and automatically went into bazzite since it failed
I'ma use my laptop to make a win usb
thinking its failing cuz of the problems with mounting, it couldn't actually write what it thought it could
yeah idk how you managed this but it seems to think everything is done through dvd drives
ðŸ˜
that’s the user name
im dumb 🤣
I had the same thought for 10 mins or so lol
windows USB finally finished after forever
put it in boot order 1
okay I got it to windows setup
it's attempting repairs so idk
ffs I thought installing without deleting my files would just fix it instead of making me completely start over with setup, but with my files saved in a separate folder
after all this time copying all my files into windows I'm finally doing chkdsk on my drives to clean em
it's gonna take forever
@HikariKnight@hiveset up windows, copied all my old files back into windows, checked drives for dirty (they werent but that took 5 hours to find out), updated everything, installed windows subsystem for linux, mounted drive and went back to bazzite and things work now
my games are all here
I didn't like that my drive was mounted in the location it was so I unmounted, changed mount path, mounted, and now I can't edit anything in the steam drive anymore
again
what have I done
I try to login, and then it spits out one of those boxes and sends me back to bazzite black loading screen
then spits more boxes
I suspect you broke something in your /etc/fstab file
When you boot, see if you can boot into your previous image from grub. Essentially:
* Get to BIOS boot options
* Select Fedora or Bazzite
* Immediately press ESC once, this should load the grub menu
* When you in grub select the second option that has (Ostree:1) see if that boots
in the ostree booting into the second option let's me go in but still can't write to my drive
yea
that's what I just did
so what do I do now?
let's first look at your fstab config
cat /etc/fstab
lets check your permissions in that media folder
ll /run/media/
total 32
drwxrwxrwx. 1 root root 32768 Jun 4 21:20 tray
with tray being highlightedok it's owned by root so your user cannot access it try this
sudo chown $USER:$USER /run/media/tray
Then see if you can write to the drivesomehow accidentally closed the termincal when tryna copy what it said
but it said it changed permission for the read only file system
still cant do anything
try
ntfsfix /dev/nvme0n1p2
what does that do?Mounting volume... Error opening read-only '/dev/nvme0n1p2': Permission denied
FAILED
Attempting to correct errors... Error opening read-only '/dev/nvme0n1p2': Permission denied
FAILED
Failed to startup volume: Permission denied
Error opening '/dev/nvme0n1p2': Read-only file system
Volume is corrupt. You should run chkdsk.
even tho it was JUST working
Try this one
sudo ntfsfix /dev/nvme0n1p2
but even my ext4 drive isnt letting me do anything
Mounting volume... The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/nvme0n1p2 was processed successfully.
Now try see if it's usable
its not
okay
so
i unmounted it and did what you told me and now i can do something
Cool we getting somewhere
now i am going to unmount it, and move it from
/run/media/tray
to /run/media/steam
i do not have permission to create a folderin /run/media or in the mounted drive?
i tried /run/media/steam and /run/media/tray/steam
couldnt
This will make the folder and give your user access to it
Then you'd need to update your /etc/fstab file
how so
i think not editing that is what was causing my issues then cuz i didnt know i had to do that
i changed it, but did not mount yet
have a look at nicks guide here https://universal-blue.discourse.group/docs?topic=970 the "nofail" parameter is very important, if you don't put that there and you disconnect the drive you might end up with an unbootable machine
i malways thought it was the opposite and was always confused
documentation is good
I got to get to work. Good luck.
thank u for everything so far
i think u got me passed the big hurdle i can prolly just ask ai the rest
after reading
🙂
ending up just formatting it into brtfs after i transfer these few files cuz its basically just my steam games plus some files i dont need anymore