From d0c54b9ca11bdcae0b179d21028c722aeb9f9095 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Tue, 6 Oct 2015 23:40:30 +0100 Subject: grub.cfg: replace autoboot with libreboot kl3 told me to do it before pushing the last patch, but I wasn't concentrating and didn't see his message --- resources/grub/config/menuentries/common.cfg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'resources/grub/config') diff --git a/resources/grub/config/menuentries/common.cfg b/resources/grub/config/menuentries/common.cfg index 1d6c813a..8a48decc 100644 --- a/resources/grub/config/menuentries/common.cfg +++ b/resources/grub/config/menuentries/common.cfg @@ -1,11 +1,11 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [O]' --hotkey='o' --hotkey='O' { # GRUB handles (almost) every possible disk setup, but only the location of /boot is actually important, -# since GRUB only loads the user's config. As soon as the kernel takes over, autoboot's done. +# since GRUB only loads the user's config. As soon as the kernel takes over, libreboot's done. # LVM, RAID, filesystems and encryption on both raw devices and partitions in all various combinations # need to be supported. Since full disk encryption is possible with GRUB as payload and probably desired/used -# by most users, autoboot GRUB config tries to load the operating system (kernel) in the following way: +# by most users, libreboot GRUB config tries to load the operating system (kernel) in the following way: # 1. Try to decrypt raw devices first. This inside a LUKS container is pretty common # a) Try LVM and RAID first, they might be used (accross multiple (raw) devices) @@ -20,10 +20,10 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [O]' --hotkey='o # hirachy stays the same. set root=${d} # a) Check possible file locations... - for p in boot/grub/autoboot_ grub/autoboot_ boot/grub/ grub/; do + for p in boot/grub/libreboot_ grub/libreboot_ boot/grub/ grub/; do if [ -f "/${p}grub.cfg" ]; then # b) And eventually try to load the config. Using ESC one can still exit and revert back to - # autoboot's menu. + # libreboot's menu. configfile /${p}grub.cfg fi done @@ -39,7 +39,7 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [O]' --hotkey='o # therefore already scanned volumes as well) for d in crypto0 (crypt0,*) (lvm/*); do set root=${d} - for p in boot/grub/autoboot_ grub/autoboot_ boot/grub/ grub/; do + for p in boot/grub/libreboot_ grub/libreboot_ boot/grub/ grub/; do if [ -f "/${p}grub.cfg" ]; then configfile /${p}grub.cfg fi -- cgit v1.2.3-70-g09d2