Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203172

Re: Setting up a chroot on a Jessie system to compile a program using sid

From Carl Fink <carlf@panix.com>
Newsgroups linux.debian.user
Subject Re: Setting up a chroot on a Jessie system to compile a program using sid
Date 2018-12-08 17:30 +0100
Message-ID <x2NEm-2Kw-7@gated-at.bofh.it> (permalink)
References <x2BDb-3QQ-1@gated-at.bofh.it> <x2FGN-6gz-1@gated-at.bofh.it> <x2LMd-1C0-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12/8/18 9:21 AM, rhkramer@gmail.com wrote:
> On Saturday, December 08, 2018 02:59:15 AM Alexander V. Makartsev wrote:
>> You are over-complicating things.
> I can believe that ;-)
>
>> You can build chroot in just a
>> separate folder using debootstrap.
> Ahh, ok, then that is almost surely what I'll try at least at first.
>
> Looking ahead, if I later want to experiment with real VMs, do they need to be
> on separate partitions or can they also just be in separate folders?
>
> And if they can be in separate folders, would there be any reason to consider
> putting them on separate partitions?
>
>> chroot is not fully fledged VM in meaning of hardware abstraction. It is
>> just a way to make files (executables, libraries, settings) inside a
>> folder "/opt/chroot-sid-amd64/" *believe* they are in "/".
>> So if you change some settings inside chroot "/etc/" they will actually
>> be changed in "/opt/chroot-sid-amd64/etc/". This is why chroot is
>> convenient to try things, install tons of -dev and dependency packages
>> without cluttering or breaking actual working system.
>> I recommend to read manuals for "debootstrap" and also "schroot" can
>> make creating multiple chroot-ed environments more straight forward,
>> eliminating the need to setup some settings manually, such as bind mount
>> system partitions like "/sys" into chroot.
Most userland VMs are just (collections of) files, neither folders
nor partitions.

-- 
Carl Fink          carl@finknetwork.com
Thinking and logic and stuff at Reasonably Literate
http://reasonablyliterate.com

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Setting up a chroot on a Jessie system to compile a program using sid rhkramer@gmail.com - 2018-12-08 04:40 +0100
  Re: Setting up a chroot on a Jessie system to compile a program  using sid Andy Smith <andy@strugglers.net> - 2018-12-08 08:50 +0100
  Re: Setting up a chroot on a Jessie system to compile a program using  sid "Alexander V. Makartsev" <avbetev@gmail.com> - 2018-12-08 09:00 +0100
    Re: Setting up a chroot on a Jessie system to compile a program using sid rhkramer@gmail.com - 2018-12-08 15:30 +0100
      Re: Setting up a chroot on a Jessie system to compile a program  using sid Roberto C. Sánchez <roberto@debian.org> - 2018-12-08 16:20 +0100
      Re: Setting up a chroot on a Jessie system to compile a program using  sid "Alexander V. Makartsev" <avbetev@gmail.com> - 2018-12-08 16:30 +0100
      Re: Setting up a chroot on a Jessie system to compile a program using  sid Carl Fink <carlf@panix.com> - 2018-12-08 17:30 +0100
  Re: Setting up a chroot on a Jessie system to compile a program using  sid David Christensen <dpchrist@holgerdanske.com> - 2018-12-08 19:40 +0100

csiph-web