강좌
클라우드/리눅스에 관한 강좌입니다.
리눅스 분류

GRUB전용명령어 help 사용법

작성자 정보

  • 관리자 작성
  • 작성일

컨텐츠 정보

본문

GRUB전용명령어 help 사용법

 

 

 

 

 

사용형식 : help [--all] [PATTERN ...]

 

 

 

 

 

GRUB명령어들에 대한 도움말을 출력하는 명령어입니다. 

 

 

 

  그냥 help라고 하면 전체 명령어에 대한 간략한 도움말을 출력해 주며 “help 명령어 개별 도움말에 대한 정보를 출력해 줍니다. 

 

 

 

 아래의 예는 GRUB명령어모드에서 help 실행한 것입니다. 

 

 

 

  결과 GRUB전체 명령어에 대한 간략한 도움말을 출력한 결과입니다. 

 

 

 

 

 

[root@su250 ~]# grub

Probing devices to guess BIOS drives. This may take a long time.

 

    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 

 [ Minimal BASH-like line editing is supported.  For the first word, TAB

   lists possible command completions.  Anywhere else TAB lists the possible

   completions of a device/filename.]

grub>

grub> help

help

blocklist FILE                         boot                                  

cat FILE                               chainloader [--force] FILE            

clear                                  color NORMAL [HIGHLIGHT]              

configfile FILE                        device DRIVE DEVICE                   

displayapm                             displaymem                            

find FILENAME                          geometry DRIVE [CYLINDER HEAD SECTOR [

halt [--no-apm]                        help [--all] [PATTERN ...]            

hide PARTITION                         initrd FILE [ARG ...]                 

kernel [--no-mem-option] [--type=TYPE] makeactive                            

map TO_DRIVE FROM_DRIVE                md5crypt                              

module FILE [ARG ...]                  modulenounzip FILE [ARG ...]           

pager [FLAG]                           partnew PART TYPE START LEN           

parttype PART TYPE                     quit                                  

reboot                                 root [DEVICE [HDBIAS]]                

rootnoverify [DEVICE [HDBIAS]]         serial [--unit=UNIT] [--port=PORT] [--

setkey [TO_KEY FROM_KEY]               setup [--prefix=DIR] [--stage2=STAGE2_

terminal [--dumb] [--no-echo] [--no-ed terminfo [--name=NAME --cursor-address

testvbe MODE                           unhide PARTITION                      

uppermem KBYTES                        vbeprobe [MODE]                       

grub>

 

 

 

 

그리고 다음은 reboot이라는 GRUB명령어의 도움말 정보를 얻기 위하여 “help reboot”이라는 명령어를 실행한 결과입니다. 

 

 

 

  결과 reboot이라는 GRUB명령어에 대한 도움말이 출력된 것입니다. 

 

 

 

 

 

grub> help reboot

help reboot

reboot: reboot

    Reboot your system.

grub>

grub> help -all reboot

help -all reboot

reboot: reboot

    Reboot your system.

grub>

 

 

 

 

 

그리고 다음은 kernel이라는 GRUB 전용명령어에 대한 도움말을 확인한 예입니다. 

 

 

 

 , help라는 명령어는 GRUB모드에서 각각의 GRUB명령어들에 대한 도움말을 실시간으로 확인하고자 할 때에 유용하게 사용합니다. 

 

 

 

 

 

grub> help kernel

help kernel

kernel: kernel [--no-mem-option] [--type=TYPE] FILE [ARG ...]

    Attempt to load the primary boot image from FILE. The rest of the

    line is passed verbatim as the "kernel command line".  Any

    modules must be reloaded after using this command. The option

    --type is used to suggest what type of kernel to be loaded. TYPE

    must be either of "netbsd", "freebsd", "openbsd", "linux",

    "biglinux" and "multiboot". The option --no-mem-option tells GRUB

    not to pass a Linux's mem option automatically.

grub>

 

 

 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,035 명
  • 현재 강좌수 :  35,794 개
  • 현재 접속자 :  148 명