diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-17 10:57:08 -0400 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-17 10:57:08 -0400 |
| commit | fd4f91dea6d82219c196549d29feb0090fd32a36 (patch) | |
| tree | 40fb9dbe51cdc281f9a7a98c3fb138373044ecfd /doc | |
| parent | 2dc2722dc022974684c5f5add577d2241b0b996d (diff) | |
doc: Use 'mount --rbind' for chroot instructions.
This was reported by a user in #guix. It's at least necessary for /sys, to
have the /sys/firmware/efivars location available insinde the chroot when
using an UEFI system.
* doc/guix.texi (Chrooting into an existing system): Replace --bind argument
with --rbind
Suggested-by: Josselin Poiret <dev@jpoiret.xyz>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guix.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 2d42ca8de26..0a965f53c0b 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -2945,9 +2945,9 @@ mount /dev/sda2 /mnt | |||
| 2945 | Mount special block devices and Linux-specific directories: | 2945 | Mount special block devices and Linux-specific directories: |
| 2946 | 2946 | ||
| 2947 | @example sh | 2947 | @example sh |
| 2948 | mount --bind /proc /mnt/proc | 2948 | mount --rbind /proc /mnt/proc |
| 2949 | mount --bind /sys /mnt/sys | 2949 | mount --rbind /sys /mnt/sys |
| 2950 | mount --bind /dev /mnt/dev | 2950 | mount --rbind /dev /mnt/dev |
| 2951 | @end example | 2951 | @end example |
| 2952 | 2952 | ||
| 2953 | If your system is EFI-based, you must also mount the ESP partition. | 2953 | If your system is EFI-based, you must also mount the ESP partition. |
