mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
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>
This commit is contained in:
parent
2dc2722dc0
commit
fd4f91dea6
1 changed files with 3 additions and 3 deletions
|
@ -2945,9 +2945,9 @@ mount /dev/sda2 /mnt
|
|||
Mount special block devices and Linux-specific directories:
|
||||
|
||||
@example sh
|
||||
mount --bind /proc /mnt/proc
|
||||
mount --bind /sys /mnt/sys
|
||||
mount --bind /dev /mnt/dev
|
||||
mount --rbind /proc /mnt/proc
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue