April 13, 2023470 words

Booting Ubuntu 22.04

Windows is heavy, slow, and hard to clean up. Installing Ubuntu 22.04 on my own laptop took me a lot of time. This article describes this process.

1. Put your data on a cloud

2. Download the iso image to USB

Here is the link: ubuntu.com/download/server

It is 1.8 GB large. Download it and move it to a usb, (you can use rufus on windows or balenaetcher on linux, whatever)

3. Boot the server from startup

Keep clicking f2 and f12 or whatever or

sudo systemctl reboot --firmware

alt text

In my case the KingstonDataTraveler 2.0 is the USB, so disable the other HDD device, then save and exit, then you will enter a menu like (this isn't my own picture but it is similar enough)

alt text

alt text

4. Install it

Just go step by step, remember to connect the wifi in the process because it is hard for me to connect to wifi in scratch in the terminal. Mainly just click ok, The time of installing the system varies, and sometimes takes quite a long time.

Then remove the usb and boot the pc again, you shall enter ubuntu 22.04.

5 Install GUI

When first booting into ubuntu, it may be a terminal without gui. You can't even use the mouse. I choose lightdm but anything is fine

sudo apt install lightdm
sudo apt install ubuntu-desktop
reboot
Then it will boot into a desktop

You get a beautiful computer

alt text

6. Configuration & Troubles

No wifi: Wifi adapter not found / start job is running for wait for network to be configured

Solution: go to recovery mode

alt text

Go to root and

cd /etc/netplan
ls

change the document 00-installer-config.yaml to this, then you won't have any problems

alt text

Forgetting passwords:

Go to recovery mode and

mount -rw -o remount /
passwd [username]

Then you can change the password and boot normally

Configurations:

Since the desktop icon is ugly, go to ubuntu software and search extensions, then you can disable the desktop icons from extensions. Since the dock is ugly, you can also disable the dock.

alt text

Since by default you can't move the cursor when typing, do

gsettings set org.gnome.desktop.peripherals.touchpad disable-while-typing false

Wine

alt text

QQ has a linux version, and it is very easy to use. However, WeChat doesn't.(electronic WeChat doesn't work) I don't usually use WeChat on computer but it is just interesting to see how it works. You can use wine to do exe files on linux servers. But wine is hard to configure, and the newest version can't load.

alt text

alt text

alt text

alt text

Some other version of WeChat worked, though. This is WeChat 2.6.7

You can also create a vm on google cloud in 5 minutes, just create a new vm instance. Then connect it via cloud (run in cloud shell)

alt text

Conclusion:

Installing ubuntu cost a lot of time but it is fun to use, and worth the time.

Loading...




Loading...