at 17.09-beta 1.8 kB view raw
1<section xmlns="http://docbook.org/ns/docbook" 2 xmlns:xlink="http://www.w3.org/1999/xlink" 3 xmlns:xi="http://www.w3.org/2001/XInclude" 4 version="5.0" 5 xml:id="sec-uefi-installation"> 6 7<title>UEFI Installation</title> 8 9<para>NixOS can also be installed on UEFI systems. The procedure 10is by and large the same as a BIOS installation, with the following 11changes: 12 13<itemizedlist> 14 <listitem> 15 <para>You should boot the live CD in UEFI mode (consult your 16 specific hardware's documentation for instructions). You may find 17 the <link 18 xlink:href="http://www.rodsbooks.com/refind">rEFInd 19 boot manager</link> useful.</para> 20 </listitem> 21 <listitem> 22 <para>Instead of <command>fdisk</command>, you should use 23 <command>gdisk</command> to partition your disks. You will need to 24 have a separate partition for <filename>/boot</filename> with 25 partition code EF00, and it should be formatted as a 26 <literal>vfat</literal> filesystem.</para> 27 </listitem> 28 <listitem> 29 <para>Instead of <option>boot.loader.grub.device</option>, 30 you must set <option>boot.loader.systemd-boot.enable</option> to 31 <literal>true</literal>. <command>nixos-generate-config</command> 32 should do this automatically for new configurations when booted in 33 UEFI mode.</para> 34 </listitem> 35 <listitem> 36 <para>After having mounted your installation partition to 37 <code>/mnt</code>, you must mount the <code>boot</code> partition 38 to <code>/mnt/boot</code>.</para> 39 </listitem> 40 <listitem> 41 <para>You may want to look at the options starting with 42 <option>boot.loader.efi</option> and <option>boot.loader.systemd-boot</option> 43 as well.</para> 44 </listitem> 45</itemizedlist> 46</para> 47 48</section>