Ubuntu 是常用的发行版,最新的ubuntu 20.10 百度没提供,直接从 iso 文件中安装最新的 ubuntu server。

官方教程

https://help.ubuntu.com/community/Grub2/ISOBoot

下载镜像

阿里云开源镜像站

https://developer.aliyun.com/mirror/

编辑启动项

vi /etc/grub.d/40_custom

添加以下内容

  1. menuentry "Ubuntu 20.10 server" {
  2. search --no-floppy --fs-uuid --set=root 07329829-7140-41f8-a844-80722c167f39
  3. set isofile="/ubuntu-20.10-live-server-amd64.iso"
  4. loopback loop $isofile
  5. linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
  6. initrd (loop)/casper/initrd
  7. }

更新 grub

update-grub

重启,进入 Ubuntu 20.10 server 按图形界面引导配置就完事儿~