bin456789 / reinstall

一键DD/重装脚本 (One-click reinstall OS on VPS)
GNU General Public License v3.0
2.87k stars 477 forks source link

windows 无法运行,脚本能下载下来,但无法运行 #159

Closed kirito201711 closed 1 month ago

kirito201711 commented 2 months ago

Download: http://www.cygwin.com/setup-x86_64.exe C:\Users\ADMINI~1\AppData\Local\Temp\1\setup-cygwin.exe Online 0000 ... 00c7 CertUtil: -URLCache command FAILED: 0x80190193 (-2145844845 HTTP_E_STATUS_FORBIDDEN) CertUtil: Forbidden (403). The system cannot execute the specified program. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified.

bin456789 commented 2 months ago

目测是阿里云,被cygwin官网拉黑了

http://www.cygwin.com/setup-x86_64.exe 下载下来 https://github.com/bin456789/reinstall/blob/76c3ab01a23e8676a6145b89a973eded59c615ec/reinstall.bat#L108%tmp%\setup-cygwin.exe 改成硬盘里 setup-x86_64.exe 的路径

kirito201711 commented 2 months ago

使用你的方法在powershell里面不行,cmd可以了,但是又遇到Download grub下不下来的情况(重试了好几次,终于成功了)

kirito201711 commented 2 months ago

ok,成功了,在重启了