Skip to content
Snippets Groups Projects
Unverified Commit 50fcf37c authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

doc: Give an example with a FAT UUID.

* gnu/system/examples/lightweight-desktop.tmpl <file-systems>: Add a
UUID for the /boot/efi partition.
* doc/guix.texi (Using the Configuration System): Mention it.
parent 03f66aea
No related branches found
No related tags found
No related merge requests found
...@@ -8406,6 +8406,7 @@ management, power management, and more, would look like this: ...@@ -8406,6 +8406,7 @@ management, power management, and more, would look like this:
@include os-config-desktop.texi @include os-config-desktop.texi
@end lisp @end lisp
   
@cindex UEFI
A graphical UEFI system with a choice of lightweight window managers A graphical UEFI system with a choice of lightweight window managers
instead of full-blown desktop environments would look like this: instead of full-blown desktop environments would look like this:
   
...@@ -8413,6 +8414,10 @@ instead of full-blown desktop environments would look like this: ...@@ -8413,6 +8414,10 @@ instead of full-blown desktop environments would look like this:
@include os-config-lightweight-desktop.texi @include os-config-lightweight-desktop.texi
@end lisp @end lisp
   
This example refers to the @file{/boot/efi} partition by its UUID,
@code{1234-ABCD}. Replace this UUID with the right UUID on your system,
as returned by the @command{blkid} command.
@xref{Desktop Services}, for the exact list of services provided by @xref{Desktop Services}, for the exact list of services provided by
@var{%desktop-services}. @xref{X.509 Certificates}, for background @var{%desktop-services}. @xref{X.509 Certificates}, for background
information about the @code{nss-certs} package that is used here. information about the @code{nss-certs} package that is used here.
......
...@@ -17,16 +17,16 @@ ...@@ -17,16 +17,16 @@
(bootloader grub-efi-bootloader) (bootloader grub-efi-bootloader)
(target "/boot/efi"))) (target "/boot/efi")))
;; Assume the target root file system is labelled "my-root". ;; Assume the target root file system is labelled "my-root",
;; and the EFI System Partition has UUID 1234-ABCD.
(file-systems (cons* (file-system (file-systems (cons* (file-system
(device "my-root") (device "my-root")
(title 'label) (title 'label)
(mount-point "/") (mount-point "/")
(type "ext4")) (type "ext4"))
(file-system (file-system
;; Specify partition here since FAT (device (uuid "1234-ABCD" 'fat))
;; labels are currently unsupported. (title 'uuid)
(device "/dev/sda1")
(mount-point "/boot/efi") (mount-point "/boot/efi")
(type "vfat")) (type "vfat"))
%base-file-systems)) %base-file-systems))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment