summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-01-02 13:03:16 (EST)
committer Francis Rowe <info@gluglug.org.uk>2016-01-02 13:03:16 (EST)
commitfedae71006c211758dfe159325a7a04c195d7813 (patch)
treefdcfed1070167073d35df457305596cab40de73f
parentb28116cf43bb8845530798da1d3676b8c71d4e09 (diff)
downloadlibreboot-fedae71006c211758dfe159325a7a04c195d7813.zip
libreboot-fedae71006c211758dfe159325a7a04c195d7813.tar.gz
libreboot-fedae71006c211758dfe159325a7a04c195d7813.tar.bz2
grub.cfg: 0 is not a valid index for usb0,X or ahci0,X
-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 8a3851b..9e5c04e 100644
--- a/resources/grub/config/menuentries/common.cfg
+++ b/resources/grub/config/menuentries/common.cfg
@@ -77,7 +77,7 @@ menuentry 'Parse ISOLINUX menu (AHCI) [a]' --hotkey='a' {
parse_isolinux_config ahci0
# Look for partitions
# GPT allows more than 4 partitions, /boot on /dev/sda7 is quite unlikely but still possible
- for j in 0 1 2 3 4 5 6 7 8 9; do parse_isolinux_config "ahci0,${j}"; done
+ for j in 1 2 3 4 5 6 7 8 9; do parse_isolinux_config "ahci0,${j}"; done
}
menuentry 'Parse ISOLINUX menu (USB) [u]' --hotkey='u' {
for i in 0 1; do
@@ -85,7 +85,7 @@ menuentry 'Parse ISOLINUX menu (USB) [u]' --hotkey='u' {
parse_isolinux_config usb${i}
# Look for partitions
# GPT allows more than 4 partitions, /boot on /dev/sda7 is quite unlikely but still possible
- for j in 0 1 2 3 4 5 6 7 8 9; do parse_isolinux_config "usb${i},${j}"; done
+ for j in 1 2 3 4 5 6 7 8 9; do parse_isolinux_config "usb${i},${j}"; done
done
}
menuentry 'Switch to grubtest.cfg [t]' --hotkey='t' {