Centos supports both bios and UEFI startup, so there are two installation methods.
I. Traditional BIOS installation methods
(1) set BIOS: Enable CSM and disable secure startup;
(2) Use diskgen or similar tools to format the hard disk in MBR format;
(3) download the CentOS-6.4-x86_64-minimal.iso on the official website and burn it into a cd;
(4) Start the disk and install it step by step.
After the installation is completed, the centos startup process is as follows:
Boot Process: BIOS ---- hard disk MBR (With grub part) ---------- other parts of grub (may be located in the first several sectors of a partition) ------- load and start centos.
Note: in fact, it is difficult for other parts of grub to survive. You must find enough sectors to store yourself, it cannot be the same as the sector used by the File System (because grub has very few code and cannot identify the file system, it can only find other parts by the physical sector, the physical sector occupied by files in the file system may change, so the remaining part of grub cannot be stored in the file system !!!
Ii. Modern UEFI Installation
(1) set BIOS: Disable CSM and disable secure startup;
(2) Use diskgen or similar tools to format the hard disk in GPT format (more than four primary partitions can be created );
(3) download the CentOS-6.3-x86_64-minimal-EFI.iso on the official website and burn it into a cd;
(4) Start and install the system from the CD. During installation, an ESP partition must be created and mounted to/boot/EFI. Other operations are the same as traditional installation.
Note:
After the installation is complete,/EFI/redflag/grub. EFI in the ESP partition is started by default. After the system starts, you can run the efiboogmgr command to view and modify the UEFI Startup menu. However, my own experiment proves that the modified menu does not take effect. Another way to change the Startup File is to change the grub. change the name of EFI so that UEFI cannot find this file. When the menu item is invalid,/EFI/boot/bootx64.efi is automatically started. This is just an agreed file name. You can rename any desired Startup File. My approach is to refind. change the name of EFI to bootx64.efi, so that refind can be started by default, and the bootmanger refind can automatically scan all the FAT32 partitions. the EFI file is listed in the graphic interface for the user to choose to start.
The centos startup process after installation is as follows:
Startup Process: BIOS ------ grub. EFI program in the hard disk ESP partition ------- load and start centos.
Note: This method provides a dedicated partition for the start loader grub, making grub very comfortable and bulky, and there is no need to divide it into multiple parts, this is grub. EFI.
Iii. Installation Methods
The installation of centos in the traditional BIOS + MBR mode or UEFI + GPT mode depends on the environment. If the hard disk is larger than 2 TB, UEFI + GPT is required. From the perspective of technological development, UEFI + GPT is a trend. If the motherboard and OS support, try to use UEFI + GPT to install the OS!
Link: http://www.linuxidc.com/Linux/2014-05/101574.htm
This article from the "qingqingjiayuan" blog, please be sure to keep this source http://77jiayuan.blog.51cto.com/386386/1545298
Install centos 6.5 in GPT mode on UEFI Motherboard