• You can also boot from USB drive partition.
  • The file named cmdline.txt must exist on BOOT (fat) partition on sd card or emmc.
  • The content of that file must be: root=/dev/sdXn, where /dev/sdXn is the USB drive partition (as visible from OPI) to which to boot (for example root=/dev/sda1).
  • The line which mounts / in /etc/fstab on USB partition Linux must point to the right partition.
  • You can use install_to_usb script to install Linux oun USB drive partition and automaticaly create right cmdline.txt and fstab.
  • If cmdline.txt does not exist, or USB drive partition is not accesible (USB drive not attached), system boots to /dev/mmcblk0p1 (sdcard if inserted, otherwise emmc, if available)
  • Bootable
    SD Card or EMMC must be accesible when booting to USB, but it is not
    necessary that the second partition contains valid Linux fs, sd card can
    have only the 1st (fat) partition
  • You can have different Linux installations on different USB drive partitions, just edit the cmdline.txt to select to which to boot.
  • The latest uImage must be used.

Using install_to_usb script:

    • Use install_to_usb script to install Linux to USB drive partition. Can be used to backup your SDCard/EMMC installation.
      1. sudo install_to_usb /dev/sdXn [btrfs]|[noformat]

      Copy the Code

    • /dev/sdXn is the USB drive partition to which to install (for example /dev/sda1)
    • if the second parameter is btrfs, USB partition will be formated as btrfs, otherwise as ext4
    • if the second parameter is noformat, USB partition will not be formated, content of the partition will be updated (in case you have used install_to_usb to backup your sdcard/emmc before)
    • be careful not to select the wrong USB partition, it will be erased/updated!
    • If the script does not exist on your image, download desktop_scripts.tar.gz, unpack to /usr/local/bin.
    • You must have the new uImage version, with boot to usb enabled.

最新文章

  1. TODO:Golang语言TCP/UDP协议重用地址端口
  2. URL中文转码问题
  3. TRichTextBox – A universal RichTextBox which can display animated images and more
  4. 关于MFC监听器的相关了解
  5. Python 数据类型转换
  6. Application_Error
  7. 基于 Paramiko 的 SSH 通讯类
  8. brew,gem,rvm 和 bundler软件包的管理工具
  9. 在C++中如何使用C
  10. jquery之ajax中国乱码的解决方案
  11. 转 Fragment 和 FragmentActivity的使用
  12. python已安装了一个包,但是导入包中的模块时报错没有这个包
  13. 如何使用纯CSS制作特效导航条?
  14. Ubuntu 16.04更新grub-pc提示脚本/var/lib/dpkg/info/grub-pc.postinst 执行错误
  15. laravel 不理解的call方法
  16. 使用VUE框架搭建项目基本步骤
  17. ansible-role写法
  18. 通过直接编码添加折线图到ChartControl
  19. string截断
  20. 数学图形之Boy surface

热门文章

  1. TDD原则
  2. 构建ASP.NET MVC4+EF5+EasyUI+Unity2.x注入的后台管理系统(9)-MVC与EasyUI结合增删改查
  3. 用命令查看Mysql中数据库、表的空间大小
  4. Rabbitmq基本原理
  5. 教新手一步步解决:Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to和更新gradle问题
  6. Mysql 解决left join 数据重复的问题
  7. Python3基础 print 中使用+号,连接两个字符串
  8. HDU 3336 (KMP next性质) Count the string
  9. AngularJS 学习笔记一
  10. iOS开发笔记系列-基础3(多态、动态类型和动态绑定)
  11. mysqld --debug-sync
  12. CSS中字体尺寸总结
  13. PHP ServerPush (推送) 技术
  14. Spark Mllib框架1
  15. 使用 Nginx 为 Linux 实例绑定多个域名
  16. centos7部署openvpn-2.4.6
  17. Redis String数据类型
  18. 2019CSUST集训队选拔赛题解(二)
  19. poj做的题
  20. arduino波特率