User Tools

Site Tools


linux:storage:chroot_system

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:storage:chroot_system [2020/03/12 15:40] – created stonelinux:storage:chroot_system [2020/11/16 15:25] (current) stone
Line 11: Line 11:
 chroot /mnt/x /bin/bash chroot /mnt/x /bin/bash
 </code> </code>
 +\\
 +
 +====== Chroot als for Schleife ======
 +<code>
 +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
 +</code>
 +
 +
linux/storage/chroot_system.1584027619.txt.gz · Last modified: by stone