You are not logged in.
Pages: 1
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
Create it. Also consult the wiki: https://wiki.archlinux.org/index.php/Installation_guide
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
locale.gen should be there, locale.conf you need to create. Have you already chroot'ed?
Offline
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
Hi jj, all I did is
nano /etc/locale.gen
uncomment: en_GB.UTF-8 UTF8
locale-genThat 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
@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
@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
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
looks like locale-gen reads locale.gen as an input file...
true.
... and generates locale.conf.
false.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
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 packages • Zsh and other configs
Offline
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
Offline
@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
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.
Offline
@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
Offline
Pages: 1