aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-01-23 03:13:12 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-01-23 03:28:55 +0000
commit92b69078acaac5681bf697bf2383c9f2ac63ff02 (patch)
treedfc14715119d9c8dd172fb4dc1115131b45445c8
parent3a87740b4734c0e65aa8fbcfcf418ee99f006a9a (diff)
downloadlibrebootfr-92b69078acaac5681bf697bf2383c9f2ac63ff02.tar.gz
librebootfr-92b69078acaac5681bf697bf2383c9f2ac63ff02.zip
grub.cfg: Add USB to the Search for GRUB menuentry
For the Guix GNU/Linux distribution.
-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 ed7ca027..390d8052 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