Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo from Arch Linux
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
B9707C6887CD8B31AB6F62718
n00b
n00b


Joined: 17 Aug 2016
Posts: 2

PostPosted: Thu Sep 01, 2016 4:42 pm    Post subject: Installing Gentoo from Arch Linux Reply with quote

Hello, I want to move from Arch Linux to Gentoo, I actually started installation, but I have stopped at chrooting phase:

I mounted these partitions:

Code:
mount /dev/mapper/system-gentoo64 /mnt/gentoo
mount -t proc proc /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --make-rslave /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
mount --make-rslave /mnt/gentoo/dev

Then after chrooting:
Code:
env -i HOME=$HOME TERM=$TERM chroot /mnt/gentoo /bin/bash


Recive:
Code:
chroot: failed to run command '/bin/bash': No such file or directory


I did it previsoly, but I forget how. Pls help me :D
_________________
--I really hate guys, who playing sphynx games with other forum members. Is it hard to make it clean to others?
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 529

PostPosted: Thu Sep 01, 2016 10:13 pm    Post subject: Reply with quote

I'm not sure I understand. You are running the 'env -i....' command after chrooting? Or do you mean that this is the command that you are using for the (first and only) chroot?

I'd assume that the error message means that it cannot find /bin/bash in the new root. Are you sure that /mnt/gentoo/bin/bash exists?

Also, why not just use the chroot commands in the handbook? Maybe the way you're running the command is causing the problem.
Back to top
View user's profile Send private message
mathcrosp
n00b
n00b


Joined: 20 Aug 2016
Posts: 2

PostPosted: Fri Sep 02, 2016 10:02 am    Post subject: Reply with quote

Make sure that /mnt/gentoo/bin/bash exists and that it's executable.
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