Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Detailed installation of CentOS 6.x     - Setting Wetty do not need an account login command line operations (Linux)

- A process of how to get the current traffic in GNU Linux (Linux)

- Zabbix monitors Nginx status (Server)

- VirtualBox virtual machine can not start to solve under Ubuntu (Linux)

- Summary of Docker mounted directory (Server)

- learning Linux ls command examples (Linux)

- The Java ThreadLocal (Programming)

- How do I upgrade to Ubuntu 15.04 (Beta) (Linux)

- JavaScript function part (Programming)

- Weld a problem in JDK 8u60 environment (Programming)

- To install Cinnamon desktop environment on your Ubuntu 14.04 / 12.04 (Linux)

- Ease of use "Explain Shell" script to understand Shell command (Linux)

- Ubuntu install Liferea news subscription software (Linux)

- How to deploy Icinga server (Server)

- Share and show your code on GitHub (Linux)

- Protection Docker container Notice (Server)

- wget command usage Explanation (Linux)

- OpenStack image production in the CentOS 6.2 (Linux)

- Linux / Raspberry Pi using the following command-line based web browser (Linux)

- sudo command scenario analysis (Linux)

 
         
  Detailed installation of CentOS 6.x
     
  Add Date : 2018-11-21      
         
         
         
  CentOS 6.x installation process that many people feel can be installed, no need to understand is how to install, but I have eaten this before due to the loss (interview), they still write it down, in case we met, you can there is a reference.

We first look at the CentOS installation CD in the directory:

We explain the role of these directories (file no role, are some KEY file, GPL information, etc.)

About EFI EFI # files using Boot

images # installation image install.img and something about pxe boot files

isolinux # boot file directories, including vmlinuz, initrd.img, isolinux.bin etc.

Packages # rpm package common

repodata #yum index source, and some documentation

Our main concern here images and isolinux directory, just as in the catalog EFI EFI boot so I can not get to the bottom, the other two directories are also added.

1.images contents of the directory:

pxeboot catalog:

install.img files, mirroring the installer is located, the system is installed by this image of the anaconda installation program.

vmlinuz is the compressed kernel, the boot program starts first thing in the kernel boot;

initrd.img is for kernel provides some additional drivers and a file system simulation environment.

efi efi boot still on, ignore it.

2.isolinux catalog:


The more the file directory, we only need to be concerned about the following few:

isolinux.bin # boot program (can be understood as bootloader), the program will start after the BIOS POST

isolinux.cfg # bootloader configuration file

vmlinuz # compressed kernel, isolinux.bin will start after starting vmlinuz and initrd.img

initrd.img # provide drivers and the kernel provides basic system environment, which is a small file system, for which there is a kernel calls init program used to start anaconda

grub.conf # grub provided sample configuration files, the installation does not start grub so less than

We found, pxeboot and isolinux directories all contain vmlinuz and initrd.img, these two files in the directory are actually identical.

Repeated blows, we really need to care about the fact that only a few below:

1.isolinux.bin

2.isolinux.cfg

3.vmlinuz

4.initrd.img

5.install.img

The installation process is roughly like this:

After inserting the disc and turn on the computer will self-test (POST), the self-test no problem, it will start BIOS, BIOS boot order to find the CD and find BOOTLoader according to, at this time BOOTLoader is isolinux.bin, isolinux.bin according isolinux .cfg provides a menu interface (vesamenu.c32 start the program) allows the user to select the operation, look at the file isolinux.cfg

default vesamenu.c32 # program provides a menu function, if not in interactive mode, then you can skip
#prompt 1 # whether to enter the interactive mode, 1, 0 N
timeout 600 # timeout period
 
display boot.msg # show boot.msg file, futile, can be ignored
menu background splash.jpg # This displays a background paper, isolinux directory can be seen splash.jpg
menu title Welcome to CentOS 6.5! # play a Welcome to CentOS 6.5!
menu color border 0 #ffffffff # 00000000
menu color sel 7 #ffffffff # ff000000
menu color title 0 #ffffffff # 00000000
menu color tabmsg 0 #ffffffff # 00000000
menu color unsel 0 #ffffffff # 00000000
menu color hotsel 0 # ff000000 #ffffffff
menu color hotkey 7 #ffffffff # ff000000
menu color scrollbar 0 #ffffffff # 00000000 These are color profile
 
label linux # This is the start tag
  menu label ^ Install or upgrade an existing system # installation or upgrade system
  menu default # default startup label
  kernel vmlinuz # boot kernel
  append initrd = initrd.img # start initrd
label vesa
  menu label Install system with ^ basic video driver # install basic equipment
  kernel vmlinuz # boot kernel
  append initrd = initrd.img xdriver = vesa nomodeset # boot initrd and install basic equipment parameters
label rescue
  menu label ^ Rescue installed system # rescue mode
  kernel vmlinuz
  append initrd = initrd.img rescue # started rescue mode
label local
  menu label Boot from ^ local drive
  localboot 0xffff
label memtest86
  menu label ^ Memory test
  kernel memtest
  append -

We can see, in fact, isolinux.bin read isolinux.cfg file and starts vesamenu.c32, the background image is loaded, then the option menu. After the user selects the installation menu, isolinux according to the information (we are here first):

label linux # is the start tag
  menu label ^ Install or upgrade an existing system # installation or upgrade system
  menu default # default startup label
  kernel vmlinuz # boot kernel
  append initrd = initrd.img # start initrd

Boot kernel and initrd (initrd can append parameters), and tells the kernel to perform the installation. initrd role is to become a basic virtual file system, which contains a number of commands and drivers, and so, according to the initrd kernel find install.img program, install.img start anaconda program interacts with the user to complete the installation of the operating system (anaconda can Depending on the configuration files automatically install the system, you need to provide a kickstart file).
     
         
         
         
  More:      
 
- CentOS use wget (Linux)
- Usage Linux device tree (Programming)
- Memcached distributed caching (Server)
- Linux Getting Started tutorial: Ubuntu 14.04 in the installation Sogou Pinyin (Linux)
- Linux package management (Linux)
- HBase Application Development Review and Summary of Series (Database)
- Linux system Perl Lite netstat (Linux)
- CentOS cross compiler core Raspberry Pi 2 (Linux)
- Oracle physical storage structure outline (Database)
- You can not ignore the seven Git tips (Linux)
- Linux installation beautify early experience (Linux)
- How to manage your to-do list with the Go For It on Ubuntu (Linux)
- How to install the Ruby runtime environment on Mac OS X (Linux)
- pdf.js Tutorial (Linux)
- Linux network security probing tools Hping2 (Linux)
- SecureCRT use the configuration detailed tutorial (Linux)
- Binding unofficial Google Drive and Ubuntu 14.04 LTS (Linux)
- A drop datafile Oracle bug (Database)
- Debian users to install FFmpeg 2.2.2 (Linux)
- Common DDOS attacks (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.