preamble
Getting ready to sign up for smart cars for the second year, still in the creative category of course. Just bought the new computer that came out this yearLight and Shadow Wizard 10I thought of installing a dual system on it as well. But I didn't realize that the new computer had far more trouble with new hardware and driver issues compared to that old one before.
After a series of stepping on potholes and frantic research, plus reinstalling the system N times, I finally managed to get off. So I recorded the process for subsequent use 😎
Dual System Installation
My general steps are based on this UP owner's process, and overall there is no problem, but there are some details that I need to figure out for myself due to different computer configurations.
/video/BV1554y1n7zv?p=1&vd_source=b2894b34af0b43cfe4bd8405405f2648
Download the Ubuntu image file
go directly toUbuntu Official WebsiteorTsinghua UniversityDownload the corresponding version, I downloaded 18.04.6 LTS which is the long term support version. After waiting you can get aISO image file。
Creating a system bootable USB flash drive
Back up your USB flash drive files before using it to make a system disk !!!!
The video shows UP using thewin32diskimagerBut my USB flash drive will show "Can't read file, need to format" when I open it again after downloading. Later, I usedrufusI feel it works better, it varies from person to person, you can really see the internal file structure of the system disk after using rufus! 👍
To use rufus, you need to select the inserted device (this will be detected automatically), the image file (which is the downloaded ISO file), and thenNote that the partition should be selected as GPT, and the target system type will be changed accordingly, just leave the other choices as default.
The process of making a system disk will result in a pop-up window that saysThis operation will wipe all data from the USB flash drive, so back up your files beforehand!!!!Then just wait for the production to finish.
system partition
This part is just a matter of following along in the video. But mine is a single hard drive (here's a gripe.... 24 years of gaming notebook is still only one hard disk space ....) The first thing you need to do is to divide the disk, I was commissioned to e-butler direct remote operation of the disk, do not know how to divide the small partners can also be Baidu a little 😁. I divided 200 G for Ubuntu system, anyway, the bigger the better.In Disk Management, click on the separated D drive, right-click on it, select Compressed Volumes, and you will see a part of the gray area, which is used to store the Ubuntu system.。
Disable Bitlock security key
This operation is not encountered in my old Win10 computer, it should be based on each person's computer configuration. Generally speaking, Win11 or gaming notebook should have, the function of this Bitlock seems to be to prevent the virus software to tamper with the internal data of the computer.
existSettings - Search BitlockThen you can find the switch, just turn off Bitlock. Then in order to prepare properly in case you can't log in to Window later, you can also find your recovery key on the Microsoft website above under Bitlock, and memorize it on your phone or something, just in case.
And a very important point is that this switch after turning off the next boot to find Bitlock seems to be unable to find, the specific may still be set in the BIOS, the specific how to set up will be said later!
Installing the system
The most important step is here!!!
After all the previous steps have been completed, theReboot your computer, then press the F9 key like crazy while booting up (this is the key for HP computers, different brands seem to have different hotkeys, so you need to look it up on the internet yourself)Then the BIOS interface will appear, at this time we tap F10 (there is a prompt below: enter the BIOS setup) to enter the setup BIOS interface, and thenTurn off Secure Boot in the boot options, move the boot order to move the USB drive to first (mine is F6 up, F5 down), and then always remember to go to Exit to save your changes and exit.After that, it's the reboot screen.
Selecting Ubuntu inside the reboot screen will take you to the download system, and the process will come to an end...
Unable to network issues
The first to create a system disk, install the system and so on is actually skilled quickly, but the network problem is almost the most troubling problem for me, after logging on Ubuntu18 actually found that there is no WIFI settings? After logging on to Ubuntu18, I actually found that there is no WIFI setting? A system can not access the Internet that is directly with the bare metal is no difference, although you can connect to the wired network, but the function is greatly limited ah, and in the team collaboration when the network programming is a very important part. So we must solve this problem !!!!
Wi-Fi connection
My NIC model is an AX211, which is also relatively new hardware, and compared to a 6 year old system like Ubuntu 18.04, obviously not having a network must just beDriver issues! So I thought about how to put this driver on it!
source of replacement
This is what I found out after stepping in the hole several times, and the first thing you need to do is change the software source. In theSoftware & UpdatesThe following download server there to replace the domestic site, I replaced theTsinghua UniversityOriginally, it would have been fine to talk about AliSource, but there are problems here as well, which will be encountered later.
So just to be on the safe side, switch to Ching Hua YuanThis time, you will be reminded to update the software list, but even the network is not how to update it? No way, either connect to the network cable or their own cell phone USB network sharing /(ㄒoㄒ)/~~, replace the source well after.
command input
Since it's a new system, first download git and make
sudo apt install git
sudo apt-get install make
Then execute the following code:
Click to view code
sudo apt install flex bison
git clone /pub/scm/linux/kernel/git/iwlwifi/
cd backport-iwlwifi
sudo make defconfig-iwlwifi-public
sudo make
sudo make install
(Depends on individual circumstances)
git clone git:///pub/scm/linux/kernel/git/firmware/
cd linux-firmware/
sudo cp iwlwifi-* /lib/firmware/
reboot
The flex bison here is currently only known to be available for download on the Tsinghua source, not on the main server or the Ali source., which is why the source was changed earlier.
The function of the latter code is to clone the wireless driver package, and then decompress and compile in the package
The second package can actually be downloaded without it, in my case the first package is in thesudo make install
post-implementationreboot
Reboot you can see the wifi icon, as for the need for a second package according to personal circumstances, if the first package install after no change on the import of the second packageThe second package is over 900M and takes longer to download ....
Do not reinstall the kernel!!!
Many online tutorials have mentioned reinstalling the kernel, I also followed the idea of reinstalling the kernel at first, but it doesn't really work... And the kernel version span is too large easily lead to the subsequent use of many software compatibility problems, when more trouble! So here we suggest not to reinstall the kernel version as much as possible do not reinstall the kernel.
I used the commanduname -r
Check your own kernel version that is the system default5.4.08
and subsequent access to the Internet.
It's all done here !!!! You can surf the net happily!
wired connection
As a college student, I'm sure you can't avoid the interference of the campus network, it's easy to connect to the wired network under Window, but not so easy to connect to the wired network under Ubuntu, and I've been trying to figure it out for a long time before I've finally succeeded! I've been trying to figure out how to do this for a long time, and I'm going to share the process with you.
Download Linux 64-bit Client
This must be downloaded, in the absence of Internet access when the browser automatically jumps out of the page can be, my school downloaded Drclient. then download the package unzipped to the folder, generally speaking, in the download installation package page will have a small text to tell you how to use, my Drclient show is:
After unzipping for the first time run the pri.... .sh file and then click on DrclientLinux Client to start the
network setup
Go to the Wired Networks page in Settings.Click on the + sign to create a new network, which is very important! I realized that many times I stepped in the hole earlier was because it wasn't a new network.
Then name the new network, enter the school-assigned IP address, gateway, mask, etc., and use your own computer's address for the MAC address.Note that the security options (especially 802.1x Security) are unchecked!, the election is easily invalidated, which is also a pitfall.
Just click Save Settings after all the settings are set, then re-click DrclientLinux client to start it up and you're happily connected to the internet!!!! 😊😊
Other issues
The Ubuntu 18.04 problem was solved, but other problems were encountered during repeated reinstallations of the system:
In the process of installing Ubuntu 20.04 LTS on my computer, the BIOS appears after selecting the Ubuntu boot itemblack screenphenomenon, it is now understood that this should beGraphics Card DriverThe problem, but I didn't solve it and don't want to toss it hhhh. hopefully one of the big guys can fix it in the future, but the most straightforward thing to do is to install a high version of Ubuntu, once and for all~
The second thing is that after turning off Bitlock, there is always a warning when shutting down under Window that saysinstruction already references xxxx to xxxx memory and cannot be set to readI can't understand what this means, but I don't think it has any effect, maybe it's a matter of turning off Bitlock, if I uninstall Ubuntu later I hope it can be restored (●ˇ∀ˇ●).
postscript
As an Ubuntu semi-newbie, it is true that when encountered a new problem will be a little bit caught off guard, but as long as the mind to think about what the main cause of the problem will be, diligently search the Internet for information, the probability of can be solved!!!! This time to solve the problem is indeed full of sense of accomplishment, I hope that the future problems encountered can also be successfully solved!
bibliography
Special thanks to the internet gurus for giving me a lot of ideas on how to solve my problems, which are listed below:
/shikaiaixuexi/article/details/131565396
/booturbo/p/
/qq_40068431/article/details/122870644
/m0_68158707/article/details/130720017
/nudt_zrs/article/details/124229833
/chen20170325/article/details/127692547