大家好,欢迎来到TX1学习与开发系列,今天给大家讲讲如何快速部署多个系统,如何把现有的系统进行备份,快速的移植到其他的tx1上。
之前在《【TX1学习与开发系列》第二讲说到过在利用sdcard来增加磁盘容量,其实本质是将系统移植到了sdcard 中来运行的。
今天我们将是哟个不同的U盘来实现这一功能,达到快速移植的目的。
这里我们最好使用USB 3.0的U盘。
一、安装
$ sudo cp -ax / ‘/media/ubuntu/USB Root’
这里将U盘进行重命名USB Root,将这个系统全部拷贝到U盘中,大概需要20分钟左右,耐心等待下。
系统拷贝完成后,在USB Root进入exitliux 目录下
$ cd /boot/extlinux
生成一个配置文件
$ sudo cp extlinux.conf extlinux.conf.original
编辑下配置文件 extlinux.conf
$ sudo gedit /boot/extlinux/extlinux.conf
将内容替换成如下内容即可
TIMEOUT 30
DEFAULT usbflash
MENU TITLE p2371-2180 eMMC boot options
LABEL usbflash
MENU LABEL USB Flash Drive
LINUX /boot/Image
INITRD /boot/initrd
FDT /boot/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
APPEND fbcon=map:0 console=tty0 console=ttyS0,115200n8 androidboot.modem=none androidboot.serialno=P2180A00P00940c003fd androidboot.security=non-secure tegraid=21.1.2.0.0 ddr_die=2048M@2048M ddr_die=2048M@4096M section=256M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 debug_uartport=lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=${lp0_vec} nvdumper_reserved=${nvdumper_reserved} core_edp_mv=1125 core_edp_ma=4000 gpt android.kerneltype=normal androidboot.touch_vendor_id=0 androidboot.touch_panel_id=63 androidboot.touch_feature=0 androidboot.bootreason=pmc:software_reset,pmic:0x0 net.ifnames=0 root=/dev/sda1 rw rootwait
LABEL emmc
MENU LABEL Internal eMMC
LINUX /boot/Image
INITRD /boot/initrd
FDT /boot/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
APPEND fbcon=map:0 console=tty0 console=ttyS0,115200n8 androidboot.modem=none androidboot.serialno=P2180A00P00940c003fd androidboot.security=non-secure tegraid=21.1.2.0.0 ddr_die=2048M@2048M ddr_die=2048M@4096M section=256M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 debug_uartport=lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=${lp0_vec} nvdumper_reserved=${nvdumper_reserved} core_edp_mv=1125 core_edp_ma=4000 gpt android.kerneltype=normal androidboot.touch_vendor_id=0 androidboot.touch_panel_id=63 androidboot.touch_feature=0 androidboot.bootreason=pmc:software_reset,pmic:0x0 net.ifnames=0 root=/dev/mmcblk0p1 rw rootwait
保存,重启一下。
---------------------QAQ--------------------------------