-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathgrub.cfg
More file actions
71 lines (58 loc) · 1.93 KB
/
grub.cfg
File metadata and controls
71 lines (58 loc) · 1.93 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
# CodeVerse Linux GRUB Configuration
set default=0
set timeout=5
set gfxmode=auto
set gfxpayload=keep
# Load video modules
insmod all_video
insmod gfxterm
insmod png
insmod jpeg
# Set terminal
terminal_output gfxterm
# Load Tela theme
# Try multiple paths for compatibility
if [ -f /boot/grub/themes/tela/theme.txt ]; then
set theme=/boot/grub/themes/tela/theme.txt
elif [ -f $prefix/themes/tela/theme.txt ]; then
set theme=$prefix/themes/tela/theme.txt
elif [ -f ($root)/grub/themes/tela/theme.txt ]; then
set theme=($root)/grub/themes/tela/theme.txt
fi
export theme
# Fallback colors (Nord palette) if theme fails to load
set color_normal=white/black
set color_highlight=cyan/black
# Menu entries
menuentry "CodeVerse Linux (Live)" --class cvh --class gnu-linux --class os {
set gfxpayload=keep
linux /cvh/boot/x86_64/vmlinuz-linux archisobasedir=cvh archisolabel=%ARCHISO_LABEL% quiet splash
initrd /cvh/boot/x86_64/initramfs-linux.img
}
menuentry "CodeVerse Linux (Live, Copy to RAM)" --class cvh --class gnu-linux --class os {
set gfxpayload=keep
linux /cvh/boot/x86_64/vmlinuz-linux archisobasedir=cvh archisolabel=%ARCHISO_LABEL% copytoram=y quiet splash
initrd /cvh/boot/x86_64/initramfs-linux.img
}
menuentry "CodeVerse Linux (Live, Safe Graphics)" --class cvh --class gnu-linux --class os {
set gfxpayload=keep
linux /cvh/boot/x86_64/vmlinuz-linux archisobasedir=cvh archisolabel=%ARCHISO_LABEL% nomodeset quiet
initrd /cvh/boot/x86_64/initramfs-linux.img
}
menuentry "CodeVerse Linux (Live, Verbose Boot)" --class cvh --class gnu-linux --class os {
set gfxpayload=keep
linux /cvh/boot/x86_64/vmlinuz-linux archisobasedir=cvh archisolabel=%ARCHISO_LABEL%
initrd /cvh/boot/x86_64/initramfs-linux.img
}
menuentry "" {
# Separator
}
menuentry "UEFI Firmware Settings" --class efi {
fwsetup
}
menuentry "Reboot" --class restart {
reboot
}
menuentry "Shutdown" --class shutdown {
halt
}