09-23-2020, 07:25 PM
(09-23-2020, 04:25 PM)kendew Wrote: In trying to troubleshoot an unusable PPB I've just received, I bought a 64G MicroSD card to boot the Fedora 32 Xfce image. I'm partial to Fedora, and wanted something different from the Manjaro or KDE that is pre-installed for testing purposes. With dd the install was easy and Fedora booted like a charm. I've added only apps I needed, like Firefox and Geany to keep it simple. But even so, the operating system seems to think I have no space left on the MicroSD.
We have lsblk showing the MicroSD disk, mmcblk2, essentially full:
With df we get a similar story:Code:$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT mmcblk2 179:0 0 58.2G 0 disk ├─mmcblk2p1 179:1 0 213.6M 0 part └─mmcblk2p2 179:2 0 58G 0 part mmcblk2boot0 179:32 0 4M 1 disk mmcblk2boot1 179:64 0 4M 1 disk mmcblk1 179:96 0 59.5G 0 disk ├─mmcblk1p1 179:97 0 213.6M 0 part /boot └─mmcblk1p2 179:98 0 10.7G 0 part
But in fact, du gives:Code:df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 1.9G 99M 1.8G 6% /dev/shm tmpfs 1.9G 9.5M 1.9G 1% /run /dev/mmcblk1p2 11G 9.8G 201M 99% / tmpfs 1.9G 48K 1.9G 1% /tmp /dev/mmcblk1p1 214M 134M 81M 63% /boot tmpfs 380M 24K 380M 1% /run/user/1000
Code:$ sudo du -sh * 0 bin 134M boot 0 dev 28M etc 2.6G home 0 lib 0 lib64 4.0K lost+found 4.0K media 4.0K mnt 4.0K opt du: cannot access 'proc/4494': No such file or directory du: cannot access 'proc/4497/task/4497/fd/3': No such file or directory du: cannot access 'proc/4497/task/4497/fdinfo/3': No such file or directory du: cannot access 'proc/4497/fd/3': No such file or directory du: cannot access 'proc/4497/fdinfo/3': No such file or directory 0 proc 3.3G root 9.5M run 0 sbin 4.0K srv 0 sys 40K tmp 3.5G usr 442M var
Your counting may be better than mine, but that doesn't look like much more than 10G. At the moment, the OS complains of lack of space, which limits my ability to do much. What am I missing here?
Any ideas much appreciated.
Kendew
You need to expand the filesystem [SD Card] so that the OS can see all of its available space.
I'd google 'expanding SD card file system linux' and you'll find the info you need - I don't know the commands, but know this is normal behaviour. Simply have to expand the filesystem on your SD card.
-----
pAULIE42o
. . . . . . . .
/s
pAULIE42o
. . . . . . . .
/s

