prepare the USB stick on Ubuntu, basically download the release, use Start Disk Creator in ubuntu to create the installation stick.
Install
press F12 when starting the computer and select install ubuntu then press e in the grub menu
find quite splash, delete --- after that, and add nomodeset, press F10
we can use the default partition to install ubuntu, no need to partition on our own
Restart
after installation, we need to restart, keep the USB stick plugged in and press F12 when restarting
in grub menu, press e at the ubuntu option and find quite splash, add nomodeset after it, press F10
after seeing the desktop, open a terminal and enter sudo gedit /etc/default/grub, change GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset", then sudo update-grub
NVIDIA
at this time after restart the resolution is not correct, we need to install nvidia driver via this post, this post
after installing the drive, we can also install CUDA
SSH
for remote access via VNC, we need to setup the VNC server via this post
note that we also need to install openssh, refer to this post
on the local laptop (not the ubuntu remote), also need to use ssh-keygen -R [hostname], refer to this post
we can use VS code’s remote ssh to edit the code using ssh, refer to this post