TRIMUI SMART

如何讓官方系統從MicroSD啟動


步驟如下:

$ cd 
$ wget https://github.com/steward-fu/archives/releases/download/trimui-smart/emmc.img.7z
$ 7za x emmc.img.7z
$ sudo dd if=emmc.img of=/dev/sdX bs=1M

插入MicroSD開機

root@sun8i:/# df -h
    Filesystem                Size      Used Available Use% Mounted on
    rootfs                  118.5M    109.1M      9.4M  92% /
    /dev/root               118.5M    109.1M      9.4M  92% /
    devtmpfs                 43.7M      4.0K     43.7M   0% /dev
    tmpfs                    59.8M     68.0K     59.7M   0% /tmp
    /dev/by-name/rootfs_data
                            751.0K     16.0K    735.0K   2% /overlay
    /dev/mmcblk0p1           14.0G    256.0M     13.6G   2% /mnt/UDISK

P.S. mmcblk0p1預設是fat32系統,可以自由擴展容量

MicroSD、eMMC都可以被正確掛載,因此,當eMMC壞掉,使用者可以從MicroSD進行救援

root@sun8i:/# ls /dev/mmc*
    /dev/mmcblk0       /dev/mmcblk0p6     /dev/mmcblk1boot1  /dev/mmcblk1p6
    /dev/mmcblk0p1     /dev/mmcblk0p7     /dev/mmcblk1p1     /dev/mmcblk1p7
    /dev/mmcblk0p10    /dev/mmcblk0p8     /dev/mmcblk1p10    /dev/mmcblk1p8
    /dev/mmcblk0p2     /dev/mmcblk0p9     /dev/mmcblk1p2     /dev/mmcblk1p9
    /dev/mmcblk0p3     /dev/mmcblk1       /dev/mmcblk1p3
    /dev/mmcblk0p5     /dev/mmcblk1boot0  /dev/mmcblk1p5


返回上一頁