Project

General

Profile

Bug #16797

UEFI 'fixgrub' fails in TrueOS-Desktop-12.0-CURRENT-08-02-2016-x64-DVD.iso

Added by Mark T over 3 years ago. Updated about 2 years ago.

Status:
Unscreened
Priority:
No priority
Assignee:
-
Category:
Grub
Target version:
-
Seen in:

Description

'fixgrub' utility will fail to recognize UEFI boot.

To reproduce symptoms:

Booting to installer: TrueOS-Desktop-12.0-CURRENT-08-02-2016-x64-DVD.iso

Boot loader mnu: Configure Boot Options; 
                 Text Install/Console....
                 [Enter]
                 TrueOS Installation Menu, Utility System Utilities
                 fixgrub Restamp GRUB on disk.

kenv grub.platform
kenv: unable to get grub.platform

sysctl machdep.bootmethod
machdep.bootmethod: UEFI

utility, 'fixgrub' ---

Generating grub configuration file ...
Found theme: /boot/grub/themes/pcbsd/theme.txt
done
Installing GRUB to ada0
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Partition;
              embedding won't be possible.
grub-install: error: filesystem 'zfs' doesn't support blocklists.

ls -la /boot/efi/efi/boot
   (bootx64.efi  --- was not updated).
.
ls -la /boot/grub
   objects updated:
      grub.cfg
      i386-pc/
      locale/

Works as expected only when:

mount -t msdosfs /dev/ada0p1 /mnt/boot/efi
kenv grub.platform=efi

cp /root/beadm.install /mnt/root

chroot /mnt
cd /boot/grub

grub-mkconfig -o grub.cfg

Generating grub configuration file ...
Found theme: /boot/grub/themes/pcbsd/theme.txt
done
Installing GRUB to ada0
(and no error messages)

ls -la /boot/grub
  (objects updated:)
  grub.cfg
  locale/
  x86_64-efi/
.
ls -la /boot/efi/efi/boot
   (bootx64.efi -- was updated. )

History

#1 Updated by Mark T over 3 years ago

  • Seen in changed from 11.0-CURRENTAUGUST2016 to 11.0-CURRENT

#2 Updated by dam muryph about 2 years ago

dan murphys
Cellar Release - Dan Murphy's
170 products - Check out these perfectly aged wines, just released from the Dan Murphy s Cellar. Buy the perfect gift for a wine connoisseur online, at Dan Murphy ...

Also available in: Atom PDF