You are not logged in.

#1 2012-09-06 06:28:54

dtomasiewicz
Member
Registered: 2011-10-19
Posts: 18

[SOLVED] locale-gen, nano, sed not available in arch-chroot

Both the Installation Guide and the Beginner's version say to use arch-chroot before configuring. However, when I try to do this, I no longer have access to the commands I need to do the configuration (e.g. sh: nano: command not found). I can use nano from outside of the chroot, but AFAIK locale-gen needs to be run inside, and it relies on sed which is also not present.

I'm surprised this hasn't been brought up before-- have I done something wrong?

EDIT: mkinitcpio is also not available while in arch-chroot

Last edited by dtomasiewicz (2012-09-06 08:07:22)

Offline

#2 2012-09-06 07:34:03

Whef
Member
Registered: 2012-08-26
Posts: 33

Re: [SOLVED] locale-gen, nano, sed not available in arch-chroot

Did you use pacstrap to install the base system (and anything else you want) on your install (usually /mnt) before chrooting? Otherwise, it won't be able to access the resources from the regular install media because it will be outside of the chroot environment.

Offline

#3 2012-09-06 07:47:32

dtomasiewicz
Member
Registered: 2011-10-19
Posts: 18

Re: [SOLVED] locale-gen, nano, sed not available in arch-chroot

Whef wrote:

Did you use pacstrap to install the base system (and anything else you want) on your install (usually /mnt) before chrooting? Otherwise, it won't be able to access the resources from the regular install media because it will be outside of the chroot environment.

Hmmm no I did not do this, nor did I see any mention of it on the install guide. It just says to arch-chroot then (after editing a few files) run locale-gen and mkinitcpio, neither of which are accessible within the chroot'd shell.

Offline

#4 2012-09-06 08:00:27

Whef
Member
Registered: 2012-08-26
Posts: 33

Re: [SOLVED] locale-gen, nano, sed not available in arch-chroot

Offline

#5 2012-09-06 08:07:07

dtomasiewicz
Member
Registered: 2011-10-19
Posts: 18

Re: [SOLVED] locale-gen, nano, sed not available in arch-chroot

Whef wrote:

Awesome, thanks. It's not that easy to miss... not sure how I managed that.

Offline

Board footer

Powered by FluxBB