Can't write to micro SD card
Hello,
I have a micro SD card which I was using in a Raspberry PI 3. I can read from and write to it, but after remounting the filesystems, the new files disappear. The card has two partitions, one with a FAT32 filesystem and other one with an ext4 filesystem. Code:
Disk /dev/sda: 14,9 GiB, 16021192704 bytes, 31291392 sectors Code:
# hdparm -r /dev/sda Code:
/dev/sda1 on /mnt/slot1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro) Code:
# dosfsck -w -r -l -a -v -t /dev/sda1 What's happening? Maybe the card is broken? Kind regards, |
On your mSDHC card, the first partition is vfat & contains the boot files, your second partition is ext4, & should be mounted as / (the root file system). Any files that you save to that disk should be found in /home/pi, the standard user.
|
Hi,
I'm mounting the sd card filesystems in another computer, so I can write anywhere, not only in the pi's home directory. I'm sorry. I've realized I made a mistake when I posted this tread. I wanted to post it in the Linux General forum, but I did in Non-*NIX > General. I've made a new post in the right forum, so please forget about this one. Kind regads, Quote:
|
Quote:
I'm reporting this thread to be closed as a dupe. |
Hello,
I was searching for a close thread buttom or something similar. I didn't know that the correct button was the report one. Thank you for the info. Kind regards, Quote:
|
There is no "close thread" option - only mods and Jeremy can do that (and the same for moving threads). The Report button is also there for asking for a thread to be moved, as much as reporting posts that break LQ rules.
|
All times are GMT -5. The time now is 06:36 AM. |