Ignore:
Timestamp:
10/12/13 16:02:37 (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
7d497d1
Parents:
ec6e81d
Message:

When loading on an EFI motherboard, make sure to load the correct video
drivers in GRUB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • overlays/install-overlay/boot/grub/grub.cfg

    rc90346e r909e1d3  
    4242} 
    4343 
     44 
    4445if loadfont ($root)/boot/grub/pcbsdfont.pf2 ; then 
    45   set gfxmode=auto 
    46   load_video 
    47   insmod gfxterm 
     46  # If on a PC / BIOS platform 
     47  if [ x"${grub_platform}" = xpc ] ; then 
     48    set gfxmode=auto 
     49    load_video 
     50    insmod gfxterm 
     51  else 
     52    # EFI 
     53    insmod efi_gop 
     54    insmod gfxterm 
     55    insmod font 
     56    insmod videotest 
     57    insmod videoinfo 
     58    set gfxpayload=vga=normal 
     59  fi 
    4860fi 
    4961terminal_output gfxterm 
Note: See TracChangeset for help on using the changeset viewer.