diskutil
卸载 diskutil unmountDisk /dev/disk2
弹出 diskutil eject /dev/disk2
写入 sudo dd if=~/path/to/disk.img of=/dev/rdisk2 bs=1m
挂载 nfs
mount -t nfs -o vers=4 192.168.1.50:/home/yourid remote
ddbr
/boot/create-mbr-linux.sh
/root/install.sh
食用方法:替换"/etc/apt/sources.list"内容。
- #deb http://httpredir.debian.org/debian stretch main contrib non-free
- #deb-src http://httpredir.debian.org/debian stretch main contrib non-free
- #deb http://httpredir.debian.org/debian stretch-updates main contrib non-free
- #deb-src http://httpredir.debian.org/debian stretch-updates main contrib non-free
- #deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
- #deb-src http://httpredir.debian.org/debian stretch-backports main contrib non-free
- #deb http://security.debian.org/ stretch/updates main contrib non-free
- #deb-src http://security.debian.org/ stretch/updates main contrib non-free
- # add test repo
- #deb http://ftp.de.debian.org/debian testing main contrib non-free
- deb [ arch=arm64,armhf ] https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch main contrib non-free
- #deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch main contrib non-free
- deb [ arch=arm64,armhf ] https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-updates main contrib non-free
- #deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-updates main contrib non-free
- deb [ arch=arm64,armhf ] https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-backports main contrib non-free
- #deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-backports main contrib non-free
- deb [ arch=arm64,armhf ] https://mirrors.tuna.tsinghua.edu.cn/debian-security/ stretch/updates main contrib non-free
- #deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security/ stretch/updates main contrib non-free
- #deb [ arch=arm64,armhf ] https://mirrors.tuna.tsinghua.edu.cn/debian/ sid main contrib non-free