DragonFly On-Line Manual Pages

Search: Section:  


EFISETUP(8)            DragonFly System Manager's Manual           EFISETUP(8)

NAME

efisetup -- Create a complete UEFI install on a fresh drive

SYNOPSIS

efisetup [-s swapsize{m,g}] [-S serialno] drive

DESCRIPTION

This program will create a fresh UEFI install of DragonFly on a drive. The drive will be completely reformatted and any prior contents will be lost! -s swapsize{m,g} Specify the size of the swap partition, default is "8g". -S serialno Specify the serial number of the device as it would appear under /dev/serno/*. In most cases this is simply the reported serial number, however note that the nvme(4) driver will tack on a namespace id to the reported serial number, typically "-1". Only specify the serial number, do not specify a path prefix. If you use this option the script will install path references in fstab and so forth using the serno/ path. If you do not use this option, the drive name will be used instead. We recommend using this option. drive Specify the drive, for example "nvme0". You may omit the /dev/ prefix if you wish. The raw drive should be specified, do not specify a serno/ path here.

USAGE

efisetup expects you to have completed a buildworld and buildkernel sequence before running the program, see build(7) for more information on how to build a fresh system. efisetup will create a fresh GPT slice table with two slices, install the required EFI boot files on slice 0, and install a DragonFly 64-bit disklabel on slice 1. The program will then proceed to create partitions 'a', 'b', and 'c' in the disklabel, mount them, and install the world and kernel. After the world and kernel are installed, efisetup will make adjustments to the target /boot/loader.conf, /etc/fstab, and /etc/rc.conf with the appropriate disk paths, then unmount. After completion of the operation you should be able to boot from the drive and then finish up your adjustments to /etc/rc.conf to get the network up and so forth. This script does only a very basic installation. For a more substantial initial installation you should boot from a DragonFly install image and select an EFI installation.

SEE ALSO

uefi(8)

HISTORY

The efisetup utility appeared in DragonFly 4.8. DragonFly 4.7 March 22, 2017 DragonFly 4.7

Search: Section: