03-06-2020, 02:05 AM
(This post was last modified: 03-06-2020, 02:38 AM by TheOldPresbyope.
Edit Reason: added explication; added more code
)
@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
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
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