You are not logged in.

#1 2014-10-15 11:32:10

stevepa
Member
From: Texas USA
Registered: 2012-02-12
Posts: 113

[resolved] nano binary not included in archlinux-bootstrap environment

Does it seem odd that the editor nano is not in the archlinux-bootstrap-2014.10.01-x86_64.tar.gz file?

I was working through this https://wiki.archlinux.org/index.php/Fa … the_chroot, but the bootstrap environment you chroot into does not have nano in it. I did copy the nano binary from the native install into the bootstrap environment so that is an option.

This absence may or may not cause a point of confusion.

Not a big thing but thought I would mention it.

Thanks.

edited to make a clearer subject line

Last edited by stevepa (2014-10-16 01:46:16)


Arch - LVM - ext4 - gnome (T60p 14.1 1400p  x86_64), (T60 15 flexview 1400p i686)

Offline

#2 2014-10-15 15:25:25

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [resolved] nano binary not included in archlinux-bootstrap environment

As a workaround you can use the nano executable from outside the chroot to edit files.

Offline

#3 2014-10-15 16:02:12

progandy
Member
Registered: 2012-05-17
Posts: 5,202

Re: [resolved] nano binary not included in archlinux-bootstrap environment

The bootstrap archive is a minimal image. It only contains enough to run pacman in a chroot. Editors and such are available in your bootoed environment, so they are unnecessary,

Last edited by progandy (2014-10-15 16:05:52)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2014-10-16 01:45:23

stevepa
Member
From: Texas USA
Registered: 2012-02-12
Posts: 113

Re: [resolved] nano binary not included in archlinux-bootstrap environment

progandy wrote:

The bootstrap archive is a minimal image. It only contains enough to run pacman in a chroot. Editors and such are available in your bootoed environment, so they are unnecessary,

I think it was editing the mirrorlist per here https://wiki.archlinux.org/index.php/Be … t_a_mirror, directly before pacstrap, that had me looking for nano :-(

Something else I did was cp all my fully updated host's  /var/cache/pacman/pkg files into the bootstrap chroot hierarchy, so

pacstrap -c /mnt base base-devel

installed in 30 seconds! (I am curious how long X and the DE will take to install, in similar fashion.)

Of course, after finishing the new install, I did the normal pacman -Syu but there was nothing to update.



Have a good day!
Steve.


Arch - LVM - ext4 - gnome (T60p 14.1 1400p  x86_64), (T60 15 flexview 1400p i686)

Offline

Board footer

Powered by FluxBB