View previous topic :: View next topic |
Author |
Message |
Ant0115 n00b
Joined: 15 Sep 2017 Posts: 10
|
Posted: Sun Sep 17, 2017 7:52 pm Post subject: Trouble setting up the locale |
|
|
Hello,
I am at the part of the install where I need to configure my locale, which is:
en_US ISO-8859-1
en_US.UTF-8 UTF-8
so, I made a nano file at /etc/locale.gen that contains only the two locale codes listed above.
When I go to the next step of the install:
I get this:
Code: | (chroot) sysresccd / # nano -w /etc/locale.gen
(chroot) sysresccd / # locale-gen
bash: locale-gen: command not found
(chroot) sysresccd / # locale -a
bash: locale: command not found |
I am not sure what to do, I read the Localization/Guide in the Gentoo Handbook but I still cannot find an answer.
Does anyone here have any idea of what I can do to fix the problem? I would appreciate ANY help at all
Thank you
[Moderator edit: added [code] tags to preserve output layout. -Hu] _________________ Best Regards,
Ant |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Sep 17, 2017 10:18 pm Post subject: |
|
|
Seems strange that it wouldn't be in your path, not sure why that would be.
I would try running the command by using the full path, which should be at "/usr/sbin/locale-gen". _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Mr. T. Guru
Joined: 26 Dec 2016 Posts: 477
|
Posted: Mon Sep 18, 2017 6:14 am Post subject: |
|
|
What stage archive (tarball) do you use? Some archives are based on C standard library (other than glibc) that does not provide locale-gen. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
Posted: Mon Sep 18, 2017 6:19 am Post subject: |
|
|
What stage3 you used (post full name of file)? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
HungGarTiger Apprentice
Joined: 04 Feb 2014 Posts: 180 Location: /nz/auckland
|
Posted: Mon Sep 18, 2017 6:27 am Post subject: |
|
|
Did you successfully chroot into your new installation?
I'm asking because Quote: | (chroot) sysreccd / # |
Wouldn't be the outcome of the $PS1 on a new system or by following the guide. |
|
Back to top |
|
|
Ant0115 n00b
Joined: 15 Sep 2017 Posts: 10
|
Posted: Tue Sep 19, 2017 1:24 am Post subject: here's the tarball I downloaded |
|
|
fedeliallalinea wrote: | What stage3 you used (post full name of file)? |
Code: |
root@sysresccd /root % mount /dev/sda4 /mnt/gentoo
root@sysresccd /root % cd /mnt/gentoo
root@sysresccd /mnt/gentoo % wget http://distfiles.gentoo.org/releases/amd64/autobuilds/20170907/stage3-amd64-nomultilib-20170907.tar.bz2
|
this is the tarball that I downloaded above^^
and HungGarTiger, this is my first installation attemp at gentoo. the only other distro I have used is Debian, which is ultra-easy to install (no chrooting at all). That being said I am not entirely sure if I am properly chroot'ing, nI thought I was until you made your post... now Im doubting myself, lol... I am using SystemRescueCD, not the minimal install cd if that makes any difference in the way it would appear onscreen? _________________ Best Regards,
Ant |
|
Back to top |
|
|
HungGarTiger Apprentice
Joined: 04 Feb 2014 Posts: 180 Location: /nz/auckland
|
Posted: Tue Sep 19, 2017 3:20 am Post subject: Re: here's the tarball I downloaded |
|
|
Ant0115 wrote: | fedeliallalinea wrote: | What stage3 you used (post full name of file)? |
Code: |
root@sysresccd /root % mount /dev/sda4 /mnt/gentoo
root@sysresccd /root % cd /mnt/gentoo
root@sysresccd /mnt/gentoo % wget http://distfiles.gentoo.org/releases/amd64/autobuilds/20170907/stage3-amd64-nomultilib-20170907.tar.bz2
|
this is the tarball that I downloaded above^^
and HungGarTiger, this is my first installation attemp at gentoo. the only other distro I have used is Debian, which is ultra-easy to install (no chrooting at all). That being said I am not entirely sure if I am properly chroot'ing, nI thought I was until you made your post... now Im doubting myself, lol... I am using SystemRescueCD, not the minimal install cd if that makes any difference in the way it would appear onscreen? |
If you are mounting the /proc, /sys and /dev file systems correctly then the command Code: | chroot /mnt/gentoo /bin/bash | will work without a hitch. If you've followed the guide to the letter the PS1 will read from memory. |
|
Back to top |
|
|
Ant0115 n00b
Joined: 15 Sep 2017 Posts: 10
|
Posted: Tue Sep 19, 2017 6:01 am Post subject: I'm chroot'ed into my new environment |
|
|
HungGarTiger,
Thanks for the tip, I'm chroot'ed in to my new environment and the install is moving forward again, I will update either when I have another question, lol... or I successfully finish the install. _________________ Best Regards,
Ant |
|
Back to top |
|
|
HungGarTiger Apprentice
Joined: 04 Feb 2014 Posts: 180 Location: /nz/auckland
|
Posted: Tue Sep 19, 2017 6:12 am Post subject: Re: I'm chroot'ed into my new environment |
|
|
Ant0115 wrote: | HungGarTiger,
Thanks for the tip, I'm chroot'ed in to my new environment and the install is moving forward again, I will update either when I have another question, lol... or I successfully finish the install. |
This may also solve the problem you were having in your own ther thread btw.
Ask, don't forget to mark your thread [solved] as this helps other people when they are searching for answers to the same problem |
|
Back to top |
|
|
Mr. T. Guru
Joined: 26 Dec 2016 Posts: 477
|
|
Back to top |
|
|
Lysio n00b
Joined: 20 Jun 2017 Posts: 9
|
Posted: Wed Sep 20, 2017 1:10 pm Post subject: |
|
|
For me, SystemRescueCD worked without the special installation instructions of the "installation alternative guide". |
|
Back to top |
|
|
|