Home  >  Article  >  System Tutorial  >  U disk installation Linux installation error and solution

U disk installation Linux installation error and solution

WBOY
WBOYforward
2024-02-13 15:36:03999browse

After seeing "This is How You Should Learn Linux" from the Internet, I made up my mind to return after having strayed from the software industry for many years! This article is my personal experience as a novice, I hope it can be adopted!

U disk installation Linux installation error and solution

I started to install a virtual machine on my machine according to the instructions in "This is How to Learn Linux", and it ran very well. Later, I saw someone in the exchange group installed rhel7 on his old laptop and it was running normally. I was deeply inspired and decided to try installing rhel7 on my Haier x208. However, there was a problem during the installation process. No one answered the questions in the communication group (perhaps the question was too simple or the information provided was insufficient), and Du Niang could not give a good answer. After some fussing, I finally found the solution.

Download image

Download the rhel7 mirror, I use the website to provide the mirror

U disk installation Linux installation error and solution

Download address: https://www.linuxprobe.com/tools

Create U disk

Write the image to a USB flash drive (8G). I used the Laomaotao installed version to make it. (Please ask Du Niang for specific production details!)

install the system

U disk boot

Enter the following interface:

U disk installation Linux installation error and solution

You should select “Install Red Hat Enterprise Linux 7.0″ and press Enter to enter the installation interface. (Under normal circumstances, just wait until you enter the installation graphical interface)

But my installation went wrong! ! ! The tips are as follows:

U disk installation Linux installation error and solution

This problem is that your U disk is not found. This configuration needs to be completed in the previous step, but we did not know the file name of the U disk in the previous step, so simply check the U disk in this step. device name, and then return to the previous step to complete the configuration.

Excuting an order

Execute the following command to check the name of your USB flash drive.

dracut:/# cd /dev

Then you will see the following interface:

U disk installation Linux installation error and solution

sda is the file name corresponding to the hard disk, sdb is the file name corresponding to the U disk, you can see it is sdb4 ("4" may also be other numbers, depending on the situation).

Modify path

Restart now, return to the first interface of U disk boot, then press the Tab key to modify

vmlinuz initrd=initrd.imginst.stage2=hd:LABEL=RHEL-server-7.0-x86_64-LinuxProbe.Com.iso quiet

for:

vmlinuz initrd=initrd.img inst.stage2=hd:/dev/sdb4 quite

Be careful not to delete the "quite" at the end (this newbie suffers from it)

Then press the enter key to enter the installation interface, and the installation can start smoothly.

The above is the detailed content of U disk installation Linux installation error and solution. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:lxlinux.net. If there is any infringement, please contact admin@php.cn delete