间接法

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

启动cloud shell

notion image
notion image

点击强制重新引导

notion image

拉取netboot镜像

notion image

shell

FS0: ifconfig -s eth0 dhcp
Shell
日本

shell

tftp 168.138.192.98 amd.efi
Shell
韩国

shell

#Oracle tftp 152.70.37.174 amd.efi #Azure tftp 4.217.252.35 amd.efi
Shell
凤凰城

shell

tftp 129.146.9.206 amd.efi
Shell
如果出现time out,请到甲骨文虚拟云网络-安全列表放通udp请求。
notion image
输入 amd.efi 进入netboot
选择Apline Linux
notion image
用户root 无密码 回车
notion image

shell

#设置Apline setup-alpine
Shell
一路回车
设置完密码
notion image
notion image
reboot重启,输入root,回车,密码进入Apline
脚本dd

shell

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 '密码'
Shell
结束

手动dd

shell

apk update apk add wget xz tar wget "https://cloud.debian.org/images/cloud/bullseye/latest/debian-11-nocloud-amd64.tar.xz" -O - | xz -d | tar -xv dd if=./disk.raw of=/dev/sda bs=1M reboot
Shell
回车输入 用户名root 密码为空
设置root登录

shell

apt update apt purge -y openssh-server apt install -y openssh-server echo root:你的密码 | chpasswd root sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config rm -rf /etc/ssh/sshd_config.d/* && rm -rf /etc/ssh/ssh_config.d/* /etc/init.d/ssh* restart
Shell
结束

直接法

  1. 前序步骤与间接法一致
  1. netboot界面选择 Utilities(UEFI)–Kernel cmdline params,输入console=ttyS0,9600,回车,ESC退出到主页面
notion image
  1. 此时可直接选择Debian进行安装了
  1. 软件选择时要选上ssh server ,空格键选择或取消
开启root登录与上同
甲骨文ARM利用 netboot.xyz 救砖重装任意系统甲骨文使用VNC远程链接
Loading...
hexo