BigChris Posted June 9, 2017 Posted June 9, 2017 I use armbian installed on emmc of Nanopi neo air. I want use the sdcard, buit i can't see the card. I insert the card after i boot from emmc. How can i mount the card?
martinayotte Posted June 9, 2017 Posted June 9, 2017 You should see a /dev/mmcblk0 and /dev/mmcblk0p1. Then, you can mount it using "mount /dev/mmcblk0p1 /mnt" and access file tree in /mnt.
BigChris Posted June 9, 2017 Author Posted June 9, 2017 I think i see there only the emmc. If i start from sdcard, i see mmcblk0 and mmcblk1. If i start from emmc, there is only mmcblk0.
wha Posted June 9, 2017 Posted June 9, 2017 See: http://forum.armbian.com/index.php/topic/1702-orange-pi-plus-2e-where-is-16ghz-and-sd/#entry13163 about 1/2 way down the page. It works for my orangepi+2e. Just make sure that the sdhc card does NOT have a system image/u-boot on it. I usually (on my desktop PC) 'dd' a couple megabytes of zeros (i.e. dd if=/dev/zero of=/dev/sdhc_device_name bs=1M count=20 ), then (re-)format the card.
martinayotte Posted June 9, 2017 Posted June 9, 2017 Ah ! Ok ! I thought at first it was on Mainline. But yes, the above link should make it work.
rlsten Posted June 10, 2017 Posted June 10, 2017 I have a couple of questions for what happens after you change sdc_detmode from 3 to 1 in the script.fex and convert it back to script.bin: 1. Can you mount a microSD card at boot, or only manually mount it after boot? 2. If you later want to use an operating system on a microSD card, do you have to change sdc_detmode back to 3 before the Orange Pi will boot from the SD Card? Is there anything else you have to do to make it boot from an SD card if you have an OS on the emmc? Thanks!
thanh_tan Posted November 10, 2018 Posted November 10, 2018 Hello, I use OPi Plus 2e., have installed RetroOrangepi on eMMC then the ROMs on sdcard. Now i want the system while boot on eMMC to check the sdcard, if the sdcard is present then mount it on the directory /home/pi/RetroPie I have used fstab but failed cause the Pi unable to boot Now i want a safer method, can i use bash on boot?
Recommended Posts