Install the Operating System of Windows and Linux on the Laptop

Install the Operating System of Windows and Linux on the Laptop

Environments

  • Windows 11
  • Ubuntu 24.04 LTS
  • Laptop: Yoga Pro 14S ARH7
  • Allocated Disk For Ubuntu: 146.5GB

Step I: Download Ubuntu Package

Step II: Make a Bootable USB Stick

Preparation

  • Prepare a USB stick with a capacity of at least 8GB
    The USB stick will be formatted so you need to back up any important data on it.
  • Install the software UltraISO
    We use the software UltralSO to write the ISO file to the USB stick. UltraISO requires a paid registration, but we only need to use it for a short period, so we can click ‘Trial’ without purchasing a registration code.

Steps

  • Open the UltraISO and select the downloaded ISO file from the local directory
  • Double-click the ISO file: ubuntu-24.04-desktop-and64.iso
  • Select “Boot” in the menu bar above UltraISO, then click on “Write Disk Image”
  • Check the configuration
  • Format the USB stick by clicking the button of ‘format’
  • Write the ISO file to the USB stick by clicking the button of ‘Write’

This process will take a long time period and after writing the stage have just been finished.

Step III: Allocate the Disk Space for Ubuntu

  • Open the disk management tool in Windows
    You can search the Computer Management in the search bar and open it. And in the left menu, select Disk Management under the Memory section.
  • Right-click on the disk, preferably D Disk, that you want to allocate space for Ubuntu and select Shrink VolumeShrink Volume For Ubuntu
  • Enter the amount of space you want to allocate for Ubuntu, and then click “Shrink”
    It will be recommended to allocate around 100GB of space for Ubuntu. This will make sure that you have enough space for the operating system and other applications.

Step IV: Install Ubuntu

  • Insert the USB stick into the computer

Method I: BIOS mode

Press the key of F12 or F2 to enter the BIOS setting and select the USB stick as the boot device

Method II: Advanced Restart

Sometimes entering the BIOS setting is not easy, but there have another way to boot the system from the USB stick.

  • Search the Restore in the windows search bar and open it.
  • Click on the Restart Immediately button to restart the computer.Restart the System
  • After the computer restarts, it will enter the Advanced Boot Options menu. Select the Using Device option.Select the Boot Options
  • About EFI mode we just choose the EFI USB Device to boot the operating system.EFI USB Device
  • Entering this page, we just choose to install UbuntuInstall Ubuntu
  • When it boots the Ubuntu system, it will prepare the environment.
Prepare Ubuntu
  • Configure the Ubuntu system and just wait for several minutes.Configure Ubuntu
  • When all installation have been finishedInstallation Finished

Step V: Restart the System

After the installation, we need to restart the system to make sure that the system is working properly.

Boot Two Systems
  • Boot Ubuntu
    We just click the Ubuntu button to boot the Ubuntu system.
  • Boot Windows
    We just click the Windows Boot Manager button to boot the Windows system.

Configuration

We can see that the system is installed successfully, but we still need to configure it. For personalized usage needs, we can configure specific applications. Firstly, just have a look for my configuration.
My Configuration

System Fonts

  • Install the packages
1
sudo apt install gnome-tweaks
  • Run the command
1
gnome-tweaks

It will open the configuration interface, and we just click Fonts. It has three fonts to configure the displayed fonts style under different positions. And importantly, it has the Scaling Factor below the interface to configure the interface size.
Configuration Interface
Fonts Configuration

Chinese Input

  • Install the packages
    There has several Chinese input methods, but I recommend ibus-libpinyin because it is simple and easy to use.
1
sudo apt-get install ibus-libpinyin
  • Run the command
    After installation, we need to log out to fresh the package. And logging in again, we just run the following command to add the Pinyin method under the Chinese section.
1
ibus-setup
Install Pinyin
  • Configure the input method in the system settings
    Just see the following picture. We need to add the input source of Chinese(Pinyin) under the Keyboard section.
Chinese Input

Clash Verge

Clash Verge

Blue Mail

It’s also a fantastic application on linux system. It is a mail client and it has a very beautiful interface.

Blue Mail

Wemeet

1
2
3
sudo vim /etc/gdm3/custom.conf
#WaylandEnable=false ==> WaylandEnable=false
sudo service gdm3 restart

Installation Command

.deb file

1
2
sudo dpkg -i package_file.deb
sudo apt install ./package_file.deb

.AppImage file

1
2
chmod +x package_file.AppImage
./package_file.AppImage

.rpm file

1
sudo rpm -i package_file.rpm

Install the Operating System of Windows and Linux on the Laptop

https://lzhms.github.io/blog/WindowsLinuxSystem/

Author

Zhihao Li

Posted on

2024-07-08

Updated on

2024-12-24

Licensed under


Comments