添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
  • Index
  • » Newbie Corner
  • » [SOLVED] 'sh: nano: command not found' on installation in arch-chroot
  • [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)

    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.

    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