bin456789 / reinstall

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

Win下dd出现Error: Could not detect RAM size. #112

Closed XiChenBaBa closed 4 months ago

XiChenBaBa commented 4 months ago

C:\Users\Administrator\Documents>reinstall.bat dd --img http://xxx.vhd.gz

Download: https://mirror.ghproxy.com/https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh C:\Users\Administrator\Documents\reinstall.sh Online 000000 ... 018ef7 CertUtil: -URLCache command completed successfully. No Instance(s) Available. Error: Could not detect RAM size.

bin456789 commented 4 months ago

管理员 cmd 运行 wmic memorychip list 看下有没有结果

XiChenBaBa commented 4 months ago

管理员 cmd 运行 wmic memorychip list 看下有没有结果

没有可用实例。 1

bin456789 commented 4 months ago

那就只能修改 C:\Users\Administrator\Documents\reinstall.sh https://github.com/bin456789/reinstall/blob/2c2dd923ab276df9a00081f06fecead0b47c84dc/reinstall.sh#L1385

例如改成 ram_size=1024

哪个商家这么奇葩?

XiChenBaBa commented 4 months ago

那就只能修改 C:\Users\Administrator\Documents\reinstall.sh

https://github.com/bin456789/reinstall/blob/2c2dd923ab276df9a00081f06fecead0b47c84dc/reinstall.sh#L1385

例如改成 ram_size=1024

哪个商家这么奇葩?

OK谢谢大佬