aboutsummaryrefslogtreecommitdiff
path: root/boot.old/grub/grub.cfg
blob: 3540af0bf82c5ee5f537da55546154de7b29fed5 (plain)
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
set timeout=5
set default=0
set esp='hd0,gpt1'
set themedir=($esp)/boot/grub/themes/akiba

# Load font from ESP
loadfont $themedir/f/akiba.pf2

set gfxmode=800x600x32
insmod all_video
insmod gfxterm
insmod gfxmenu
insmod png
terminal_output gfxterm

set theme=$themedir/theme.txt

insmod part_gpt
insmod part_msdos
insmod fat
insmod afs

# Switch to the AFS partition
set root='hd0,gpt2'

menuentry "Akiba" {
    echo "Loading kernel from AFS partition..."
    multiboot2 /system/akiba/mirai.kernel
    boot
}