|
@@ -7,8 +7,13 @@ set root='(@ROOT@)'
|
|
|
|
|
|
menuentry "@TITLE@" {
|
|
|
linux /boot/vmlinuz @CMDLINE@ noinitrd
|
|
|
- if [ -s /boot/intel-ucode.img ]; then
|
|
|
- initrd /boot/intel-ucode.img
|
|
|
+ set amd="/boot/amd-ucode.img"
|
|
|
+ set intel="/boot/intel-ucode.img"
|
|
|
+ if [ -s "$amd" ]; then
|
|
|
+ initrd $amd $intel
|
|
|
+ fi
|
|
|
+ if [ -s "$intel" ]; then
|
|
|
+ initrd $intel $amd
|
|
|
fi
|
|
|
}
|
|
|
menuentry "@TITLE@ (failsafe)" {
|