linux:storage:chroot_system
Differences
This shows you the differences between two versions of the page.
| linux:storage:chroot_system [2020/03/12 15:40] – created stone | linux:storage:chroot_system [2020/11/16 15:25] (current) – stone | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| chroot /mnt/x /bin/bash | chroot /mnt/x /bin/bash | ||
| </ | </ | ||
| + | \\ | ||
| + | |||
| + | ====== Chroot als for Schleife ====== | ||
| + | < | ||
| + | mount /dev/sda2 /mnt/x/ | ||
| + | mount /dev/sda1 /mnt/x/boot | ||
| + | |||
| + | for i in /dev /dev/pts /proc /sys /run; do mount -B $i /mnt/x$i; done | ||
| + | chroot /mnt/x/ /bin/bash | ||
| + | </ | ||
| + | |||
| + | |||
linux/storage/chroot_system.1584027619.txt.gz · Last modified: by stone
