aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-01-23 03:39:39 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-01-23 03:51:52 +0000
commit03d4d55792913fe130cf2fe140288b7f7b1b8f26 (patch)
treef1f17d65211c024e6eedcb452e2b0d8a45c05be3 /resources
parent92b69078acaac5681bf697bf2383c9f2ac63ff02 (diff)
downloadlibrebootfr-03d4d55792913fe130cf2fe140288b7f7b1b8f26.tar.gz
librebootfr-03d4d55792913fe130cf2fe140288b7f7b1b8f26.zip
grub.cfg: Explicitly load missing modules
Diffstat (limited to 'resources')
-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 390d8052..0d85fe19 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