前言

因为AMD内存过小,所以需要使用Apline做中继

启动Cloud Shell

点击重新引导

拉取Netboot镜像

1
2
FS0:
ifconfig -s eth0 dhcp

1
2
3
4
5
日本   tftp 168.138.192.98 amd.efi
韩国 tftp 152.70.37.174 amd.efi
凤凰城 tftp 129.146.9.206 amd.efi
圣保罗 tftp 191.238.221.198 amd.efi
圣何塞 tftp 146.235.230.96 amd.efi

如果出现time out,请到甲骨文虚拟云网络-安全列表放通udp请求

img

输入

exit

退出到

BIOS

,

esc

退出到主页面

1
Boot Maintenance Manager

–>

1
Boot from File

–> 选择硬盘回车–> 选择镜像文件回车–> 成功进入 netboot.xyz

正式dd

用户root,无密码直接回车登录

1
2
设置Apline
setup-alpine

一路回车,设置完密码

img

img

reboot重启,输入root,回车,密码进入Apline,然后脚本dd,完成dd后结束

1
2
3
4
apk update
apk add bash wget
sed -i 's/root:\/bin\/ash/root:\/bin\/bash/g' /etc/passwd
wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh && bash InstallNET.sh -debian 12 -pwd '密码'