piknew Posted August 16, 2016 Posted August 16, 2016 Hi, I am not sure but it maybe a bug in the script. After starting device from SD card (it is visible as /dev/mmcblk0 device) I have /etc/fstab as following: root@orangepiplus:/etc# cat fstab /dev/mmcblk0p1 / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults,nosuid 0 0 /var/swap none swap sw 0 0 Then I run nand-sata-install script. It is working correctly, but later on it is modifying copied fstab file and content is as following(pls pay attention on /dev/mmcblk1p1): root@orangepiplus:/mnt/rootfs/etc# cat fstab /dev/mmcblk1p1 / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults,nosuid 0 0 /var/swap none swap sw 0 0 In my opinion it should not be done like this, because after reboot (without SD) emmc (which is currently visible as /dev/mmcblk1) will be visible as /dev/mmcblk0. BTW. I corrected this value by myself. I remember that some time ago I had a problem as my filesystem get mounted only read-only. Not sure if this was the reason...
Recommended Posts