From fedae71006c211758dfe159325a7a04c195d7813 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sat, 2 Jan 2016 18:03:16 +0000 Subject: grub.cfg: 0 is not a valid index for usb0,X or ahci0,X --- resources/grub/config/menuentries/common.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/grub/config/menuentries') 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' { -- cgit v1.2.3-70-g09d2