万能dd方案
ref:https://moeclub.org/2017/08/31/361/
先安装Debian系统,然后执行
https://moeclub.org/get-deb-livecd
然后修改/boot/grub/grub.cfg权限为655,在末尾追加
menuentry "Boot mini" { set isoimage="/boot/mini.iso" loopback loop (hd0,1)$isoimage linux (loop)/linux auto=true LANG=en_US.UTF-8 KEYTABLE=us netcfg/dhcp_options="Configure network manually" netcfg/dhcp_failed=note netcfg/get_nameservers=8.8.8.8 hostname=MoeClub domain=MoeClub.org -- quiet initrd (loop)/initrd.gz }
然后重启就能从livecd启动了,到了preconfiguration file的时候两次Esc,就出现shell的选项了。后续就正常dd操作就可以了。
本文出自 Tech Trace,转载时请注明出处及相应链接。
本文永久链接: https://www.qiujiahui.com/2017/11/15/%e4%b8%87%e8%83%bddd%e6%96%b9%e6%a1%88/