03-07-2020, 04:39 AM
(03-06-2020, 02:05 AM)TheOldPresbyope Wrote: @Onionhead
Hi.
Try starting in the root directory (named rootfs on your Mac, probably) instead of the boot directory.
Regards,
Kent
Added after posting:
Let me be more explicit. Once flashed with the moOde image, the uSD card has two partitions, labelled "boot" and "rootfs" respectively.
Your Mac is automounting the contents of these two partitions to two directories (mountpoints) having the same names.
After an RPi boots from the card, the separate filesystems in these two directories are merged into one running filesystem. You can see this from the command line
Code:pi@moodecd:/var/www/command $ ls -l /dev/disk/by-label
total 0
lrwxrwxrwx 1 root root 15 Feb 22 13:57 boot -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Feb 22 13:57 rootfs -> ../../mmcblk0p2
pi@moodecd:/var/www/command $ mount|grep mmcblk
/dev/mmcblk0p2 on / type ext4 (rw,noatime)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
mmcblk0p2 (e.g. partition 2 on the sdcard) is mounted on /
mmcblk0p1 (e.g., partition 1 on the sdcard) is mounted "beneath" it on /boot
Got that
Regards,
Kent
With the sdcard in the RPI3 I typed in the command you suggested or at least I think I did but my results don't track with yours. Perhaps this is all too advanced for me at this time. Thanks for replying I'll continue trying to find a way forward.
Code:pi@moode:~ $ /var/www/command $ ls -l /dev/disk/by-label
-bash: /var/www/command: Is a directory