aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/image/grub.cfg
blob: 21d719261b1a7b03f081b2a8b5b08701cc0666d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@SERIAL_CONFIG@
@TERMINAL_CONFIG@

set default="0"
set timeout="@TIMEOUT@"
set root='(@ROOT@)'

menuentry "@TITLE@" {
	linux /boot/vmlinuz @CMDLINE@ noinitrd
	set amd="/boot/amd-ucode.img"
	set intel="/boot/intel-ucode.img"
	if [ -s "$amd" ]; then
		initrd $amd $intel
	fi
	if [ -s "$intel" ]; then
		initrd $intel $amd
	fi
}
menuentry "@TITLE@ (failsafe)" {
	linux /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd
}