Hello, 

I installed DragonFly version 5.2.2 manually on a non-uefi 10-year old laptop. Unfortunately, when I reboot I get the following message:

"

Intel(R) Boot Agent GE v1.3.39
Copyright (C) 1997-2009, Intel Corporation

PXE-E61: Media test failure, check cable
PXE-MOF: Exiting Intel Boot Agent
Insert system disk in drive
Press any key when ready

"

I made some internet research and it seems that UEFI boot should be possible also with non-uefi BIOSes.

Here follows an exact list of the commands I used to install DragonFly:

 

gpt create -f da0

gpt add -i0 -s1048576 -t efi da0                          # the 512 MiB efi slice
gpt label -i0 -l "EFI system" da0s0
disklabel -r -w da0s0 auto                                   # write a new standard volume label
disklabel -e da0s0                                             # add `a: * * MSDOS', to add `a' partition  with fstype FAT covering whole slice

gpt add -b1048577 -i1 -s314572800 -t dfly da0  # add the 150 GiB dragonfly GPT partition (slice)
gpt label -i1 -l "DragonFly" da0
disklabel -B -r -w da0s1 auto 
disklabel64 -e da0s1                               # add
                                              a: 1G * 4.2BSD # the boot partition                                                      
                                                      b: 8G * swap                                                                 
                                              d: * * HAMMER2
gpt add -i2 da0        # add a GPT partition 2 with type ``OpenBSD'' using the remaining free space on da0
gpt label -i2 -l "OpenBSD" da0

newfs_hammer2 -L ROOT /dev/da0s1d        
mount_hammer2 /dev/da0s1d /mnt   
newfs /dev/da0s1a             
mkdir /mnt/boot
mount_ufs /dev/da0s1a /mnt/boot 

newfs_msdos /dev/da0s0a                                                 # format the efi partition with FAT

# copy file systems
cpdup / /mnt                                               # copy the root file system
mkdir -p /mnt/EFI/BOOT
mount /dev/da0s0a /mnt/EFI/BOOT                             # mount the efi partition
cp /boot/boot1.efi /mnt/EFI/BOOT/BOOTx64.EFI               # copy the bootloader to its right place in the efi partition
mkdir -p /mnt/EFI/dragonfly
cp /boot/boot1.efi /mnt/EFI/dragonfly/dragonfly_x64.efi
cpdup /boot /mnt/boot

# some system configuration:

cd /mnt
vi etc/fstab       # add 
                 /dev/da0s1d / hammer2 rw 1 1
                         /dev/da0s1b none swap sw 0 0
                   /dev/da0s1a /boot ufs rw 1 1
  
vi boot/loader.conf   # add 
             vfs.root.mountfrom="hammer2:da0s1d"

cd
umount /mnt/boot
umount /mnt
reboot


I also tried issuing:
disklabel -B da0s0
but this did not change anything.

Thank you very much for your attention. I am looking forward to your replies.





 

  


Reply via email to