Skip to content

Commit

Permalink
Add option to boot local drive to the x86 BIOS grub2 menu
Browse files Browse the repository at this point in the history
Add menus to chainload the first and second drive to the Troubleshooting
menu.
  • Loading branch information
bcl committed Jun 29, 2022
1 parent 630f276 commit 1c941f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions share/templates.d/99-generic/config_files/x86/grub2-bios.cfg
Expand Up @@ -9,6 +9,7 @@ set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
insmod chain

set timeout=60
### END /etc/grub.d/00_header ###
Expand All @@ -33,4 +34,10 @@ submenu 'Troubleshooting -->' {
linux @KERNELPATH@ @ROOT@ inst.rescue quiet
initrd @INITRDPATH@
}
menuentry 'Boot first drive' --class fedora --class gnu-linux --class gnu --class os {
chainloader (hd0)+1
}
menuentry 'Boot second drive' --class fedora --class gnu-linux --class gnu --class os {
chainloader (hd1)+1
}
}

0 comments on commit 1c941f9

Please sign in to comment.