You are not logged in.

#1 2023-07-24 05:56:11

Mona5
Member
Registered: 2023-07-24
Posts: 42

[SOLVED]Problem With writting data on vfat Partition

Hello

i installed arch on my pc about a month or two for my first time and thanks to God that i didn't have problem with it and didn't break on me

i Dual boot my SSD to have both Win10 and Arch linux my desktop environment is Gnome version of 44 i think my kernel is lts and i use Grub
there is a partition in my SSD that i use it as a partition used between my Win and Arch i wanted to use it to transfer data between this two OS

i made it into fat32 (vfat) (maybe i should have make it into NTFS) format but there is a problem whenever i write data with arch on it when i unmount it  and change to win my data don't exist as if i didn't copy data on it in first place my windows don't have a problem with it can easily write on it and i have access to it in arch

whenever i copy i can access it with arch before restarting but after it i can't find it any where maybe it's was the cache however i used sync but i read it's not a good way for a user , user most only unmount it and stuff like

i tried using Sync command before unmount the partition but that didn't work i mount it with Gnome file manager i used other ways to but i don't think problem is with mounting it or unmount (i used fstab to auto mount it but it's gave permission to root and i can't change it with (chmod or chown it tell my root don't have permission to change it) to let me write to it too)

i don't know were is the problem of course it's totally my wrongdoing but i don't know where is the problem

and is there a way to make it auto mount with fstab and i also have (wr permission) and change and add data on my partition and whenever want to turn the pc off data have been written Realtime like my root and user directory that i don't need the use of sync manually

if i haven't told you guys before that partition is in same SSD that i have my dual boot file systems and i have all vfat and ntfs filesystem installed manually with pacman

actually sometimes it's work and my data still exist but it's like 5% of times i use it

before i use arch i used ubuntu and mint but all of it was a one big partition that i used entire of disk that is why i don't know what to do now

Last edited by Mona5 (2023-07-24 06:40:44)

Offline

#2 2023-07-24 06:00:30

frostschutz
Member
Registered: 2013-11-15
Posts: 1,647

Re: [SOLVED]Problem With writting data on vfat Partition

make sure that suspend to disk / hibernation / fastboot / etc. is disabled on both sides

otherwise you are not really rebooting properly, and the OS you are waking up from hibernation still has old data cached, and so filesystems go corrupt and files go missing

Offline

#3 2023-07-24 06:35:05

Mona5
Member
Registered: 2023-07-24
Posts: 42

Re: [SOLVED]Problem With writting data on vfat Partition

frostschutz wrote:

make sure that suspend to disk / hibernation / fastboot / etc. is disabled on both sides

otherwise you are not really rebooting properly, and the OS you are waking up from hibernation still has old data cached, and so filesystems go corrupt and files go missing

you are right i think my windows in fastboot i have to restart

i restart and saw that my fastboot is enable in my windows and i set the fastboot off and then restart

i copy a 500 MB file to it in arch and just unmount my partition and i was able to access it in windows

Thank you for your help i hope i didn't wast your time thank you

Offline

Board footer

Powered by FluxBB