SlideShare a Scribd company logo
1 of 14
GRUB의 이해
      -1주차 보충강의-



발표일 2012.03.14
발표자 신철규
이메일 chulgs15@gmail.com
1. HDD와 Partition


  기기명     물리        논리   기기명   물리     논리
           a        1           a     1
           b        2           b     2
   hd                    sd
           c        3           c     3
           d        4           d     4




          IDE                  SATA


                                           2
1. HDD와 Partition




      /boot         swap           /

                    <SATA HDD1>



     /home           /bin         /usr

                    <SATA HDD2>

                                         3
2. 부팅의 구조 – boot sector



                                      Optional




        MBR                  Linux
       (master    Grub     (/boot/v     /         다른 파티션에
                           mlinuz.i    (root
         boot    (/boot)               폴도        들어있는 다른 OS
                              mg)
       record)                         구조)
                           커널 적재

                 sda1       sda2       sda3

                                <HDD>


                                                              4
2. Grub의 구조




              5
2. Grub의 구조




                            Optional

                 bootmgr

        MBR                                     Linux
       (master       Window7                  (/boot/v    /
                                       grub   mlinuz.i   (root
         boot        enterprise                          폴도
       record)                                   mg)
                                                         구조)
                                              커널 적재




                              <HDD>


                                                                 6
2. Grub의 구조




              7
2. Grub의 구조




              8
2. Grub의 구조




                            Optional

                 bootmgr

        MBR                                     Linux
       (master         Other                  (/boot/v    /
         boot        (Window7          grub   mlinuz.i   (root
                     Enterprise)                         폴도
       record)                                   mg)
                                                         구조)
                                              커널 적재




                              <HDD>


                                                                 9
2. Grub의 구조




              10
2. Grub의 구조




                           Optional

                bootmgr

       MBR                                      Linux
      (master       Window7                   (/boot/v    /
                                       grub   mlinuz.i   (root
        boot        enterprise                           폴도
      record)                                    mg)
                                                         구조)
                                              커널 적재




      hd(0,0)        hd(0,1)                  hd(0,2)

                               <HDD>

                                                                 11
1. HDD와 Partition


  기기명     물리        논리   기기명   물리   논리
          a         1          0    0
          b         2          1    1
   sd                    hd
          c         3          2    2
          d         4          3    3




         SATA


                                         12
2. Grub의 구조




Kernel 이미지 경로

                / 이미지 경로




                           13
수고하셨습니다.




           14

More Related Content

What's hot

Windows MSCS 운영 및 기타 설치 가이드
Windows MSCS 운영 및 기타 설치 가이드Windows MSCS 운영 및 기타 설치 가이드
Windows MSCS 운영 및 기타 설치 가이드CheolHee Han
 
20150502 unix v6로 배우는 커널의 원리와 구조 1 김지은
20150502 unix v6로 배우는 커널의 원리와 구조 1 김지은20150502 unix v6로 배우는 커널의 원리와 구조 1 김지은
20150502 unix v6로 배우는 커널의 원리와 구조 1 김지은jieun kim
 
Operating system #1
Operating system #1Operating system #1
Operating system #1Taewoo Kim
 
Windows 2003 MSCS 설치 가이드
Windows 2003 MSCS 설치 가이드Windows 2003 MSCS 설치 가이드
Windows 2003 MSCS 설치 가이드CheolHee Han
 
2node cluster
2node cluster2node cluster
2node clustersprdd
 
2장 리눅스의 기초
2장 리눅스의 기초2장 리눅스의 기초
2장 리눅스의 기초Young Jin Suh
 
Virtual Box를 통한 OS 설치
Virtual Box를 통한 OS 설치Virtual Box를 통한 OS 설치
Virtual Box를 통한 OS 설치sibalmonkeys
 
caanoo Device driver
caanoo Device drivercaanoo Device driver
caanoo Device driverjumiss
 
리눅스에 대하여
리눅스에 대하여리눅스에 대하여
리눅스에 대하여ETRIBE_STG
 
Pgday bdr gt1000
Pgday bdr gt1000Pgday bdr gt1000
Pgday bdr gt1000정대 천
 
Introduction to Linux #1
Introduction to Linux #1Introduction to Linux #1
Introduction to Linux #1UNIST
 
