mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
9c2f2bc893
Commit 159fed47bc
(nixos/grub: Fix video display on efi) changed BIOS
systems to start in non-text mode as well. Enable FB_VESA to get a
framebuffer console on BIOS systems. Change FRAMEBUFFER_CONSOLE to 'y'
instead of the default 'm' to so the user doesn't need to manually load
the fbcon module anymore.
Other distros have similar defaults, at least on Arch:
CONFIG_FB_VESA=y
CONFIG_FRAMEBUFFER_CONSOLE=y
and on Ubuntu (12.04):
CONFIG_FB_VESA=m
CONFIG_FRAMEBUFFER_CONSOLE=y
Fixes #8139
48 lines
1.7 KiB
XML
48 lines
1.7 KiB
XML
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
version="5.0"
|
|
xml:id="sec-uefi-installation">
|
|
|
|
<title>UEFI Installation</title>
|
|
|
|
<para>NixOS can also be installed on UEFI systems. The procedure
|
|
is by and large the same as a BIOS installation, with the following
|
|
changes:
|
|
|
|
<itemizedlist>
|
|
<listitem>
|
|
<para>You should boot the live CD in UEFI mode (consult your
|
|
specific hardware's documentation for instructions). You may find
|
|
the <link
|
|
xlink:href="http://www.rodsbooks.com/refind">rEFInd
|
|
boot manager</link> useful.</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Instead of <command>fdisk</command>, you should use
|
|
<command>gdisk</command> to partition your disks. You will need to
|
|
have a separate partition for <filename>/boot</filename> with
|
|
partition code EF00, and it should be formatted as a
|
|
<literal>vfat</literal> filesystem.</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>You must set <option>boot.loader.gummiboot.enable</option> to
|
|
<literal>true</literal>. <command>nixos-generate-config</command>
|
|
should do this automatically for new configurations when booted in
|
|
UEFI mode.</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>After having mounted your installation partition to
|
|
<code>/mnt</code>, you must mount the <code>boot</code> partition
|
|
to <code>/mnt/boot</code>.</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>You may want to look at the options starting with
|
|
<option>boot.loader.efi</option> and <option>boot.loader.gummiboot</option>
|
|
as well.</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</para>
|
|
|
|
</section>
|