diff options
author | Leah Rowe <leah@libreboot.org> | 2021-12-29 06:05:36 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2021-12-29 06:05:36 +0000 |
commit | 7cebee25ff9d95bd9f7375eb5ed98588efc49056 (patch) | |
tree | ba1497b4fe5872f2e23afc71384f394c2cb834b6 /resources/grub | |
parent | bbdb9512f33ab4a010dfe82883e041001d014a20 (diff) |
grub.cfg: delete option to boot from CD/DVD
it's confusing, broken and most people nowadays don't use optical drives
it's not even possible in most setups anyway
Diffstat (limited to 'resources/grub')
-rw-r--r-- | resources/grub/config/grub.cfg | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/resources/grub/config/grub.cfg b/resources/grub/config/grub.cfg index 2b446890..4bda65e2 100644 --- a/resources/grub/config/grub.cfg +++ b/resources/grub/config/grub.cfg @@ -155,23 +155,6 @@ menuentry 'Search ISOLINUX menu (AHCI) [a]' --hotkey='a' { menuentry 'Search ISOLINUX menu (USB) [u]' --hotkey='u' { search_isolinux usb } -menuentry 'Search ISOLINUX menu (CD/DVD) [d]' --hotkey='d' { - insmod ata - unset ahcidev - unset atadev - if [ (ata?) != "(ata?)" ]; then - atadev=(ata?) # Only full drives not partitions - fi - if [ (ahci?) != "(ahci?)" ]; then - ahcidev=(ahci1) # TODO: hardcoded!!! - fi - echo -n "Attempting to parse isolinux menu from: " - for dev in ${atadev} ${ahcidev}; do - echo -n "${dev} " - try_isolinux_config "${dev}" - done - echo # Insert newline -} menuentry 'Load test configuration (grubtest.cfg) inside of CBFS [t]' --hotkey='t' { set root='(cbfsdisk)' if [ -f /grubtest.cfg ]; then |