Differences

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

Link to this comparison view

howto:chroot-debug [2016/04/23 19:38]
sebian created
howto:chroot-debug [2018/12/08 22:28]
Line 1: Line 1:
-sebian (draft) FIXME 
  
-<​code>​ 
-baloo:~# cryptsetup --type luks open /​dev/​mmcblk0p2 brique 
-baloo:~# mount -t ext4 /​dev/​mapper/​brique /mnt 
-baloo:~# mount /​dev/​mmcblk0p1 /mnt/boot 
-baloo:~# sudo openvpn --config ldn.conf 
- 
-parpaing:~# sshfs baloo:/mnt /mnt 
-parpaing:~# mount -t proc none /mnt/proc 
-parpaing:~# mount -o bind /dev /mnt/dev 
-parpaing:~# mount -t sysfs sys /mnt/sys/ 
-parpaing:~# chroot /mnt /bin/bash 
-parpaing:~# dpkg --configure -a 
-parpaing:~# apt-get update;​apt-get dist-upgrade;​apt-get clean 
-parpaing:~# CTRL-D 
- 
-parpaing:~# umount /mnt/proc 
-parpaing:~# umount /mnt/dev 
-parpaing:~# umount /mnt/sys 
-parpaing:~# umount /mnt 
- 
-baloo:~# umount /mnt/boot 
-baloo:~# umount /mnt 
-baloo:~# cryptsetup --type luks close brique 
-</​code>​ 
  • howto/chroot-debug.txt
  • Last modified: 2018/12/08 22:28
  • (external edit)