본문 바로가기

Linux & Unix

CentOS 설치 미디어 부팅 구조

# CentOS 7.4 기준

CentOS 설치 미디어 부팅 구조

Anaconda boot image for BIOS isolinux/isolinux.bin
Anaconda boot image for UEFI EFI/BOOT/BOOTX64.EFI
Anaconda 부팅 config for BIOS isolinux/isolinux.cfg for BIOS
Anaconda 부팅 config for UEFI EFI/BOOT/grub.cfg for UEFI 
images/product.img Anaconda 에 의해 로드됨 
cpio,gziped file

mkisofs 옵션

-o custom.iso 생성되는 파일 이름
-b isolinux/isolinux.bin  announces a data file as El Torito boot image for PC-BIOS. 
-c isolinux/boot.cat  sets the filename for the El Torito Boot Catalog
-e images/efiboot.img announces a data file as El Torito boot image for EFI

 El Torito Structure

El Torito booting begins by the Boot Record of the ISO 9660 filesystem at block address 0x11. 
See also article ISO 9660. 
This Boot Record points to a Boot Catalog which is stored in one or more blocks inside the ISO 9660 filesystem. 

The Boot Catalog lists the available boot images which may be prepared for multiple system architectures, called "platforms". 
These images are marked either as emulated floppies, or as emulated hard disks, or as no-emulation images. 
In any case they are the first stage in the boot process where custom code from the ISO filesystem can be executed.