unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30312: documentation: misleading EFI partitioning instructions
@ 2018-01-31 19:01 Ricardo Wurmus
  2018-02-01  9:13 ` Gábor Boskovits
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Ricardo Wurmus @ 2018-01-31 19:01 UTC (permalink / raw)
  To: 30312

The manual section “Preparing for Installation: Disk Partitioning” says
this:

--8<---------------cut here---------------start------------->8---
   If your disk uses the GUID Partition Table (GPT) format and you plan
to install BIOS-based GRUB (which is the default), make sure a BIOS Boot
Partition is available (*note (grub)BIOS installation::).

   If you instead wish to use EFI-based GRUB, a FAT32 “EFI System
Partition” (ESP) is required.  This partition should be mounted at
‘/boot/efi’ and must have the ‘esp’ flag set.  E.g., for ‘parted’:

     parted /dev/sda set 1 esp on

   Once you are done partitioning the target hard disk drive, you have
to create a file system on the relevant partition(s)(1).  For the ESP,
if you have one and assuming it is ‘/dev/sda2’, run:

     mkfs.fat -F32 /dev/sda2
--8<---------------cut here---------------end--------------->8---

First, this sounds like it’s up to the user to pick either EFI-based
GRUB or BIOS-based GRUB.  It is not clear that this is determined by
whether the machine has a {BIOS, EFI in legacy mode} or EFI.  It’s
really not much of a choice.

Second, the “parted” command operates on the first partition (“1”), yet
for the second command the second partition (“/dev/sda2”) is used.  It’s
better to be consistent here, i.e. to change “set 1 esp on” to “set 2
esp on” and to state that this would modify “/dev/sda2”.

Finally, it is not clear where the efi partition should be mounted.
Should it be /mnt/boot/efi?  If so, should the configuration file
specify “/mnt/boot/efi” as the target?  Or should it be “/boot/efi”?

An example would be useful here.

-- 
Ricardo

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-07-05  9:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-31 19:01 bug#30312: documentation: misleading EFI partitioning instructions Ricardo Wurmus
2018-02-01  9:13 ` Gábor Boskovits
2018-02-01 11:01   ` Gábor Boskovits
2018-02-01 21:23     ` Joshua Branson
2018-02-01 22:19 ` Carlo Zancanaro
2018-06-26  8:12 ` Ludovic Courtès
2018-06-26 10:11   ` Marius Bakke
2018-06-26 13:55     ` Ludovic Courtès
2018-06-26 15:18       ` Marius Bakke
2018-06-26 20:14         ` Ludovic Courtès
2018-07-05  9:58           ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).