Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Some questions about installation.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Savoritias
n00b
n00b


Joined: 07 Oct 2013
Posts: 20

PostPosted: Thu Oct 24, 2013 11:36 am    Post subject: Some questions about installation. Reply with quote

1) I have installed gentoo but the first time I reboot Grub 2 said that it can't find something in the /locale file. I have tried to reinstall gentoo (both times from teh system resque cd) and this time I followed the localization guide. When I type locale it says this:
Code:
sysresccd / # locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE=C
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

At the /02locale file I have typed this:
Code:
 LANG="en_US.utf8"
LC_COLLATE="C"

Is it right? Will the system boot this time?

2) I encountered a problem while emerging grub 2. When I type emerge of grub 2 the output is this:
Code:
sysresccd / # emerge sys-boot/grub:2

 * IMPORTANT: 6 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-boot/grub-2.00_p5107-r2

>>> Emerging (1 of 1) sys-boot/grub-2.00_p5107-r2
 * grub-2.00_p5107.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                      [ ok ]
 * dejavu-sans-ttf-2.34.zip SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                    [ ok ]
 * unifont-5.1.20080820.pcf.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking grub-2.00_p5107.tar.xz to /var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work
>>> Unpacking dejavu-sans-ttf-2.34.zip to /var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work
/usr/lib64/portage/bin/phase-helpers.sh: line 339: unzip: command not found
 * ERROR: sys-boot/grub-2.00_p5107-r2::gentoo failed (unpack phase):
 *   failure unpacking dejavu-sans-ttf-2.34.zip
 *
 * Call stack:
 *            ebuild.sh, line   93:  Called src_unpack
 *          environment, line 4189:  Called default_src_unpack
 *   phase-functions.sh, line  793:  Called __eapi2_src_unpack
 *   phase-functions.sh, line  787:  Called __eapi0_src_unpack
 *     phase-helpers.sh, line  585:  Called unpack 'grub-2.00_p5107.tar.xz' 'dejavu-sans-ttf-2.34.zip' 'unifont-5.1.20080820.pcf.gz'
 *     phase-helpers.sh, line  339:  Called die
 * The specific snippet of code:
 *               ( set +x ; while true ; do echo n || break ; done ) | \
 *               unzip -qo "${srcdir}${x}" || die "$myfail"
 *
 * If you need support, post the output of `emerge --info '=sys-boot/grub-2.00_p5107-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.00_p5107-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work'
 * S: '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work/grub-2.00'

>>> Failed to emerge sys-boot/grub-2.00_p5107-r2, Log file:

>>>  '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/temp/build.log'

 * Messages for package sys-boot/grub-2.00_p5107-r2:

 * ERROR: sys-boot/grub-2.00_p5107-r2::gentoo failed (unpack phase):
 *   failure unpacking dejavu-sans-ttf-2.34.zip
 *
 * Call stack:
 *            ebuild.sh, line   93:  Called src_unpack
 *          environment, line 4189:  Called default_src_unpack
 *   phase-functions.sh, line  793:  Called __eapi2_src_unpack
 *   phase-functions.sh, line  787:  Called __eapi0_src_unpack
 *     phase-helpers.sh, line  585:  Called unpack 'grub-2.00_p5107.tar.xz' 'dejavu-sans-ttf-2.34.zip' 'unifont-5.1.20080820.pcf.gz'
 *     phase-helpers.sh, line  339:  Called die
 * The specific snippet of code:
 *               ( set +x ; while true ; do echo n || break ; done ) | \
 *               unzip -qo "${srcdir}${x}" || die "$myfail"
 *
 * If you need support, post the output of `emerge --info '=sys-boot/grub-2.00_p5107-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.00_p5107-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work'
 * S: '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work/grub-2.00'

and this is the build log:
Code:
^[[32;01m * ^[[39;49;00mPackage:    sys-boot/grub-2.00_p5107-r2
^[[32;01m * ^[[39;49;00mRepository: gentoo
^[[32;01m * ^[[39;49;00mMaintainer: base-system@gentoo.org floppym@gentoo.org
^[[32;01m * ^[[39;49;00mUSE:        amd64 elibc_glibc kernel_linux multislot nls sdl truetype userland_GNU
^[[32;01m * ^[[39;49;00mFEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking grub-2.00_p5107.tar.xz to /var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work
>>> Unpacking dejavu-sans-ttf-2.34.zip to /var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work
/usr/lib64/portage/bin/phase-helpers.sh: line 339: unzip: command not found
 ^[[31;01m*^[[0m ERROR: sys-boot/grub-2.00_p5107-r2::gentoo failed (unpack phase):
 ^[[31;01m*^[[0m   failure unpacking dejavu-sans-ttf-2.34.zip
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m            ebuild.sh, line   93:  Called src_unpack
 ^[[31;01m*^[[0m          environment, line 4189:  Called default_src_unpack
 ^[[31;01m*^[[0m   phase-functions.sh, line  793:  Called __eapi2_src_unpack
 ^[[31;01m*^[[0m   phase-functions.sh, line  787:  Called __eapi0_src_unpack
 ^[[31;01m*^[[0m     phase-helpers.sh, line  585:  Called unpack 'grub-2.00_p5107.tar.xz' 'dejavu-sans-ttf-2.34.zip' 'unifont-5.1.20080820.pcf.gz'
 ^[[31;01m*^[[0m     phase-helpers.sh, line  339:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m                                ( set +x ; while true ; do echo n || break ; done ) | \
 ^[[31;01m*^[[0m                                unzip -qo "${srcdir}${x}" || die "$myfail"
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=sys-boot/grub-2.00_p5107-r2::gentoo'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.00_p5107-r2::gentoo'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work/grub-2.00'

What is the problem?
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Thu Oct 24, 2013 12:27 pm    Post subject: Reply with quote

Did you read the output you have posted here?
Code:
unzip: command not found


You have to install unzip first
Back to top
View user's profile Send private message
Savoritias
n00b
n00b


Joined: 07 Oct 2013
Posts: 20

PostPosted: Thu Oct 24, 2013 12:41 pm    Post subject: Reply with quote

that worked. But is my locales correct?
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7972
Location: ~Brussels - Belgique

PostPosted: Thu Oct 24, 2013 12:42 pm    Post subject: Reply with quote

are you in the chroot or in the SystemRescueCD system ?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Savoritias
n00b
n00b


Joined: 07 Oct 2013
Posts: 20

PostPosted: Thu Oct 24, 2013 12:45 pm    Post subject: Reply with quote

I am chrooted
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Thu Oct 24, 2013 3:31 pm    Post subject: Reply with quote

Seems you did not chroot.
Do not care about locale. You can deal with it later. Just finish installation and boot into system.
Back to top
View user's profile Send private message
hydrapolic
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2008
Posts: 124

PostPosted: Thu Oct 24, 2013 6:26 pm    Post subject: Reply with quote

If you want to work in english, you don't have to worry about locale, it will work.
Back to top
View user's profile Send private message
fturco
l33t
l33t


Joined: 08 Dec 2010
Posts: 628
Location: Italy

PostPosted: Fri Oct 25, 2013 12:53 pm    Post subject: Re: Some questions about installation. Reply with quote

Savoritias wrote:
1) I have installed gentoo but the first time I reboot Grub 2 said that it can't find something in the /locale file. I have tried to reinstall gentoo (both times from teh system resque cd) and this time I followed the localization guide. When I type locale it says this:

Savoritias wrote:
At the /02locale file I have typed this:

The right location is /etc/env.d/02locale.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum