0.1.605
by rmh
Improve qemu description, add sample grub.cfg. |
1 |
set default=0 |
2 |
set fallback=1 |
|
3 |
set timeout=10 |
|
4 |
||
5 |
menuentry "Search & load /boot/multiboot.img" {
|
|
6 |
search -s -f /boot/multiboot.img
|
|
7 |
if multiboot /boot/multiboot.img ; then
|
|
8 |
boot
|
|
9 |
fi
|
|
10 |
unset timeout
|
|
11 |
}
|
|
12 |
||
13 |
# For separate /boot partition.
|
|
14 |
menuentry "Search & load /multiboot.img" {
|
|
15 |
search -s -f /multiboot.img
|
|
16 |
if multiboot /multiboot.img ; then
|
|
17 |
boot
|
|
18 |
fi
|
|
19 |
unset timeout
|
|
20 |
}
|
|
21 |
||
22 |
menuentry "Search & source /boot/grub/grub.cfg" {
|
|
23 |
search -s -f /boot/grub/grub.cfg
|
|
24 |
source /boot/grub/grub.cfg
|
|
25 |
unset timeout
|
|
26 |
}
|
|
27 |
||
28 |
# For separate /boot partition.
|
|
29 |
menuentry "Search & source /grub/grub.cfg" {
|
|
30 |
search -s -f /grub/grub.cfg
|
|
31 |
source /grub/grub.cfg
|
|
32 |
unset timeout
|
|
33 |
}
|
|
34 |
||
35 |
menuentry "Reboot" {
|
|
36 |
reboot
|
|
37 |
}
|