注意

  1. 有 AMD 重装需求的朋友请看AMD单机救砖
  1. 有两个机器的可以看甲骨文利用 DD 命令全盘对拷救砖

前期准备

打开出问题的机器,左侧找到并打开 “控制台连接”
notion image
等待 shell 终端加载完成后重新引导系统,并在 shell 空白后按键盘上的 Esc 键进入 BIOS
notion image
依次选择 Boot Manager —-> EFI Internal Shell

shell

#进入到 fs0 FS0: #DHCP 获取 IP fconfig -s eth0 dhcp #查看 IP 分配情况 ifconfig -l eth0 #测试网络连通性 ping 1.1.1.1
Shell
下载 netboot.xyz 镜像包 (多节点分流)

日本

shell

tftp 168.138.192.98 arm.efi
Shell

韩国

shell

#Oracle tftp 152.70.37.174 arm.efi #Azure tftp 4.217.252.35 arm.efi
Shell

凤凰城

shell

tftp 129.146.9.206 arm.efi
Shell
如果出现time out,请到甲骨文虚拟云网络-安全列表放通udp请求。

引导镜像

下载好 netboot 的镜像包之后,直接输入arm.efi回车启动netboot,选择相应的系统安装, 建议选择Debian
notion image
notion image
系统安装后重启自动硬盘启动 成功救砖
notion image

自建TFTP镜像源

Docker一键创建:

shell

docker run -itd --name tftp -p 69:69/udp -e PUID=1111 -e PGID=1112 --restart unless-stopped cjs520/tftp-netboot:arm64
Shell
如果没有docker可以使用下面这个脚本安装

shell

bash <(curl -sSL https://linuxmirrors.cn/docker.sh) OR bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh)
Shell
担心现成的docker镜像有问题,也可以用下面的dockerfile自建docker镜像

shell

# 使用 Alpine 作为基础镜像 FROM alpine:latest # 设置镜像源为阿里云的 Alpine 镜像源 # RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories # 安装 TFTP 服务器和相关工具 RUN apk add --no-cache tftp-hpa # 创建 TFTP 目录并设置权限 RUN mkdir -p /srv/tftp && \ chmod -R 755 /srv/tftp && \ addgroup -S tftpd && \ adduser -s /bin/false -S -D -H -h /data -G tftpd tftpd # 下载 netboot.xyz.efi 文件并将其重命名为 amd.efi RUN wget -O /srv/tftp/amd.efi https://boot.netboot.xyz/ipxe/netboot.xyz.efi && \ wget -O /srv/tftp/arm.efi https://boot.netboot.xyz/ipxe/netboot.xyz-arm64.efi && \ chmod 644 /srv/tftp/amd.efi && \ chmod 644 /srv/tftp/arm.efi # 暴露 TFTP 端口 EXPOSE 69/udp # 设置 VOLUME VOLUME ["/srv/tftp"] # 启动 TFTP 服务 CMD ["in.tftpd" ,"-L","-v","-s","-u","tftpd","/srv/tftp"]
Shell
甲骨文利用 DD 命令全盘对拷救砖甲骨文AMD单机netboot救砖
Loading...
hexo