Cloudoc fujitsu desktop_svr_appliance_kor_20171013
Cloudoc fujitsu desktop_svr_appliance_kor_20171013Cloudoc fujitsu desktop_svr_appliance_kor_20171013
Cloudoc fujitsu desktop_svr_appliance_kor_20171013sang yoo
 
14 virtual memory
14 virtual memory14 virtual memory
14 virtual memorycodevania
 
Mongo DB 활용가이드 Tip 35 ~ 41
Mongo DB 활용가이드 Tip 35 ~ 41Mongo DB 활용가이드 Tip 35 ~ 41
Mongo DB 활용가이드 Tip 35 ~ 41cosmosyc
 
[개념정리] DB: Recovery
[개념정리] DB: Recovery[개념정리] DB: Recovery
[개념정리] DB: RecoveryKwangsik Lee
 
Windows 2008 MSCS 설치 가이드
Windows 2008 MSCS 설치 가이드Windows 2008 MSCS 설치 가이드
Windows 2008 MSCS 설치 가이드CheolHee Han
 
Java와 go 간의 병렬 프로그램 성능 비교
Java와 go 간의 병렬 프로그램 성능 비교Java와 go 간의 병렬 프로그램 성능 비교
Java와 go 간의 병렬 프로그램 성능 비교Daniel Lim
 

What's hot (18)

Windows MSCS 운영 및 기타 설치 가이드
Windows MSCS 운영 및 기타 설치 가이드Windows MSCS 운영 및 기타 설치 가이드
Windows MSCS 운영 및 기타 설치 가이드
 
20150502 unix v6로 배우는 커널의 원리와 구조 1 김지은
20150502 unix v6로 배우는 커널의 원리와 구조 1 김지은20150502 unix v6로 배우는 커널의 원리와 구조 1 김지은
20150502 unix v6로 배우는 커널의 원리와 구조 1 김지은
 
Operating system #1
Operating system #1Operating system #1
Operating system #1
 
Windows 2003 MSCS 설치 가이드
Windows 2003 MSCS 설치 가이드Windows 2003 MSCS 설치 가이드
Windows 2003 MSCS 설치 가이드
 
2node cluster
2node cluster2node cluster
2node cluster
 
2장 리눅스의 기초
2장 리눅스의 기초2장 리눅스의 기초
2장 리눅스의 기초
 
Virtual Box를 통한 OS 설치
Virtual Box를 통한 OS 설치Virtual Box를 통한 OS 설치
Virtual Box를 통한 OS 설치
 
caanoo Device driver
caanoo Device drivercaanoo Device driver
caanoo Device driver
 
리눅스에 대하여
리눅스에 대하여리눅스에 대하여
리눅스에 대하여
 
Pgday bdr gt1000
Pgday bdr gt1000Pgday bdr gt1000
Pgday bdr gt1000
 
Introduction to Linux #1
Introduction to Linux #1Introduction to Linux #1
Introduction to Linux #1
 
Cloudoc fujitsu desktop_svr_appliance_kor_20171013
Cloudoc fujitsu desktop_svr_appliance_kor_20171013Cloudoc fujitsu desktop_svr_appliance_kor_20171013
Cloudoc fujitsu desktop_svr_appliance_kor_20171013
 
14 virtual memory
14 virtual memory14 virtual memory
14 virtual memory
 
Mongo DB 활용가이드 Tip 35 ~ 41
Mongo DB 활용가이드 Tip 35 ~ 41Mongo DB 활용가이드 Tip 35 ~ 41
Mongo DB 활용가이드 Tip 35 ~ 41
 
[개념정리] DB: Recovery
[개념정리] DB: Recovery[개념정리] DB: Recovery
[개념정리] DB: Recovery
 
Windows 2008 MSCS 설치 가이드
Windows 2008 MSCS 설치 가이드Windows 2008 MSCS 설치 가이드
Windows 2008 MSCS 설치 가이드
 
Mongodb cluster
Mongodb clusterMongodb cluster
Mongodb cluster
 
Java와 go 간의 병렬 프로그램 성능 비교
Java와 go 간의 병렬 프로그램 성능 비교Java와 go 간의 병렬 프로그램 성능 비교
Java와 go 간의 병렬 프로그램 성능 비교
 

More from Chulgyu Shin

