diff options
author | Francis Rowe <info@gluglug.org.uk> | 2016-01-02 18:03:16 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2016-01-02 18:03:16 +0000 |
commit | fedae71006c211758dfe159325a7a04c195d7813 (patch) | |
tree | fdcfed1070167073d35df457305596cab40de73f /resources | |
parent | b28116cf43bb8845530798da1d3676b8c71d4e09 (diff) | |
download | librebootfr-fedae71006c211758dfe159325a7a04c195d7813.tar.gz librebootfr-fedae71006c211758dfe159325a7a04c195d7813.zip |
grub.cfg: 0 is not a valid index for usb0,X or ahci0,X
Diffstat (limited to 'resources')
-rw-r--r-- | resources/grub/config/menuentries/common.cfg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/grub/config/menuentries/common.cfg b/resources/grub/config/menuentries/common.cfg index 8a3851b1..9e5c04e8 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' { |