The chroot Technique – a Swiss army multitool for Linux systems
91–100 of 123 posts
Re: The chroot Technique – a Swiss army multitool for Linux systems
#92It's kind of funny to see this being called a technique. It has been something I've done so many times to impressive results. To me, it's just something you can do, among a million other things, if you know enough about Linux.
Re: The chroot Technique – a Swiss army multitool for Linux systems
#93With qemu-user and binfmt you can even chroot into foreign CPU architectures, which is a handy thing to have when you mount your phone's eMMC to fix a hacking session gone wrong. Though these days you may want to look into things like systemd-nspawn instead of plain chroot.
> you can even chroot into foreign CPU architectures, which is a handy thing to have when you mount your phone's eMMC This sounds very interesting! What's the scenario where you'd do this? Would you be, for example, emulating an ARM processor with qemu on an x86 computer and chrooting into Android on an eMMC?
Re: The chroot Technique – a Swiss army multitool for Linux systems
#94Earlier quoted context omitted.
Come to FreeBSD, we have just that - jails.
yup! FreeBSD jails are essentially what OP wants with chroot++. I was pretty puzzled when Docker and LXC came around as this whole new thing believed to have "never been done before"; FreeBSD had supported a very similar concept for years before security groups were added in Linux. Jails and ezjail were stellar to make mini no-overhead containers when running various services on a server. Being able to archive them a…
Re: The chroot Technique – a Swiss army multitool for Linux systems
#95With qemu-user and binfmt you can even chroot into foreign CPU architectures, which is a handy thing to have when you mount your phone's eMMC to fix a hacking session gone wrong. Though these days you may want to look into things like systemd-nspawn instead of plain chroot.
Re: The chroot Technique – a Swiss army multitool for Linux systems
#96I actually wish that instead of docker & etc we had just gotten a better chroot... Or maybe just a new kernel syscall that is chroot()++.
Re: The chroot Technique – a Swiss army multitool for Linux systems
#97Haha, learned this technique while installing Void Linux
Re: The chroot Technique – a Swiss army multitool for Linux systems
#98I actually wish that instead of docker & etc we had just gotten a better chroot... Or maybe just a new kernel syscall that is chroot()++.
Re: The chroot Technique – a Swiss army multitool for Linux systems
#99Earlier quoted context omitted.
Gentoo’s stage3 would like to say a word
Debian's debootstrap would also like to participate in this discussion
Re: The chroot Technique – a Swiss army multitool for Linux systems
#100[flagged]