knulli-cfw / distribution

Main KNULLI distribution
https://knulli.org
Other
419 stars 31 forks source link

Can't write into card folders and device doesn't see the roms already copied to the card #144

Open nnbveh opened 3 weeks ago

nnbveh commented 3 weeks ago

Knulli build version

40-dev-d3b520f949 2024/07/21 02:26

Your architecture

RG40XXV

Issue description

Suddenly device doesn't see ANY roms i've copied to the sd card, but still can see the ones that came with the FW. I could access and play those roms just fine before. I'm also unable to copy new roms to other folders now. It all was working just fine two days ago. I didn't change anything, played the games, then wanted to add more roms and that's it.

Detailed reproduction steps

I've copied multiple systems to the sd card from my linux machine running endeavour os(arch) and it worked fine, had to open folders as administrator to be able to write into them.

At some point, when i've tried to copy neo geo roms the system told me that access is denied so couldn't write into folders anymore even as administrator.

After reinserting the card into device and booting it can't see the files that are already on the card.

Details of any attempts to fix this yourself

I've checked the ownership of the folders using terminal and it looks like the forlders i was writing into owned by different user ID than the ones i didn't touch. I've made an attempt to fix that with chmod -R command but got the message that the system is read-only.

I've tried to remount the partition with RW rights but could not do it.

i've run fsck on the disk and got this:

sudo fsck /dev/sdb fsck from util-linux 2.40.2 e2fsck 1.47.1 (20-May-2024) ext2fs_open2: Bad magic number in super-block fsck.ext2: Superblock invalid, trying backup blocks... fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb

The superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem. If the device is valid and it really contains an ext2/ext3/ext4 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 or e2fsck -b 32768

/dev/sdb contains `DOS/MBR boot sector; partition 1 : ID=0xee, start-CHS (0x0,0,2), end-CHS (0x3ff,255,63), startsector 1, 125173759 sectors, extended partition table (last)' data

Details of any modifications you have made to Knulli.

no mods

Logs and data

No response

ostobatuk16 commented 2 weeks ago

had the same issue also on endeavour os inserting sd card to PC and SAFELY REMOVE it solved it