invent.life

  • hello
  • whoami
  • thoughts
  • sysadmin
  • artlab
Select Page

Mounting dev & proc inside chrooted environment

chrootlinuxmount

h

by Bazyli Brzóska | February 7th, 2015 | Code & Security

Shell
1
2
3
4
cd /mnt # or where you are preparing the chroot dir
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/

Source: http://superuser.com/a/417004/316130…

mount: could not find any free loop device

linuxloopfsmount

h

by Bazyli Brzóska | April 15th, 2014 | Code & Security

You’ll have 120 loop devices:

Shell
1
for i in {8..120
…
  • Facebook
  • Twitter
  • RSS

Copyright © 2009-2021 Bazyli Brzóska.