GRUB전용명령어 boot 사용법
작성자 정보
- 관리자 작성
- 작성일
컨텐츠 정보
- 2,482 조회
- 0 추천
- 목록
본문
GRUB전용명령어 boot 사용법
사용형식 : boot
GRUB의 root명령어로 지정된 특정 디바이스의 특정 파티션에서 GRUB의 kernel명령어로 지정된 커널로 부팅을 하는 부팅명령어입니다.
즉, 이 boot라는 명령어를 사용하여 부팅을 하기 전에 root명령어로 특정 디바이스가 지정이 되어 있어야 하며 kernel이라는 명령어로 부팅시 사용할 커널이 지정되어 있어야 합니다.
즉, boot라는 명령어는 이미 준비되어 있는 이와 같은 디바이스와 커널로 부팅을 시작하라는 명령입니다.
다음 예는 root로 부트디바이스를 지정하고 kernel로 부팅할 커널을 지정한 후에 boot라는 명령어로 부팅을 한 예입니다.
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> root (hd0,0) Filesystem type is ext2fs, partition type 0x83 grub> grub> kernel /vmlinuz-2.6.18-92.SUL2.fd ro root=/dev/sda6 [Linux-bzImage, setup=0x1e00, size=0x1b7034] grub> grub> boot
|
위와 같이 boot명령어가 실행된 이후에는 root명령어와 kernel명령어에서 설정된 정보를 가지고 시스템부팅을 시작합니다.
관련자료
-
이전
-
다음