You are not logged in.

#1 2013-01-20 11:22:09

tyor
Member
Registered: 2013-01-19
Posts: 2

[SOLVED] 'sh: nano: command not found' on installation in arch-chroot

Hello,

I'm trying to install Arch Linux on a new laptop with a UEFI motherboard, however while following the beginners' guide on the step which requires you to arch-chroot into the /mnt base system to modify the locale.gen file using nano, I receive the following error:

'sh: nano: command not found'

I have mounted the partitions, installed the base system and have tried searching online for a solution but nothing seems to work. Also, nano works while outside of arch-root so I believe it is installed on my system.

I'm almost completely out of ideas on how to fix this, so any help or a point in the right direction would be greatly appreciated.

- Thanks.

Last edited by tyor (2013-01-20 12:01:54)

Offline

#2 2013-01-20 11:23:56

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: [SOLVED] 'sh: nano: command not found' on installation in arch-chroot

Welcome to Arch.  Did you omit it from the 'pacstrap' step?  Just install it from within the chroot via `pacman -S nano` assuming you initialized your pacman keys.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2013-01-20 11:39:07

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

Re: [SOLVED] 'sh: nano: command not found' on installation in arch-chroot

I had the same problem during my first attempts to install Arch. When you use the command as stated:

# pacstrap -i /mnt base base-devel

it seems not all packages were downloaded/installed. Now I know it was my own fault by not selecting the packages properly.

In the beginnersguide right above the pacstrap command is stated:

The -i switch can be omitted if you wish to install every package from the base and base-devel groups without prompting.

So I did, and installed without a problem

Offline

#4 2013-01-20 12:00:34

tyor
Member
Registered: 2013-01-19
Posts: 2

Re: [SOLVED] 'sh: nano: command not found' on installation in arch-chroot

That worked, thanks for the help!

Offline

Board footer

Powered by FluxBB