Include linux16.mod in GRUB image file x86_64-efi.img
authorMichael Prokop <mika@grml.org>
Sun, 20 May 2012 16:44:41 +0000 (18:44 +0200)
committerMichael Prokop <mika@grml.org>
Sun, 20 May 2012 16:44:44 +0000 (18:44 +0200)
Otherwise [U]EFI systems will fail on some addons because of:

| Grub cannot load `linux16.mod`

Thanks: Paul Menzel for the bug report
Thanks: Ulrich Dangel for the bugfix

etc/grml/fai/config/scripts/GRMLBASE/45-grub-images

index d6fdb5c..56e0619 100755 (executable)
@@ -37,7 +37,7 @@ ADDITIONAL_MODULES[i386-pc]="biosdisk"
 if ifclass AMD64 ; then
   if [ -r "${target}"/usr/lib/grub/x86_64-efi/moddep.lst ] ; then
     ARCHS+=(x86_64-efi)
-    ADDITIONAL_MODULES[x86_64-efi]="efi_gop efi_uga"
+    ADDITIONAL_MODULES[x86_64-efi]="efi_gop efi_uga linux16"
   else
     echo "/usr/lib/grub/x86_64-efi/moddep.lst could not be found, skipping."
     echo "NOTE: grub-efi-amd64-bin not installed?"