甲骨文云安装非预装系统

甲骨文云提供了Ubuntu,CentOS系,Windows,以及Oracl Linux这几个版本的预装系统。我更习惯使用Debian作为服务器的操作系统。

本文记录如何使用netboot来更换当前的操作系统。

  1. 下载 netboot,打开官网https://boot.netboot.xyz/ 找到自己当前的适配自己系统版本的efi文件。
1
2
cd /boot/efi/EFI/
wget https://boot.netboot.xyz/ipxe/netboot.xyz.efi
  1. 进入控制台连接 Console connection,登录ssh,然后重启系统。

  2. 开机不停点按ESC,进入BIOS,选择从netboot.xyz.efi文件启动。

  3. 遇到卡在EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
    解决方式:

    Once you have booted into netboot.xyz on x86_64, if you plan on using Linux images, you must still set up custom Kernel cmdline params under Utilities (UEFI).

    Set Kernel cmdline params: [] to console=ttyS0,9600.

    If you make a mistake, move with arrow keys, and use the Delete key.

    Once you have typed it in, you might have to press the Escape key twice.

    https://netboot.xyz/docs/kb/providers/oci/#x86_64---console-quirks-linux

简单来说,配置Kernel cmdline params: []console=ttyS0,9600

  1. 返回重新选择Debian系统安装,后续就是一切顺利如同在本机安装一样。