솜노트 에버노트 비교
솜노트 에버노트 비교솜노트 에버노트 비교
솜노트 에버노트 비교Chulgyu Shin
 
데이터베이스서버구축및운영
데이터베이스서버구축및운영데이터베이스서버구축및운영
데이터베이스서버구축및운영Chulgyu Shin
 
개인정보 보호에 대한 Pest 분석
개인정보 보호에 대한 Pest 분석개인정보 보호에 대한 Pest 분석
개인정보 보호에 대한 Pest 분석Chulgyu Shin
 
인터넷 서비스의 종류
인터넷 서비스의 종류인터넷 서비스의 종류
인터넷 서비스의 종류Chulgyu Shin
 
네트워크의 개념
네트워크의 개념네트워크의 개념
네트워크의 개념Chulgyu Shin
 
개인미디어확산
개인미디어확산개인미디어확산
개인미디어확산Chulgyu Shin
 
소셜큐레이션
소셜큐레이션소셜큐레이션
소셜큐레이션Chulgyu Shin
 
소프트웨어 설치
소프트웨어 설치소프트웨어 설치
소프트웨어 설치Chulgyu Shin
 
앱이냐?웹이냐?
앱이냐?웹이냐?앱이냐?웹이냐?
앱이냐?웹이냐?Chulgyu Shin
 
앱이냐?웹이냐?
앱이냐?웹이냐?앱이냐?웹이냐?
앱이냐?웹이냐?Chulgyu Shin
 
파일시스템 관련 명령어
파일시스템 관련 명령어파일시스템 관련 명령어
파일시스템 관련 명령어Chulgyu Shin
 
ITs 2주차_기본명령어(발표)
ITs 2주차_기본명령어(발표)ITs 2주차_기본명령어(발표)
ITs 2주차_기본명령어(발표)Chulgyu Shin
 
1주차 리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져
1주차   리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져1주차   리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져
1주차 리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져Chulgyu Shin
 

More from Chulgyu Shin (19)

솜노트 에버노트 비교
솜노트 에버노트 비교솜노트 에버노트 비교
솜노트 에버노트 비교
 
데이터베이스서버구축및운영
데이터베이스서버구축및운영데이터베이스서버구축및운영
데이터베이스서버구축및운영
 
DNS
DNSDNS
DNS
 
개인정보 보호에 대한 Pest 분석
개인정보 보호에 대한 Pest 분석개인정보 보호에 대한 Pest 분석
개인정보 보호에 대한 Pest 분석
 
Vnc, ssh
Vnc, sshVnc, ssh
Vnc, ssh
 
TCP/IP
TCP/IPTCP/IP
TCP/IP
 
Html5
Html5Html5
Html5
 
인터넷 서비스의 종류
인터넷 서비스의 종류인터넷 서비스의 종류
인터넷 서비스의 종류
 
shell and process
shell and processshell and process
shell and process
 
네트워크의 개념
네트워크의 개념네트워크의 개념
네트워크의 개념
 
개인미디어확산
개인미디어확산개인미디어확산
개인미디어확산
 
소셜큐레이션
소셜큐레이션소셜큐레이션
소셜큐레이션
 
소프트웨어 설치
소프트웨어 설치소프트웨어 설치
소프트웨어 설치
 
앱이냐?웹이냐?
앱이냐?웹이냐?앱이냐?웹이냐?
앱이냐?웹이냐?
 
앱이냐?웹이냐?
앱이냐?웹이냐?앱이냐?웹이냐?
앱이냐?웹이냐?
 
파일시스템 관련 명령어
파일시스템 관련 명령어파일시스템 관련 명령어
파일시스템 관련 명령어
 
책의미래
책의미래책의미래
책의미래
 
ITs 2주차_기본명령어(발표)
ITs 2주차_기본명령어(발표)ITs 2주차_기본명령어(발표)
ITs 2주차_기본명령어(발표)
 
1주차 리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져
1주차   리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져1주차   리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져
1주차 리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져
 

Recently uploaded

Merge (Kitworks Team Study 이성수 발표자료 240426)
Merge (Kitworks Team Study 이성수 발표자료 240426)Merge (Kitworks Team Study 이성수 발표자료 240426)
Merge (Kitworks Team Study 이성수 발표자료 240426)Wonjun Hwang
 
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...Kim Daeun
 
