Differences

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

Link to this comparison view

educare:chroot [2018/09/24 18:08] (current)
profpro created
Line 1: Line 1:
 +chroot permette di eseguire un sistema all'​interno di un altro sistema (confinandolo e isolandolo dal sistema esterno in un ambiente jail)
  
 +se devi recuperare un sistema SDC2 che non si avvia, usando un live
 +
 +  mount /dev/sdc2 /mnt ; sleep 1; for i in /dev /dev/pts /proc /sys; do mount -B $i /mnt$i; done; sleep 1; chroot /mnt
 +
 +  chroot /mnt 
 +
 +  ip link
 +
 +  dhclient enp2s0
 +
 +  exit
 +
 +  for i in /sys /proc /dev/pts /dev; do umount /mnt$i; done; sleep 1; umount /mnt
  • educare/chroot.txt
  • Last modified: 2018/09/24 18:08
  • by profpro