바뀜

둘러보기로 가기 검색하러 가기
1,614 바이트 추가됨 ,  2018년 6월 9일 (토) 23:35
=== 부트로더(GRUB) 설치 ===
이 단계까지 왔다면 디스크에 buster는 설치되었습니다. 이제 시스템을 부팅할 때 디스크에 있는 OS 정보를 커널을 메모리에 올리기 적재하기 위해서부트로더(boot loader)를 설치해야 합니다. 데비안에서 부트로더로 GRUB을 GRUB(Grand Unified Bootloader)을 사용합니다.
[[File:13_(Debian10_install)_Install-bootloader.png]]
 
 
GRUB는 디스크의 0번 섹터에 위치한 MBR(Master Boot Record)에 설치됩니다. MBR의 크기는 512 바이트입니다. <ref>https://gyires.inf.unideb.hu/GyBITT/20/ch02.html</ref>
 
https://gyires.inf.unideb.hu/GyBITT/20/images/ch2-mbr.png
 
 
MBR은 디스크의 파티션에 대한 정보를 가지고 있습니다.
 
리눅스의 부팅 과정은 어떻게 될까요? 간단하게 설명하자면 우선 바이오스에서 POST(Power-On Self-Test)를 수행합니다. 컴퓨터 주변 장치들에 이상이 없다면 바이오스는 MBR을 메모리에 적재합니다. MBR은 우리가 설치한 부트로더(bootloader)인 GRUB를 메모리를 적재합니다. GRUB는 커널을 메모리에 적재합니다. 커널은 디스크에 저장된 루트 파일 시스템(/)을 마운트합니다. <ref>https://www.ibm.com/developerworks/library/l-linuxboot/index.html</ref> <ref>https://0xax.gitbooks.io/linux-insides/content/Booting/linux-bootstrap-1.html</ref> <ref>https://www.thegeekstuff.com/2011/02/linux-boot-process/</reF> <ref>https://www.slashroot.in/linux-booting-process-step-step-tutorial-understanding-linux-boot-sequence</ref> <ref>https://www.reddit.com/r/explainlikeimfive/comments/5a4x8f/eli5_mbr_bootstrap_bootloader/</ref> <ref>https://www.computerhope.com/jargon/b/bootload.htm</ref>
 
만약 컴퓨터가 부팅할 때 MBR에 문제가 생기면 어떻게 될까요? 당연히 부팅이 안됩니다.
따라서 이러한 점을 노리고 MBR을 공격하는 [http://kr.ahnlab.com/Help/V3IS7/AhnLab_V3IS7/ko_KR/boot_viruses.htm 부트 바이러스]가 존재하는 것입니다.
[[File:14_(Debian10_install)_Finish.png]]
 
=== 리부팅 ===

둘러보기 메뉴