Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
chroot does not work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Joerg Seebohn
n00b
n00b


Joined: 21 Sep 2002
Posts: 3
Location: Stuttgart.de

PostPosted: Sat Sep 21, 2002 3:05 pm    Post subject: chroot does not work Reply with quote

I've tried to "chroot /mnt/gentoo /bin/bash"
and always received the error message

chroot: cannot execute /bin/bash: No such file or directory

But /bin/bash is existing under /mnt/gentoo/bin/bash and also under /bin/bash. I've an Athlon AMD processor and running gentoo 1.4 rc1
live cd.

What could be the error ? Does anybody know or experienced the same problem ?
Back to top
View user's profile Send private message
rojaro
l33t
l33t


Joined: 06 May 2002
Posts: 732

PostPosted: Sat Sep 21, 2002 3:17 pm    Post subject: Reply with quote

did you mount the partition? did you unpack the stage 1 tar ball? did you follow the installation manual exactly? probably not... :)
_________________
A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970)
Back to top
View user's profile Send private message
Joerg Seebohn
n00b
n00b


Joined: 21 Sep 2002
Posts: 3
Location: Stuttgart.de

PostPosted: Sat Sep 21, 2002 4:17 pm    Post subject: Reply with quote

Yes, I did.
Back to top
View user's profile Send private message
rojaro
l33t
l33t


Joined: 06 May 2002
Posts: 732

PostPosted: Sat Sep 21, 2002 4:22 pm    Post subject: Reply with quote

well, lets put it in this way, 100% of chroot problems appeared here on the forums during installation process, were the result of not following the installation manual. anyway, as this would not help you, try this:
Code:
ls -la /mnt/gentoo/bin/bash

if it results in "/bin/ls: /mnt/gentoo/bin/bash: No such file or directory" you didnt follow the installation manual exactly. probably you've made a typo somewhere ... double check that ...
_________________
A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970)
Back to top
View user's profile Send private message
Joerg Seebohn
n00b
n00b


Joined: 21 Sep 2002
Posts: 3
Location: Stuttgart.de

PostPosted: Sat Sep 21, 2002 5:25 pm    Post subject: Reply with quote

Hmm, it seems, that this "100%" is 100% right.
I've checked my file system and I my error was to try to install
gentoo on a vfat partition - but installation instructions said otherwise.
This has caused untar to not properly create the
symlinks for the libraries. After having copied them from a runnig system
it worked. Then I've retried it with an ext2 partition and followed
installation instructions 100% and then -
as soon as I've made it correct it has worked !

Thank you for your energy - it has helped me to see where I did wrong
Joerg
Back to top
View user's profile Send private message
rojaro
l33t
l33t


Joined: 06 May 2002
Posts: 732

PostPosted: Sat Sep 21, 2002 5:27 pm    Post subject: Reply with quote

hehe ... no problem ... stuff like this happens all the time to all of us ...
_________________
A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970)
Back to top
View user's profile Send private message
Douwedabbert
n00b
n00b


Joined: 27 Sep 2002
Posts: 17
Location: Netherlands

PostPosted: Fri Sep 27, 2002 7:45 pm    Post subject: Reply with quote

Did you use the right tarball? I had the same problem. After using the stage 1 tarball the problem was solved for me. I'm now going to stage 2 (trying to).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum