Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on sh.itjust.works
raspberry_pi·Raspberry Pibyarudesalad

[SOLVED] External SSD being wiped after reboot

I have an external SSD which was automatically mounted to /media/user/longstring. The first thing I did reformat it to ext4. After a reboot, longstring hasn't changed but everything I put on the SSD is gone and I can't cd into it or ls without sudo.

View original on sh.itjust.works
9

6 replies

lemmy.world

1: Did you throw data into it before or after the format?

2: Permissions issue. You need to add permissions for yourself to access that mount point, whether it's setting those perms in /etc/fstab, chown/chmod the dir and below, or facl

3

1: after 2: I had already done that, the permissions got reset after reboot

I ended up solving the problem by remounting it from /media/ to /mnt/

I still have no idea what caused the problem originally though.

2

it should show up with all other mounted file systems when you just ener "mount" into a terminal. can you copypaste or screenshot that for us. maybe it helps seeing the options

2
arudesaladreply
sh.itjust.works

I ended up solving the problem by remounting it from /media/ to /mnt/

I still have no idea what caused the problem originally though.

3

You reached the end