没有不值得去解决的问题,也没有不值得去学习的技术!

Migrating From Windows 10 to Ubuntu – Part 2: Installing and Configuring Ubuntu 26.04

Figure 24 – Select Ubuntu appearance, highlighting Default

Continuing from the previous post: pre-installation preparation is complete (FAT32 partition + EasyUEFI boot entry)
This post covers the complete installation process (24 photos) and first boot configuration (4 photos)
No USB drive, no black screen, everything went smoothly

1. Booting into the Ubuntu Installation Environment

1.1 Selecting the Boot Entry

Restart the computer and repeatedly press the F12 key during the ThinkPad POST to enter the temporary boot menu. Locate the Ubuntu Installer boot entry we created earlier in the list.

Figure 1 – Ubuntu Installer highlighted in the Boot Menu

Select it and press Enter; the system begins loading the boot files.

1.2 Entering the GRUB Menu

After a brief moment, the GRUB menu appears. The default selection is “Try or Install Ubuntu”.

Figure 2 – GRUB menu (Try or Install Ubuntu selected with keyboard arrow keys)

Since I did not encounter a black screen, I pressed Enter to proceed directly. If you encounter a black screen, you can press the e key at this point to add the nomodeset parameter.

1.3 Brand Splash Screen

The Lenovo and Ubuntu logos appear briefly.

Figure 3 – Lenovo and Ubuntu logo splash screen

2. Installation Process

2.1 Selecting the Language

On the welcome screen, select 中文(简体).

Figure 4 – Language selection screen, highlighting 中文(简体)

Click Next.

2.2 Connecting to a Network (Optional)

The installer prompts you to connect to the internet. I chose to connect to Wi-Fi.

Figure 5 – Connect to internet screen, listing available Wi-Fi networks

Select CMCC-K49N_5G and enter the password.

Figure 6 – Dialog box for entering the Wi-Fi password

Once successfully connected, the “Next” button becomes available.

Figure 7 – After connecting successfully, the Next button lights up

Click Next.

2.3 Selecting the Installation Method

The “Try or Install Ubuntu” screen appears. Select “Install Ubuntu”.

Figure 8 – Try or install screen, highlighting Install Ubuntu

Click Next.

2.4 Confirming the Installation Type

The “How do you want to install Ubuntu?” screen appears. I chose the default option.

Figure 9 – Confirm installation type screen

Click Next.

2.5 Selecting the Application Set

I selected the “Default set”.

Figure 10 – Application selection screen, highlighting Default set

Click Next.

2.6 Installing Third-Party Software

Check “Install third-party software for graphics and Wi-Fi hardware” and “Download and install support for additional media formats”.

Figure 11 – Optimize computer screen, with proprietary software and codecs checked

Click Next.

2.7 Disk Setup

Select “Erase disk and install Ubuntu”.

Figure 12 – Disk setup screen, highlighting Erase disk and install Ubuntu

Click Next.

2.8 Selecting the Target Hard Drive

Crucial step! The installer lists the available hard drives. I selected sda - 256.06 GB Lenovo M.2 2242 SSD 256G (this is the smaller drive where Windows was originally installed; it has a nominal capacity of 256 GB, actually around 238 GB).

Figure 13 – Select drive screen, highlighting the 256 GB solid-state drive

Click Next.

2.9 Encryption Setup

I selected “No encryption”.

Click Next.

2.10 Setting Up a User Account

Fill in the following information:

  • Your name: wangqiang
  • Your computer’s hostname: wangqiang-ThinkPad-T570
  • Username: wangqiang
  • Password: set your own (good strength)
  • Check “Require my password to log in”
Figure 15 – Set up your account screen, with information filled in

Click Next.

2.11 Selecting the Time Zone

Click on Shanghai on the map, or directly select Asia/Shanghai.

Figure 16 – Location screen, with the Shanghai time zone selected

Click Next.

2.12 Confirming Installation Options

The system displays a summary page to confirm the installation type, disk, applications, encryption, proprietary software, etc. The partition information at the bottom shows:

  • sda1: fat32 for /boot/efi
  • sda2: ext4 for /
  • Other Windows partitions (sdb1~sdb7) remain unchanged (these belong to the larger hard drive)
Figure 17 – Ready to install, upper half summary

Figure 18 – Ready to install, lower half partition details

After confirming everything is correct, click Install.

2.13 Installation Process

The system begins copying files, configuring hardware, and installing the bootloader. The interface displays a progress bar and introductions to Ubuntu features.

Figure 19 – Installing system, showing progress bar and accessibility feature tips

Wait for about 10–15 minutes.

2.14 Installation Complete

An “Installation Complete” dialog box pops up, prompting you to restart.

Figure 20 – Installation complete screen, with options to Restart Now or Continue Testing

Click Restart Now. The system will prompt you to remove the installation media. Since we are using a virtual USB drive (a FAT32 partition on the hard drive), no action is needed; just press Enter.

3. First Boot Configuration (4 photos in total)

After restarting, you enter the Ubuntu first setup wizard.

3.1 Welcome Screen

Figure 21 – Welcome to Ubuntu 26.04 LTS

Click Forward.

3.2 Location Services

It asks whether to enable location services. I chose to enable them (this can be changed later in Settings).

Figure 22 – Location services screen, with enable checked

Click Forward.

3.3 Help Improve Ubuntu

It asks whether to share system data and error reports. I chose to share them (checked).

Figure 23 – Shape Ubuntu screen, with share reports checked

Click Forward.

3.4 Selecting Appearance

You can choose between the Default or Dark theme. I chose Default.

Figure 24 – Select Ubuntu appearance, highlighting Default

Click Forward (or Finish).

4. Entering the Desktop

Once setup is complete, you enter the default Ubuntu 26.04 desktop. At this point, the installation and initial configuration are fully complete.

5. Post-Installation Cleanup and Recommendations

5.1 Removing the EasyUEFI Boot Entry

Open the terminal and use efibootmgr to delete the boot entry named “Ubuntu Installer”:

Bash
sudo efibootmgr
# 找到对应的 Boot 编号,例如 Boot0003
sudo efibootmgr -b 3 -B

5.2 Updating the System

Bash
sudo apt update && sudo apt upgrade -y

6. Summary

This post documents the complete process from booting the installer to entering the Ubuntu desktop for the first time, featuring 20 installation photos + 4 initial configuration photos. The entire process went smoothly, with no black screens or driver issues.

关于作者 · 持续学习与技术实践

我是一名拥有 15 年以上开发经验的技术从业者,自 2013 年起持续运营个人技术博客,记录工作与个人项目中遇到的真实问题,以及解决问题过程中的探索、实践和思考。

除了技术写作,我也在持续开发和维护自己的独立项目,探索新技术和新工具在实际场景中的应用。我始终相信,没有不值得去解决的问题,也没有不值得去学习的技术。

如果这篇文章对你有所帮助,欢迎浏览博客中的其他文章,也欢迎交流技术经验与想法。

关于我  ·  GitHub  ·  邮件联系