Linux preliminary test _ installation problem sorting _ 1, linux test _ 1

Source: Internet
Author: User

Linux preliminary test _ installation problem sorting _ 1, linux test _ 1

Linux Installation Problems

Preparation:

I started to learn how to install Linux on a CD-ROM.

The problem is that I don't have a CD, so it's stiff.

Through network scanning, I chose a very simple method-U disk installation.

Need: 1, UltraISO tool (make boot U disk) (https://www.linuxidc.com/Linux/2010-03/25036.htm)

2. CentOS7.1 iso file (official website download: http://www.centoscn.com /)

3. One 8GU disk needs to be formatted (larger than 4 GB, now the ISO file is larger than 4 GB)

4. One host.

1. Create a USB flash drive

① Use the UltraISO tool file-> open and select your ISO file
      

② Start-> write to hard disk image-> write mode

      

 

Introduction to various USB flash drive modes

1, USB-HDD: Hard Disk simulation mode, DOS boot after the display C: disk, hp u disk formatting tool to make the U disk that uses this boot mode. This mode is highly compatible, but cannot be started for some computers that only support USB-ZIP mode.
2, USB-ZIP: Large Capacity floppy disk simulation mode, DOS boot after display A disk, Flash boot made of USB-ZIP boot U disk that uses this mode. This mode is the only option on some older computers, but it is not compatible with most new computers, especially large-capacity USB flash drives.
3, USB-HDD +: enhanced USB-HDD mode, DOS boot after the display C: disk, high compatibility. Its disadvantage is that it cannot be started on computers that only support USB-ZIP.
4, USB-ZIP +: enhanced USB-ZIP mode, support USB-HDD/USB-ZIP dual-mode boot (depending on the computer, some BIOS may display C: disk after DOS boot, some BIOS may display A: disk after DOS is enabled, so as to achieve high compatibility. Its disadvantage is that some support USB-HDD computer will this mode of U disk is considered to be a USB-ZIP to start, resulting in more than 4 GB of large capacity U disk compatibility decreased.
5, USB-CDROM: Disc simulation mode, DOS boot can not occupy the disc, General compatibility. The advantage is that XP/2003 can be installed like a CD. Generally, the production tool corresponding to the specific USB flash drive model/batch number is required for production. For the U3 disk, a general production tool is available on the Internet.

After selection:

     

2. Start Installation

After you set the first Boot Mode of your computer to USB flash drive, the screen will go to the Select installation interface;

   

/*************************************** **************************************** **************************************** ******************/

The next step is the most important part. I am stuck here, which is also the motivation for me to write this article.

/*************************************** **************************************** **************************************** ******************/

 

 

Here, in theory, you should be able to enter the installation selection page after clicking the first one. However, during the first installation, the black and white pages are displayed.

I thought it was a success at first, but it was wrong to take a closer look.

The following error occurs:

Dracut :/#

Through searching on the internet, it turns out that the device file name is not set correctly.

Enter the following command
Dracut:/# cd dev
Dracut:/# ls

It is possible to see similar images

Here, the focus is on how to find the file name of the USB flash drive.

In P67, I have a very detailed introduction.
To put it simply, the file display is determined by the device detection sequence. The USB disk is identified by the system after it is started. It is assumed that the USB file name should be in the following format. Of course, this is not absolute, other hardware may be detected later.

 

If I am a hard disk connected to an IDE device, it can be divided into Master and Slave devices. The file names of these four IDE devices should be shown as follows:

Master Slave

IDE1 (Primary)/dev/hda/dev/hdb

IDE2 (Secondary)/dev/hdc/dev/hdd

 

Another thing to mention here is that if a hard disk is partitioned, different partitions are also detected.

For example, if I have a hard disk and it is divided into four zones, the following should be displayed in sequence: P1:/dev/hda1.

P2:/dev/hda2

P3:/dev/hda3

P3:/dev/hda4

Therefore, it is obvious which is the file name of usb.

After finding the usb file name, you can press ctrl + alt + del to restart the machine.

Return to the initial start point, sit in front of the screen, and use the up and down keys to select the first one. Pay attention to the English at the bottom of the screen. If you do not know English, contact your mobile phone translator, no shame.

My machine is e, and some machines are tab.

Append initrd = initrd. img root = live: CDLABEL = Fedora \ x2017 \ x20i386 quiet
Then you change
Append initrd = initrd. img repo = hd:/dev/Sdb1(File Name of the USB flash drive):/quiet

Similarly, you can see the English at the bottom of the screen.

My machine is ctrl + x, and other machines have other possibilities.

Finally, the installation interface of the Linux system is successfully entered.

The subsequent content will be introduced in the next article.

 

Finally, one thing to declare is that all the images I use are obtained from the posts I have read, but the articles are typed by words.

Forward the statement.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.