summaryrefslogtreecommitdiffstats
path: root/config/binary_local-includes/EFI/BOOT/grub/grub.cfg
blob: 69cdafdd7e95b44b33d1cd98d78f5c4742a8fe0e (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
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
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

set linux_gfx_mode=
export linux_gfx_mode
load_video

menuentry "Tails64" {
	echo "Loading Linux..."
	linux /live/vmlinuz2 initrd=/live/initrd2.img boot=live config live-media=removable apparmor=1 security=apparmor nopersistent noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 splash noautologin module=Tails
	echo "Loading initramfs..."
	initrd /live/initrd2.img
	echo "Booting..."
	boot
}

menuentry "Tails64failsafe" {
	echo "Loading Linux..."
	linux /live/vmlinuz2 initrd=/live/initrd2.img boot=live config live-media=removable apparmor=1 security=apparmor nopersistent noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 nosplash noautologin module=Tails nomodeset
	echo "Loading initramfs..."
	initrd /live/initrd2.img
	echo "Booting..."
	boot
}

menuentry "Tails32" {
	echo "Loading Linux..."
	linux /live/vmlinuz initrd=/live/initrd.img boot=live config live-media=removable apparmor=1 security=apparmor nopersistent noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 splash noautologin module=Tails
	echo "Loading initramfs..."
	initrd /live/initrd.img
	echo "Booting..."
	boot
}

menuentry "Tails32failsafe" {
	echo "Loading Linux..."
	linux /live/vmlinuz initrd=/live/initrd.img boot=live config live-media=removable apparmor=1 security=apparmor nopersistent noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 nosplash noautologin module=Tails nomodeset
	echo "Loading initramfs..."
	initrd /live/initrd.img
	echo "Booting..."
	boot
}

menuentry "syslinux: liveamd64.cfg" {
	insmod syslinuxcfgfile
	echo "Loading syslinux configuration..."
	syslinux_configfile /efi/boot/liveamd64.cfg
}

menuentry "syslinux.cfg" {
	insmod syslinuxcfg
	insmod cpuid
	echo "Loading syslinux configuration..."
	syslinux_configfile /efi/boot/syslinux.cfg
}