From 49dfc18f43fd7864b3316509d4a2adbb993d7151 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 13 May 2026 20:51:15 +0300 Subject: doc: Add EFI hint for Chrooting into an existing system. * doc/guix.texi (Chrooting into an existing system): Mention the canonical directory to check to see if a machine has booted with EFI support. Change-Id: I98b2b3a8adc0cc5b49a91b976ca02c10ac424d40 --- doc/guix.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 9e857ce6a27..d228d26b0cc 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -52178,8 +52178,10 @@ mount --rbind /sys /mnt/sys mount --rbind /dev /mnt/dev @end example -If your system is EFI-based, you must also mount the ESP partition. -Assuming it is @file{/dev/sda1}, you can do so with: +A quick way to check if your system booted with EFI support is to check +if @file{/sys/firmware/efi} exists. If your system is EFI-based, you +must also mount the ESP partition. Assuming it is @file{/dev/sda1}, you +can do so with: @example sh mount /dev/sda1 /mnt/boot/efi -- cgit v1.2.3