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

Install Hyper-V on Windows 10 and Create an Ubuntu Virtual Machine

After logging in, the interface is normal

1. Hyper-V allows you to run multiple operating systems as virtual machines on Windows. Reference: https://docs.microsoft.com/zh-cn/virtualization/hyper-v-on-windows/about/ .

2. Hyper-V is built into Windows Professional editions as an optional feature — no need to download Hyper-V. Enable the Hyper-V role through “Settings”.

3. Right-click the Windows button and select “Apps and features”. See Figure 1.

Right-click the Windows button and select "Apps and features"
Figure 1

4. Select “Programs and Features” on the right under Related settings. See Figure 2.

Select "Programs and Features" on the right under Related settings
Figure 2

5. Select “Turn Windows features on or off”. See Figure 3.

Select "Turn Windows features on or off"
Figure 3

6. Select “Hyper-V”, then click “OK”. See Figure 4.

Select "Hyper-V", then click "OK"
Figure 4

7. After the installation is complete, you will be prompted to restart your computer. See Figure 5.

After the installation is complete, you will be prompted to restart your computer
Figure 5

8. Reference: https://docs.microsoft.com/zh-cn/virtualization/hyper-v-on-windows/quick-start/quick-create-virtual-machine . Select your operating system to get the appropriate set of instructions. Reference: Which Windows operating system version am I running? URL: https://support.microsoft.com/zh-cn/windows/%E6%88%91%E8%BF%90%E8%A1%8C%E7%9A%84%E6%98%AF%E5%93%AA%E4%B8%AA-windows-%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E7%89%88%E6%9C%AC-628bec99-476a-2c13-5296-9dd081cdd808 . Select the “Start” button > “Settings” > “System” > “About” in turn. Open the “About” settings. Under “Device specifications” > “System type”, check whether you are running a 32-bit or 64-bit version of Windows. Under “Windows specifications”, check the edition and version number of Windows your device is running: 1803. See Figure 6.

Select your operating system to get the appropriate set of instructions. Reference: Which Windows operating system version am I running?
Figure 6

9. Version number: 1803, so select the instructions: Windows 10 Fall Creators Update (v1709) and later.

10. Open “Hyper-V Quick Create” from the “Start” menu. Search: hyper-v, and “Hyper-V Quick Create” appears. See Figure 7.

Open "Hyper-V Quick Create" from the "Start" menu. Search: hyper-v, and "Hyper-V Quick Create" appears
Figure 7

11. Select an operating system: Ubuntu 22.04 LTS. See Figure 8.

Select an operating system: Ubuntu 22.04 LTS
Figure 8

12. The virtual machine has been created successfully. Connect. See Figure 9.

The virtual machine has been created successfully. Connect.
Figure 9

13. The virtual machine Ubuntu 22.04 LTS is off, click Start. See Figure 10.

The virtual machine Ubuntu 22.04 LTS is off, click Start
Figure 10

14. The virtual machine Ubuntu 22.04 LTS started successfully. Select Chinese (Simplified). See Figure 11.

The virtual machine Ubuntu 22.04 LTS started successfully. Select Chinese (Simplified)
Figure 11

15. Keyboard layout selection: Chinese. See Figure 12.

Keyboard layout selection: Chinese
Figure 12

16. Where are you? Shanghai. See Figure 13.

Where are you? Shanghai
Figure 13

17. Who are you? See Figure 14.

Who are you?
Figure 14

18. When using an enhanced session, upon login. See Figure 15.

When using an enhanced session, upon login
Figure 15

19. After logging in, the screen is blank. You can switch to a basic session, or you may need to wait a longer time. See Figure 16.

After logging in, the screen is blank. You can switch to a basic session, or you may need to wait a longer time
Figure 16

20. After logging in, the interface is normal. See Figure 17.

After logging in, the interface is normal
Figure 17

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

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

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

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

关于我  ·  GitHub  ·  邮件联系