本文只适用于amd,由于arm没有驱动,暂时无法dd为windows。

教程一:amd实例dd为windows

shell

[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS ip route show ifconfig
Shell
notion image
根据上面的命令,找到内网ip,和网关ip,修改下面的dd链接;

shell

wget -qO- inst.sh | bash -s - -n 10.0.0.83,255.255.255.0,10.0.0.1 -t https://file.1323123.xyz/dd/windows/cxthhhhh/Disk_Windows_Server_2022_DataCenter_CN_v2.12_UEFI.vhd.gz
Shell
根据提示,dd过程中的连接可以查看windows的dd安装windows的进度;
notion image
默认密码(Administrator/cxthhhhh.com)
立即修改密码;
notion image

教程二:windows实例dd为linux

1.关闭 Windows Defender 实时保护
notion image
2.管理员权限运行 cmd (!!注意管理员)
下载一键脚本

shell

certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.bat
Shell
3.运行脚本

shell

Ubuntu运行 reinstall.bat ubuntu 20.04 Debian运行 reinstall.bat debian 12
Shell
notion image
4.默认密码:root 123@@@
甲骨文拯救删除引导卷的机器或缩小硬盘甲骨文云实例开启ipv6的操作步骤
Loading...
hexo