DragonFly on VirtualBox with EFI boot - Just Works

Aaron LI aly at aaronly.me
Fri Mar 9 07:05:41 PST 2018


On Fri, 9 Mar 2018 22:13:15 +0800
Aaron LI <aly at aaronly.me> wrote:
> 
> I may try to install DFly on a VirtualBox machine with EFI, and will report
> back.

Hello,

So I just tried install DFly (v5.0.0-release) on a VirtualBox machine (host:
Debian Linux amd64 testing) with *EFI* turned on. (NOTE: I installed the
Oracle VirtualBox extension pack; I didn't check whether VirtualBox supports
EFI without this extension pack)

I used the installer with default disk layout, UEFI + HAMMER2, and everything
just works.  I successfully boot into the newly install DFly (with the
installation CD ejected).  The attached image is the screenshot at the boot
loader phase.  And the followings are some more information.

dfly-efi# uname -a
DragonFly dfly-efi.aaronly.me 5.0-RELEASE DragonFly v5.0.0-RELEASE #2: Sun
Oct 15 10:51:20 EDT 2017
root at www.shiningsilence.com:/usr/obj/home/justin/release/5_0/sys/X86_64_GENERIC
x86_64

dfly-efi# ls /dev/da0*
/dev/da0	/dev/da0s0	/dev/da0s1	/dev/da0s1a	/dev/da0s1b	/dev/da0s1d

dfly-efi# gpt show da0
     start      size  index  contents
         0         1      -  PMBR
         1         1      -  Pri GPT header
         2        32      -  Pri GPT table
        34      2014      -  
      2048    262144      0  GPT part - EFI System
    264192  52162560      1  GPT part - DragonFly Label64
  52426752      2015      -  
  52428767        32      -  Sec GPT table
  52428799         1      -  Sec GPT header

dfly-efi# disklabel /dev/da0s1
#          size     offset    fstype   fsuuid
  a:    1048576          0    4.2BSD	#    1024.000MB
  b:    1048576    1048576      swap	#    1024.000MB
  d:   23983068    2097152   HAMMER2	#   23420.965MB

dfly-efi# mkdir /boot/efi
dfly-efi# mount_msdos /dev/da0s0 /boot/efi
dfly-efi# find /boot/efi
/boot/efi
/boot/efi/EFI
/boot/efi/EFI/BOOT
/boot/efi/EFI/BOOT/BOOTX64.EFI


Cheers,
-- 
Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VirtualBox_dfly.efi_09_03_2018_22_49_17.png
Type: image/png
Size: 13958 bytes
Desc: not available
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20180309/94d3d109/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20180309/94d3d109/attachment-0005.bin>


More information about the Users mailing list