You are not logged in.

#1 2017-06-02 21:55:23

jjanderson5
Member
Registered: 2017-05-21
Posts: 43

[Solved] questions about 'install.txt'

I'm doing my first install of arch linux and  I'm following the instructions in the file 'install.linux'. So far things seem to be going ok, but I reached the part:


   Uncomment en_US.UTF-8 UTF-8 and other needed localizations in
   /etc/locale.gen, and generate them with:
      # locale-gen

   Set the LANG variable in locale.conf(5) accordingly, for example:
       /etc/locale.conf
       LANG=en_US.UTF-8

When I look in /etc, the file locale.gen does not exist, nor does the file locale.conf.

Should these files exist after running 'pacstrap /mnt base base-devel'?

Jim A.

Last edited by jjanderson5 (2017-06-04 13:33:12)

Offline

#2 2017-06-02 21:56:31

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

Re: [Solved] questions about 'install.txt'

Create it.  Also consult the wiki: https://wiki.archlinux.org/index.php/Installation_guide


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

Offline

#3 2017-06-02 22:03:04

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: [Solved] questions about 'install.txt'

locale.gen should be there, locale.conf you need to create. Have you already chroot'ed?

Offline

#4 2017-06-02 22:04:42

antechdesigns
Member
From: UK
Registered: 2017-05-09
Posts: 20
Website

Re: [Solved] questions about 'install.txt'

Hi jj, all I did is

nano /etc/locale.gen
uncomment: en_GB.UTF-8 UTF8
locale-gen

That will genarate your: local.conf file

Offline

#5 2017-06-02 22:07:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: [Solved] questions about 'install.txt'

antechdesigns wrote:

Hi jj, all I did is

nano /etc/locale.gen
uncomment: en_GB.UTF-8 UTF8
locale-gen

That will genarate your: local.conf file

No, it won't. This doesn't address the OPs questions at all.

Last edited by Scimmia (2017-06-02 22:08:45)

Offline

#6 2017-06-03 11:55:25

jjanderson5
Member
Registered: 2017-05-21
Posts: 43

Re: [Solved] questions about 'install.txt'

@Scimmia

The way I read the text, local.gen should exist. I will look at the wiki and see if it says anything about it there.

Yes, I have run chroot already, so I should be looking in the correct /etc directory.

Is there a URL where I can download a copy of local.gen from? Or if you have a copy, could you email it to me?


Jim

Offline

#7 2017-06-03 12:03:18

jjanderson5
Member
Registered: 2017-05-21
Posts: 43

Re: [Solved] questions about 'install.txt'

@graysky

As suggested, I consulted the wiki and it basically confirms that locale.gen should be there.
In looks like locale-gen reads locale.gen as an input file and generates locale.conf.

Jim

Offline

#8 2017-06-03 12:09:32

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [Solved] questions about 'install.txt'

Firstly, it's locale.gen. I noticed that you are casually interchanging locale.gen and local.gen. Secondly, if for some reason it is not there, you can reinstall the glibc package and it will give you a new locale.gen file.

Offline

#9 2017-06-03 12:12:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,447
Website

Re: [Solved] questions about 'install.txt'

jjanderson5 wrote:

looks like locale-gen reads locale.gen as an input file...

true.

jjanderson5 wrote:

... and generates locale.conf.

false.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#10 2017-06-03 12:19:32

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

Re: [Solved] questions about 'install.txt'

jjanderson5 wrote:

As suggested, I consulted the wiki and it basically confirms that locale.gen should be there.
In looks like locale-gen reads locale.gen as an input file and generates locale.conf.

% pacman -Qo /etc/locale.gen
/etc/locale.gen is owned by glibc 2.25-2

So just reinstalled glibc.


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

Offline

#11 2017-06-03 12:24:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,447
Website

Re: [Solved] questions about 'install.txt'

Lets not bury Scimmia's questions in post 3.  Sure, reinstalling glibc would get that file back, but there is a reason it's not there already.  Unless the OP directly deleted that file (and only that file) then it's absence is a symptom of some other problem - it's probably worth diagnosing the problem rather than just treating the symptom.

If the OP hasn't chrooted yet (or is otherwise not currently in the chroot), then installing glibc and attempting to continue the installation processes is futile at best.  Alternatively, if the pacstrap command did not work right, installing just glibc will only push the problem back to something else.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#12 2017-06-03 13:29:59

jjanderson5
Member
Registered: 2017-05-21
Posts: 43

Re: [Solved] questions about 'install.txt'

@trilby

I agree and was thinking along the same lines. I have started the install process 3 times now. The first two time times I made mistakes, caught them and corrected them. My aim is to follow the instructions exactly and get a properly working system.

On my latest attempt to install, the installation largely went well and seemed to run, but it was a concern to me that I saw one or two error messages on the screen. But I could not scroll back to see the entire install history. Does the install process keep a log?

Jim

NOTE: I will be silent at least for the rest of today

Offline

#13 2017-06-03 13:37:11

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: [Solved] questions about 'install.txt'

jjanderson5 wrote:

I saw one or two error messages on the screen. But I could not scroll back to see the entire install history. Does the install process keep a log?

If you refer to the step of running `pacstrap`, the logs are in (the installed system's) /var/log/pacman.log.

NOTE: I will be silent at least for the rest of today

Depending on your location, "the rest of the day" may be already over in 23 minutes. smile


pkgshackscfgblag

Offline

#14 2017-06-04 13:30:57

jjanderson5
Member
Registered: 2017-05-21
Posts: 43

Re: [Solved] questions about 'install.txt'

@ayekat

Thanks for the pointer to /var/log/pacman.log - That is what I'm looking for.

[blockquote]
Depending on your location, "the rest of the day" may be already over in 23 minutes.
[/blockquote]

And it is 5 o'clock somewhere - time for a beer big_smile

Offline

Board footer

Powered by FluxBB