Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cross-compile attempt
Date: Tue, 02 Aug 2016 08:46:45
Message-Id: 7070929.IRtySr6FkT@peak
In Reply to: Re: [gentoo-user] cross-compile attempt by Mick
1 On Monday 01 Aug 2016 17:21:52 Mick wrote:
2 > On Monday 01 Aug 2016 16:49:15 Mick wrote:
3 > > Thank you Peter, I seem to have posted a few seconds before I received
4 > > your message. From what you're showing above I seem to have not
5 > > performed a correct mount of the chroot fs. I better rinse and repeat
6 > > ...
7 >
8 > Hmm ... I followed the handbook this time to make sure all is correctly
9 > mounted:
10 >
11 > gentoo-32bit # mount | grep 32bit
12 > proc on /mnt/iso/gentoo-32bit/proc type proc (rw,relatime)
13 > sysfs on /mnt/iso/gentoo-32bit/sys type sysfs
14 > (rw,nosuid,nodev,noexec,relatime)
15 > debugfs on /mnt/iso/gentoo-32bit/sys/kernel/debug type debugfs
16 > (rw,nosuid,nodev,noexec,relatime)
17 > fusectl on /mnt/iso/gentoo-32bit/sys/fs/fuse/connections type fusectl
18 > (rw,nosuid,nodev,noexec,relatime)
19 > efivarfs on /mnt/iso/gentoo-32bit/sys/firmware/efi/efivars type efivarfs
20 > (rw,nosuid,nodev,noexec,relatime)
21 > cgroup_root on /mnt/iso/gentoo-32bit/sys/fs/cgroup type tmpfs
22 > (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
23 > openrc on /mnt/iso/gentoo-32bit/sys/fs/cgroup/openrc type cgroup
24 > (rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release
25 > - agent.sh,name=openrc)
26 > cpuset on /mnt/iso/gentoo-32bit/sys/fs/cgroup/cpuset type cgroup
27 > (rw,nosuid,nodev,noexec,relatime,cpuset)
28 > cpu on /mnt/iso/gentoo-32bit/sys/fs/cgroup/cpu type cgroup
29 > (rw,nosuid,nodev,noexec,relatime,cpu)
30 > cpuacct on /mnt/iso/gentoo-32bit/sys/fs/cgroup/cpuacct type cgroup
31 > (rw,nosuid,nodev,noexec,relatime,cpuacct)
32 > blkio on /mnt/iso/gentoo-32bit/sys/fs/cgroup/blkio type cgroup
33 > (rw,nosuid,nodev,noexec,relatime,blkio)
34 > freezer on /mnt/iso/gentoo-32bit/sys/fs/cgroup/freezer type cgroup
35 > (rw,nosuid,nodev,noexec,relatime,freezer)
36 > net_cls on /mnt/iso/gentoo-32bit/sys/fs/cgroup/net_cls type cgroup
37 > (rw,nosuid,nodev,noexec,relatime,net_cls)
38 > net_prio on /mnt/iso/gentoo-32bit/sys/fs/cgroup/net_prio type cgroup
39 > (rw,nosuid,nodev,noexec,relatime,net_prio)
40 > pids on /mnt/iso/gentoo-32bit/sys/fs/cgroup/pids type cgroup
41 > (rw,nosuid,nodev,noexec,relatime,pids)
42 > dev on /mnt/iso/gentoo-32bit/dev type devtmpfs
43 > (rw,nosuid,relatime,size=10240k,nr_inodes=1915538,mode=755)
44 > mqueue on /mnt/iso/gentoo-32bit/dev/mqueue type mqueue
45 > (rw,nosuid,nodev,noexec,relatime)
46 > devpts on /mnt/iso/gentoo-32bit/dev/pts type devpts
47 > (rw,nosuid,noexec,relatime,gid=5,mode=620)
48 > shm on /mnt/iso/gentoo-32bit/dev/shm type tmpfs
49 > (rw,nosuid,nodev,noexec,relatime)
50 >
51 >
52 > I must be doing some newbie error ... because I still get:
53 >
54 > gentoo-32bit # linux32 chroot /mnt/iso/gentoo-32bit /bin/bash
55 > chroot: failed to run command ‘/bin/bash’: No such file or directory
56 >
57 >
58 > what would this error be? :-/
59
60 I can't see your 32-bit file-system in that list. It couldn't be that
61 simple, could it?
62
63 --
64 Rgds
65 Peter