Installing Ubuntu Server in VMware Fusion Tech Preview during Bad Kernel Week
source link: https://gist.github.com/rhaleblian/44f2cb4418ee978603dc0b15dadf0e02
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Regarding new installs, I tried something dastardly.
from https://ubuntu.com/download/server/arm download 20.04.4 LTS.
Make the new VM as usual, EXCEPT say that you want to change the VM settings. The settings dialog will appear. Disconnect the networking adapter.
Continue with the installation. The
cloud-initstep will take a while then continue. Some installation screens will be missing. The install itself will be deceptively quick.
Reboot when instructed. The boot sequence will get stuck consulting the network. Go into the settings and turn the networking adapter back on.
The startup will continue and you should land on the login prompt.
Since we disallowed initial installation a lot of other packages, not just a newer kernel, you will almost certainly need to do the typical
apt updateand maybe even
apt upgrade, if that's how you roll, which will eventually install a newer kernel. But now you'll have the original one too. Use that original one when you next boot, via the boot loader menu. That kernel is
$ uname -a Linux confusion 5.4.0-100-generic #113-Ubuntu SMP Thu Feb 3 18:44:51 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
 "deceptively" meaning it'll be so fast it'll appear it didn't do enough to work.
This works, ironically, because Live CD ISOs are not being altered to have newer kernels; Canonical is relying on network updates during installation to handle that. And we are denying updates.
FAQ (or, rather, Frequently Imagined Questions)
Could this break in the future?
Yes. Canonical could decide to update the ISOs we are downloading.
Will this work for 21.10 too?
Yes. With the above caveat.
This has no desktop environment!
That's not a question.
You can get a desktop:
sudo apt install tasksel sudo tasksel # (select a desktop) sudo reboot
The Ubuntu desktop item looks like it's GNOME.
Aggregate valuable and interesting links.
Joyk means Joy of geeK