尝试在 Vmware 中安装“Ubuntu Base”但出现内核恐慌!

尝试在 Vmware 中安装“Ubuntu Base”但出现内核恐慌!

以下是我在 Vmware 中安装 Ubuntu Base 的方法:

load the live media
sudo passwd root
su root

parted -a optimal /dev/sda

* mklabel gpt
* print
* remove remaining partitions.(if there are any).
* unit mib
* mkpart primary 1 512
* name 1 boot
* set 1 boot on
* mkpart primary 512 -1
* name 2 rootfs
* print
* quit

mkfs.fat -F 32 /dev/sda1
mkfs.ext4 /dev/sda2

mount /dev/sda2 /mnt

tar xvfz ubuntu-base-20.04.1-base-amd64.tar.gz -C /mnt

cp /etc/resolv.conf /mnt/etc/resolv.conf

mount --rbind /sys /mnt/sys
mount --rbind /proc /mnt/proc
mount --rbind /dev /mnt/dev

chroot /mnt
mount /dev/sda1 /boot

apt-get update 
apt-get install --no-install-recommends grub-efi
apt-get install --no-install-recommends linux-image-5.4.0-48-generic
apt-get install --no-install-recommends initramfs-tools
apt-get install --no-install-recommends nano

nano -w /etc/default/grub           
update-grub
grub-install --target=x86_64-efi --efi-directory=/boot

nano -w /etc/fstab 
----
/dev/sda1            /boot      vfat    defaults,noatime 0 2
/dev/sda2            /          ext4    noatime 0 1
----

adduser l3gi0n
addgroup l3gi0n adm
addgroup l3gi0n sudo

passwd root

exit

reboot

我遇到了这个内核恐慌:https://ibb.co/XFTKBtN

我做错了什么 ?

相关内容