부팅 USB

본 토픽은 현재 준비중입니다. 공동공부에 참여하시면 완성 되었을 때 알려드립니다.

GRUB 설정

개요

 GRUB 설정 파일을 수정하여 부팅 메뉴를 구성한다. USB의 /boot/grub/grub.cfg 파일을 연다. 불필요한 항목들은 제거하고 몇 가지 유용한 설정 메뉴를 추가한다.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
if [ $grub_platform = pc ] ; then
set menu_color_normal=black/light-gray
set menu_color_highlight=white/magenta
fi
if [ $grub_platform = efi ] ; then
set menu_color_normal=black/light-gray
set menu_color_highlight=white/red
fi
set default=3
set timeout=120
menuentry "My Bootloader" {true}
if [ $grub_platform = pc ] ; then
menuentry "This system has been booted to the Legacy BIOS platform with USB." {true}
fi
if [ $grub_platform = efi ] ; then
menuentry "This system has been booted to the EFI platform with USB." {true}
fi
menuentry "--------------------------------------------------------------" {true}
menuentry "New bootmenu" {true}
menuentry "--------------------------------------------------------------" {true}
menuentry "System Settings" {
fwsetup
}
menuentry "System Reboot" {
reboot
}
menuentry "System Shutdown" {
halt
}
menuentry "Exit GRUB" {
exit
}

댓글

댓글 본문
버전 관리
Hyunseok Lim
현재 버전
선택 버전
공동공부
graphittie 자세히 보기