캐드앤그래픽스 2024년 5월호 목차
캐드앤그래픽스 2024년 5월호 목차캐드앤그래픽스 2024년 5월호 목차
캐드앤그래픽스 2024년 5월호 목차캐드앤그래픽스
 
Console API (Kitworks Team Study 백혜인 발표자료)
Console API (Kitworks Team Study 백혜인 발표자료)Console API (Kitworks Team Study 백혜인 발표자료)
Console API (Kitworks Team Study 백혜인 발표자료)Wonjun Hwang
 
A future that integrates LLMs and LAMs (Symposium)
A future that integrates LLMs and LAMs (Symposium)A future that integrates LLMs and LAMs (Symposium)
A future that integrates LLMs and LAMs (Symposium)Tae Young Lee
 
MOODv2 : Masked Image Modeling for Out-of-Distribution Detection
MOODv2 : Masked Image Modeling for Out-of-Distribution DetectionMOODv2 : Masked Image Modeling for Out-of-Distribution Detection
MOODv2 : Masked Image Modeling for Out-of-Distribution DetectionKim Daeun
 

Recently uploaded (6)

Merge (Kitworks Team Study 이성수 발표자료 240426)
Merge (Kitworks Team Study 이성수 발표자료 240426)Merge (Kitworks Team Study 이성수 발표자료 240426)
Merge (Kitworks Team Study 이성수 발표자료 240426)
 
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
 
캐드앤그래픽스 2024년 5월호 목차
캐드앤그래픽스 2024년 5월호 목차캐드앤그래픽스 2024년 5월호 목차
캐드앤그래픽스 2024년 5월호 목차
 
Console API (Kitworks Team Study 백혜인 발표자료)
Console API (Kitworks Team Study 백혜인 발표자료)Console API (Kitworks Team Study 백혜인 발표자료)
Console API (Kitworks Team Study 백혜인 발표자료)
 
A future that integrates LLMs and LAMs (Symposium)
A future that integrates LLMs and LAMs (Symposium)A future that integrates LLMs and LAMs (Symposium)
A future that integrates LLMs and LAMs (Symposium)
 
MOODv2 : Masked Image Modeling for Out-of-Distribution Detection
MOODv2 : Masked Image Modeling for Out-of-Distribution DetectionMOODv2 : Masked Image Modeling for Out-of-Distribution Detection
MOODv2 : Masked Image Modeling for Out-of-Distribution Detection
 

Grub의 이해

  • 1. GRUB의 이해 -1주차 보충강의- 발표일 2012.03.14 발표자 신철규 이메일 chulgs15@gmail.com
  • 2. 1. HDD와 Partition 기기명 물리 논리 기기명 물리 논리 a 1 a 1 b 2 b 2 hd sd c 3 c 3 d 4 d 4 IDE SATA 2
  • 3. 1. HDD와 Partition /boot swap / <SATA HDD1> /home /bin /usr <SATA HDD2> 3
  • 4. 2. 부팅의 구조 – boot sector Optional MBR Linux (master Grub (/boot/v / 다른 파티션에 mlinuz.i (root boot (/boot) 폴도 들어있는 다른 OS mg) record) 구조) 커널 적재 sda1 sda2 sda3 <HDD> 4
  • 6. 2. Grub의 구조 Optional bootmgr MBR Linux (master Window7 (/boot/v / grub mlinuz.i (root boot enterprise 폴도 record) mg) 구조) 커널 적재 <HDD> 6
  • 9. 2. Grub의 구조 Optional bootmgr MBR Linux (master Other (/boot/v / boot (Window7 grub mlinuz.i (root Enterprise) 폴도 record) mg) 구조) 커널 적재 <HDD> 9
  • 11. 2. Grub의 구조 Optional bootmgr MBR Linux (master Window7 (/boot/v / grub mlinuz.i (root boot enterprise 폴도 record) mg) 구조) 커널 적재 hd(0,0) hd(0,1) hd(0,2) <HDD> 11
  • 12. 1. HDD와 Partition 기기명 물리 논리 기기명 물리 논리 a 1 0 0 b 2 1 1 sd hd c 3 2 2 d 4 3 3 SATA 12
  • 13. 2. Grub의 구조 Kernel 이미지 경로 / 이미지 경로 13