-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsyslinux.cfg
More file actions
79 lines (65 loc) · 2.07 KB
/
syslinux.cfg
File metadata and controls
79 lines (65 loc) · 2.07 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# =============================================================================
# Syslinux/ISOLINUX Boot Configuration
# =============================================================================
# Default boot entry
DEFAULT linux
# Timeout in deciseconds (10 = 1 second). Set to 0 for no timeout.
TIMEOUT 30
# Prompt user for boot options
PROMPT 0
# Display boot menu
UI menu.c32
# Menu title
MENU TITLE handbuilt-linux Boot Menu
# Menu colors
MENU COLOR border 30;44 #40ffffff #00000000 std
MENU COLOR title 1;36;44 #ff00ff00 #00000000 std
MENU COLOR sel 7;37;40 #ffffffff #ff000000 all
MENU COLOR unsel 37;44 #ffffff00 #00000000 std
# -----------------------------------------------------------------------------
# Boot Entries
# -----------------------------------------------------------------------------
LABEL linux
MENU LABEL ^handbuilt-linux (Default)
MENU DEFAULT
KERNEL /bzImage
APPEND initrd=/initramfs quiet
TEXT HELP
Boot the custom Linux distribution with default settings.
ENDTEXT
LABEL linux-verbose
MENU LABEL handbuilt-linux (^Verbose)
KERNEL /bzImage
APPEND initrd=/initramfs loglevel=7
TEXT HELP
Boot with verbose kernel messages for debugging.
ENDTEXT
LABEL linux-console
MENU LABEL handbuilt-linux (Serial ^Console)
KERNEL /bzImage
APPEND initrd=/initramfs console=ttyS0,115200n8
TEXT HELP
Boot with serial console output (useful for headless systems).
ENDTEXT
LABEL linux-emergency
MENU LABEL handbuilt-linux (^Emergency Mode)
KERNEL /bzImage
APPEND initrd=/initramfs emergency
TEXT HELP
Boot into emergency mode (minimal init, no services).
ENDTEXT
# -----------------------------------------------------------------------------
# Utilities
# -----------------------------------------------------------------------------
LABEL reboot
MENU LABEL ^Reboot
COM32 reboot.c32
TEXT HELP
Reboot the system.
ENDTEXT
LABEL poweroff
MENU LABEL ^Power Off
COM32 poweroff.c32
TEXT HELP
Power off the system.
ENDTEXT