summaryrefslogtreecommitdiffstats
path: root/resources/grub/config/menuentries/common.cfg
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-01-22 22:39:39 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-01-22 22:51:52 (EST)
commit03d4d55792913fe130cf2fe140288b7f7b1b8f26 (patch)
treef1f17d65211c024e6eedcb452e2b0d8a45c05be3 /resources/grub/config/menuentries/common.cfg
parent92b69078acaac5681bf697bf2383c9f2ac63ff02 (diff)
downloadlibreboot-03d4d55792913fe130cf2fe140288b7f7b1b8f26.zip
libreboot-03d4d55792913fe130cf2fe140288b7f7b1b8f26.tar.gz
libreboot-03d4d55792913fe130cf2fe140288b7f7b1b8f26.tar.bz2
grub.cfg: Explicitly load missing modules
Diffstat (limited to 'resources/grub/config/menuentries/common.cfg')
-rw-r--r--resources/grub/config/menuentries/common.cfg10
1 files changed, 9 insertions, 1 deletions
diff --git a/resources/grub/config/menuentries/common.cfg b/resources/grub/config/menuentries/common.cfg
index 390d805..0d85fe1 100644
--- a/resources/grub/config/menuentries/common.cfg
+++ b/resources/grub/config/menuentries/common.cfg
@@ -21,6 +21,10 @@ menuentry 'Load Operating System' {
fi
}
menuentry 'Parse ISOLINUX menu (USB)' {
+ insmod regexp
+ insmod usbms
+ insmod part_msdos
+ insmod part_gpt
for x in (usb0) (usb0,*); do
set root=$x
if [ -f "/menu.cfg" ] ; then
@@ -36,7 +40,10 @@ menuentry 'Parse ISOLINUX menu (USB)' {
fi
done
}
-menuentry 'Parse ISOLINUX menu (CD)' {
+menuentry 'Parse ISOLINUX menu (CD/DVD)' {
+ insmod ahci
+ insmod ata
+ insmod iso9660
for x in (ata0) (ahci1); do
set root=$x
if [ -f "/menu.cfg" ] ; then
@@ -59,6 +66,7 @@ menuentry 'Switch to grubtest.cfg' {
menuentry 'Search for GRUB configuration (grub.cfg) outside of CBFS' {
insmod regexp
insmod ahci
+ insmod usbms
insmod part_msdos
insmod part_gpt
for x in (ahci0,*) (usb0) (usb0,*); do