summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-01-22 22:13:12 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-01-22 22:28:55 (EST)
commit92b69078acaac5681bf697bf2383c9f2ac63ff02 (patch)
treedfc14715119d9c8dd172fb4dc1115131b45445c8 /resources
parent3a87740b4734c0e65aa8fbcfcf418ee99f006a9a (diff)
downloadlibreboot-92b69078acaac5681bf697bf2383c9f2ac63ff02.zip
libreboot-92b69078acaac5681bf697bf2383c9f2ac63ff02.tar.gz
libreboot-92b69078acaac5681bf697bf2383c9f2ac63ff02.tar.bz2
grub.cfg: Add USB to the Search for GRUB menuentry
For the Guix GNU/Linux distribution.
Diffstat (limited to 'resources')
-rw-r--r--resources/grub/config/menuentries/common.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/grub/config/menuentries/common.cfg b/resources/grub/config/menuentries/common.cfg
index ed7ca02..390d805 100644
--- a/resources/grub/config/menuentries/common.cfg
+++ b/resources/grub/config/menuentries/common.cfg
@@ -56,12 +56,12 @@ menuentry 'Switch to grubtest.cfg' {
set root='cbfsdisk'
configfile (cbfsdisk)/grubtest.cfg
}
-menuentry 'Search for GRUB configuration on internal storage' {
+menuentry 'Search for GRUB configuration (grub.cfg) outside of CBFS' {
insmod regexp
insmod ahci
insmod part_msdos
insmod part_gpt
- for x in (ahci0,*) ; do
+ for x in (ahci0,*) (usb0) (usb0,*); do
if [ -f "$x/grub/grub.cfg" ] ; then
submenu "Load Config from $x" $x {
root=$2