blob: d23f22aa33bd4090fcae110ce78c7f55675ce7b9 (
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
31
32
33
34
35
36
37
|
set default=0
set fallback=1
set timeout=10
menuentry "Search & load /boot/multiboot.img" {
search -s -f /boot/multiboot.img
if multiboot /boot/multiboot.img ; then
boot
fi
unset timeout
}
# For separate /boot partition.
menuentry "Search & load /multiboot.img" {
search -s -f /multiboot.img
if multiboot /multiboot.img ; then
boot
fi
unset timeout
}
menuentry "Search & source /boot/grub/grub.cfg" {
search -s -f /boot/grub/grub.cfg
source /boot/grub/grub.cfg
unset timeout
}
# For separate /boot partition.
menuentry "Search & source /grub/grub.cfg" {
search -s -f /grub/grub.cfg
source /grub/grub.cfg
unset timeout
}
menuentry "Reboot" {
reboot
}
|