@Vicer 大佬的脚本可以从rescue,dd安装debian吗?看了半天没看懂。。。

买了个256m的nat机一个月只能重装两次系统,安装后发现没有swap,就把分区重置了2G的swap。结果进不去系统了。

后来发现有rescue mode,现在进去了以后想dd安装debian9

  • - Device Boot Start End Sectors Size Id Type
  • /dev/sdb1 2048 16777215 16775168 8G 83 Linux
  • /dev/sdb4 16777216 20971519 4194304 2G 82 Linux swap / Solaris
  • 复制代码