跳到主要内容

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"内容。

  1. #deb http://httpredir.debian.org/debian stretch main contrib non-free
  2. #deb-src http://httpredir.debian.org/debian stretch main contrib non-free
  3. #deb http://httpredir.debian.org/debian stretch-updates main contrib non-free
  4. #deb-src http://httpredir.debian.org/debian stretch-updates main contrib non-free
  5. #deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
  6. #deb-src http://httpredir.debian.org/debian stretch-backports main contrib non-free
  7. #deb http://security.debian.org/ stretch/updates main contrib non-free
  8. #deb-src http://security.debian.org/ stretch/updates main contrib non-free
  9. # add test repo
  10. #deb http://ftp.de.debian.org/debian testing main contrib non-free
  11. deb [ arch=arm64,armhf ] https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch main contrib non-free
  12. #deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch main contrib non-free
  13. deb [ arch=arm64,armhf ] https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-updates main contrib non-free
  14. #deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-updates main contrib non-free
  15. deb [ arch=arm64,armhf ] https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-backports main contrib non-free
  16. #deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-backports main contrib non-free
  17. deb [ arch=arm64,armhf ] https://mirrors.tuna.tsinghua.edu.cn/debian-security/ stretch/updates main contrib non-free
  18. #deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security/ stretch/updates main contrib non-free
  19. #deb [ arch=arm64,armhf ] https://mirrors.tuna.tsinghua.edu.cn/debian/ sid main contrib non-free