Jump to content

OrangePi plus 2E boot from emmc, data on SD card


IgorS

Recommended Posts

In case that somebody need such thing:

Armbian legacy stable installed on SD card.

Moved to emmc with sudo nand-sata-install.

Boot from emmc works good when sd is not plugged.

uname -a: Linux orangepiplus2e 3.4.113-sun8i #10 SMP PREEMPT Thu Feb 23 19:55:00 CET 2017 armv7l armv7l armv7l GNU/Linux

Then I pluged sd while system running, erase SD with:

sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=1000 (be careful at this step, use lsblk to detect actual name for sd)

Then I created partition on it and formated it to ext4 fs using GParted.

I become sytem which boots from emmc, despite inserted sd card.

Also, added it to fstab to automount it if is plugged at boot time:

UUID=f45729ff-0cd2-40cc-bb98-dff1e954f940  /mnt/data ext4  nofail,auto,noatime,rw,user    0   0

(of course, use your uuid at this step and create mount point)

Thats it.

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines