Dear Folks,

I did the chrooting according to Mr Ingraham's recipe and I used it to
chroot into a gentoo installation I have on the machine here.

It worked.

I also used terminology.

I will try out lxc in a little while.

Regards and thanks

Michael Fothergill











On 5 February 2016 at 20:28, Dutch Ingraham <s...@gmx.us> wrote:

> On Fri, Feb 05, 2016 at 08:22:53PM +0000, Michael Fothergill wrote:
> > On 5 February 2016 at 12:49, Michael Fothergill <
> > michael.fotherg...@googlemail.com> wrote:
> >
> > >
> > >
> > > On 5 February 2016 at 12:30, Mirko Parthey <mirko.part...@web.de>
> wrote:
> > >
> > >> On Thu, Feb 04, 2016 at 06:05:50PM -0600, Dutch Ingraham wrote:
> > >> > I'm not sure debootstrap is what you are looking for here.  If you
> just
> > >> > want to chroot into your Ubuntu,on the same disk, these are the
> steps:
> > >> >
> > >> > 1. Make a mount point, say /mnt/ubuntu;
> > >> >
> > >> > 2. Mount the partition Ubuntu is on, e.g., <mount /dev/sda3
> > >> /mnt/ubuntu>;
> > >> >
> > >> > 3. Change directory to /mnt/ubuntu;
> > >> >
> > >> > 4. <mount -t proc proc proc/>;
> > >> >
> > >> > 5. <mount --rbind /sys sys/>;
> > >> >
> > >> > 6. <mount --rbind /dev dev/>;
> > >> >
> > >> > 7. <mount --rbind /run run/>;
> > >> >
> > >> > 8. <cp /etc/resolv.conf etc/resolv.conf>;
> > >> >
> > >> > 9. <chroot /mnt/ubuntu /bin/bash>;
> > >> >
> > >> > 10. <source /etc/profile>;
> > >> >
> > >> > 11. <source ~/.bashrc>;
> > >> >
> > >> > 12. <export PS1="(chroot) $PS1"
> > >> >
> > >> > Of course, you will need to determine certain things up front and
> > >> modify for
> > >> > your particular needs, i.e., which partition Ubuntu is currently
> > >> residing on,
> > >> > whether you need network access, etc.
> > >
> > >
> > ​If wanted a network connection could I add in /sbin/dhcpd as a command
> > etc?​
> >
> > ​MF​
>
> Step 8 covers that.
>
>


-- 
Climostat Ltd

Rm 5169
The Heath Business & Technical Park
The Heath
Runcorn
Cheshire
WA7 4QX

Tel. 01 928 515 015

Reply via email to