Template:RockchipMiscCustome/zh

From FriendlyELEC WiKi
Revision as of 08:18, 1 July 2024 by Tzs (Talk | contribs) (updated by API)

Jump to: navigation, search

1 备份文件系统并创建SD映像(将系统及应用复制到另一块开发板)

1.1 备份根文件系统

开发板上执行以下命令,备份整个文件系统(包括OS与数据):

sudo passwd root
su root
cd /
tar --warning=no-file-changed -cvpzf /rootfs.tar.gz \
    --exclude=/rootfs.tar.gz --exclude=/var/lib/docker/runtimes \
    --exclude=/etc/firstuser --exclude=/etc/friendlyelec-release \
    --exclude=/usr/local/first_boot_flag --one-file-system /

注:备份时,如果系统中有挂载目录,最后会出现一个错误提示信息,可以无视它,我们本来就是要忽略这些目录

1.2 从根文件系统制作一个可启动的SD卡

Only support RK3328/RK3399/RK3568/RK3588