[gentoo-user] chroot: cannot run command `/bin/bash'

2006-07-23 Thread oskar kapala
Hi, William Kenworthy napisaƂ(a): so bash needs glibc! Sure :) Your best bet would be to locate a glibc bin package (from the livecd?)and untar it in / of your system, then it should work enough to rebuild properly. You could just copy in the missing libs as you discover them, but thats

[gentoo-user] chroot: cannot run command `/bin/bash'

2006-07-22 Thread oskar kapala
Hi, I unmerged glibc, I know it's stupid, by I did it. I know how to solve the problem, but sth is wrong with chroot: I boot from liveCD 2006.0 (my arch is x86) and: mount all my filesytem into /mnt/gentoo as a new root mount -t proc none /mnt/gentoo/proc mount -o bind /dev /mnt/gentoo/dev

Re: [gentoo-user] chroot: cannot run command `/bin/bash'

2006-07-22 Thread William Kenworthy
moriah ~ # ldd /bin/bash linux-gate.so.1 = (0xe000) libncurses.so.5 = /lib/libncurses.so.5 (0xb7f28000) libdl.so.2 = /lib/libdl.so.2 (0xb7f23000) libc.so.6 = /lib/libc.so.6 (0xb7dec000) /lib/ld-linux.so.2 (0xb7f84000) moriah ~ # equery belongs

Re: [gentoo-user] chroot: cannot run command `/bin/bash'

2006-07-22 Thread Matthias Bethke
Hi oskar, on Saturday, 2006-07-22 at 13:45:01, you wrote: chroot: cannot run command `/bin/bash': No such file or directory of course file is present, executable, and I'm doing it as su... You should be fine if ou follow William's instructions. The reason for this is the error the linker

Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error [SOLVED]

2006-02-24 Thread Boyd Stephen Smith Jr.
On Friday 24 February 2006 06:56, Bo Andresen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error [SOLVED]': Actually I guess I could just download the the amd64 livecd, mount it, copy its kernel to the harddrive (already did emerge

Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-23 Thread Bo Andresen
On Thursday 23 February 2006 00:42, Boyd Stephen Smith Jr. wrote: livecd gentoo # chroot /mnt/gentoo bin/bash chroot: cannot run command `bin/bash': Exec format error Your 32-but kernel can't run the 64-bit bash. You'll have to use a 64-bit kernel (or as 32-bit stage3, and then gradually

Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-23 Thread Boyd Stephen Smith Jr.
On Thursday 23 February 2006 15:31, Bo Andresen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error': On Thursday 23 February 2006 00:42, Boyd Stephen Smith Jr. wrote: livecd gentoo # chroot /mnt/gentoo bin/bash chroot: cannot run

Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-23 Thread Bo Andresen
On Thursday 23 February 2006 22:40, Boyd Stephen Smith Jr. wrote: On Thursday 23 February 2006 15:31, Bo Andresen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error': On Thursday 23 February 2006 00:42, Boyd Stephen Smith Jr. wrote

Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-23 Thread Boyd Stephen Smith Jr.
On Thursday 23 February 2006 15:56, Bo Andresen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error': Will a 64 bit kernel be able to run a 32 bit bash? A 64-bit kernel will run 32-bit binaries fine... Um, there may be a needed

Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-23 Thread Bo Andresen
On Thursday 23 February 2006 23:33, Boyd Stephen Smith Jr. wrote: On Thursday 23 February 2006 15:56, Bo Andresen [EMAIL PROTECTED] A 64-bit kernel will run 32-bit binaries fine... Um, there may be a needed kernel option though... CONFIG_IA32_EMUL? Anyone? I cannot seem to find any such

Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-23 Thread Bo Andresen
On Friday 24 February 2006 01:12, Bo Andresen wrote: On Friday 24 February 2006 00:52, Boyd Stephen Smith Jr. wrote: So, it's starting from your i686 config, and trying to use it to assign as many symbols as possible to the new x86_64 kernel. Some of the symbols just won't exist. When

Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-23 Thread Boyd Stephen Smith Jr.
On Thursday 23 February 2006 18:16, Bo Andresen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error': On Friday 24 February 2006 01:12, Bo Andresen wrote: On Friday 24 February 2006 00:52, Boyd Stephen Smith Jr. wrote: When you 'make

Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-23 Thread Boyd Stephen Smith Jr.
On Thursday 23 February 2006 18:32, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error': Try: make ARCH=x86_64 CFLAGS=-m64 Nah, don't. It won't help, the kernel's Makefile doesn't pay attention to CFLAGS, it sets

Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-23 Thread Bo Andresen
On Friday 24 February 2006 01:56, Boyd Stephen Smith Jr. wrote: So, why don't you give it a go with: make ARCH=x86_64 CC=gcc -m64 menuconfig make ARCH=x86_64 CC=gcc -m64 make ARCH=x86_64 CC=gcc -m64 modules_install make ARCH=x86_64 CC=gcc -m64 install and let me know how it goes. linux #

Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-22 Thread John Jolet
On 2/22/06 5:03 PM, Bo Andresen [EMAIL PROTECTED] wrote: Hi I have just purchased a new computer with a AMD Semphron 2800+ 64 bit processor. I am installing it following the gentoo handbook of the amd64 architecture - only I am using the x86 minimal livecd (2005-r1) and the

Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-22 Thread Boris Fersing
2006/2/23, Bo Andresen [EMAIL PROTECTED]: Hi Hi, I have just purchased a new computer with a AMD Semphron 2800+ 64 bit processor. I am installing it following the gentoo handbook of the amd64 architecture - only I am using the x86 minimal livecd (2005-r1) and the

Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-22 Thread Boyd Stephen Smith Jr.
On Wednesday 22 February 2006 17:03, Bo Andresen [EMAIL PROTECTED] wrote about '[gentoo-user] chroot: cannot run command `bin/bash': Exec format error': I have just purchased a new computer with a AMD Semphron 2800+ 64 bit processor. I am installing it following the gentoo handbook

Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-22 Thread Bo Andresen
On Thursday 23 February 2006 00:42, Boyd Stephen Smith Jr. wrote: Your 32-but kernel can't run the 64-bit bash. You'll have to use a 64-bit kernel (or as 32-bit stage3, and then gradually recompile) Thanks for explaining that. If you have a little bit of free space, do a 32-bit install to a