Re: [DNG] chroot sees wrong version of libc

2016-04-29 Thread Rainer Weikusat
Didier Kryn writes: > Le 29/04/2016 16:46, Rainer Weikusat a écrit : >> Didier Kryn writes: >>> Le 28/04/2016 21:23, Rainer Weikusat a écrit : as manually running debootstrap in two steps on the same system doesn't do anything the single-step debootstrap wouldn't also do >>> B

Re: [DNG] chroot sees wrong version of libc

2016-04-29 Thread Didier Kryn
Le 29/04/2016 16:46, Rainer Weikusat a écrit : Didier Kryn writes: Le 28/04/2016 21:23, Rainer Weikusat a écrit : as manually running debootstrap in two steps on the same system doesn't do anything the single-step debootstrap wouldn't also do But it's not the same system. It is the same

Re: [DNG] chroot sees wrong version of libc

2016-04-29 Thread Rainer Weikusat
Didier Kryn writes: > Le 28/04/2016 21:23, Rainer Weikusat a écrit : >> as manually running debootstrap in >> two steps on the same system doesn't do anything the single-step >> debootstrap wouldn't also do > > But it's not the same system. It is the same system: Same CPU, same other hardware

Re: [DNG] chroot sees wrong version of libc

2016-04-28 Thread Didier Kryn
Le 28/04/2016 21:23, Rainer Weikusat a écrit : as manually running debootstrap in two steps on the same system doesn't do anything the single-step debootstrap wouldn't also do But it's not the same system. 'debootstrap --second-step' is run in the chroot. When 'debootstrap --second-step' s

Re: [DNG] chroot sees wrong version of libc

2016-04-28 Thread Rainer Weikusat
Didier Kryn writes: > Le 28/04/2016 15:34, Rainer Weikusat a écrit : >> Didier Kryn writes: >>> Le 27/04/2016 23:29, Haines Brown a écrit : I found I had to bind mount /sys before I could install grub2. >>> A few tricks: >>> >>> It is most of the times necessary to bind-mount /proc

Re: [DNG] chroot sees wrong version of libc

2016-04-28 Thread Didier Kryn
Le 28/04/2016 15:34, Rainer Weikusat a écrit : Didier Kryn writes: Le 27/04/2016 23:29, Haines Brown a écrit : I found I had to bind mount /sys before I could install grub2. A few tricks: It is most of the times necessary to bind-mount /proc and /sys when working in a chroot. Depen

Re: [DNG] chroot sees wrong version of libc

2016-04-28 Thread Rainer Weikusat
Didier Kryn writes: > Le 27/04/2016 23:29, Haines Brown a écrit : >> I found I had to bind mount /sys before I could install grub2. > > A few tricks: > > It is most of the times necessary to bind-mount /proc and /sys > when working in a chroot. Depending what you do, /dev may also be > nec

Re: [DNG] chroot sees wrong version of libc

2016-04-27 Thread Didier Kryn
Le 27/04/2016 23:29, Haines Brown a écrit : I found I had to bind mount /sys before I could install grub2. A few tricks: It is most of the times necessary to bind-mount /proc and /sys when working in a chroot. Depending what you do, /dev may also be necessary. Also copy /etc/hosts an

Re: [DNG] chroot sees wrong version of libc

2016-04-27 Thread Rainer Weikusat
Haines Brown writes: > On Wed, Apr 27, 2016 at 06:05:56PM +0200, Didier Kryn wrote: >> Le 27/04/2016 17:47, Haines Brown a écrit : >> > >> >I'm doing a cross install of devuan Alpha 4 onto a newly partitioned >> >hard disk (/dev/sda1) in same box as my running Debian Wheezy system >> >(/dev/sdb1).

Re: [DNG] chroot sees wrong version of libc

2016-04-27 Thread Haines Brown
On Wed, Apr 27, 2016 at 06:05:56PM +0200, Didier Kryn wrote: > Le 27/04/2016 17:47, Haines Brown a écrit : > > > >I'm doing a cross install of devuan Alpha 4 onto a newly partitioned > >hard disk (/dev/sda1) in same box as my running Debian Wheezy system > >(/dev/sdb1). I partitioned, formatted and

Re: [DNG] chroot sees wrong version of libc

2016-04-27 Thread Rainer Weikusat
Haines Brown writes: [...] > # LANG=C.UTF-8 chroot /mnt/debinst /bin/bash > /bin/bash: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version >`GLIBC_2.15' not found (required by /bin/bash) > /bin/bash: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version >`GLIBC_2.15' not fo

Re: [DNG] chroot sees wrong version of libc

2016-04-27 Thread Didier Kryn
Le 27/04/2016 17:47, Haines Brown a écrit : A question I raised was left unanswered because the thread drifted into other issues. So let me repose the question in an appropriately named thread. I'm doing a cross install of devuan Alpha 4 onto a newly partitioned hard disk (/dev/sda1) in same box

[DNG] chroot sees wrong version of libc

2016-04-27 Thread Haines Brown
A question I raised was left unanswered because the thread drifted into other issues. So let me repose the question in an appropriately named thread. I'm doing a cross install of devuan Alpha 4 onto a newly partitioned hard disk (/dev/sda1) in same box as my running Debian Wheezy system (/dev/sdb1