Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] There were a few errors when installing Gentoo
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
angryMethane
n00b
n00b


Joined: 07 Oct 2018
Posts: 8

PostPosted: Sun Oct 07, 2018 9:32 am    Post subject: [Solved] There were a few errors when installing Gentoo Reply with quote

* ISO used:
Code:
install-amd64-minimal-20181002T214501Z.iso
;
* stage3 used:
Code:
stage3-amd64-systemd-20181003.tar.bz2
;
* profile selected:
Code:
   [25]  default/linux/amd64/17.0/systemd (stable) *
;
* /etc/portage/make.conf:
Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j9"

GENTOO_MIRRORS="https://mirrors.ustc.edu.cn/gentoo/"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C


* Error1: After updating @world set, gcc threw an error that it cannot found libopcodes-2.30.0.so. I think maybe I should update my environment variables. But it continued appearing after executing
Code:
 env-update && source /etc/profile
. The shared libraries under /usr/lib64/binutils/x86_64-pc-linux-gnu/2.30/ were lost. After make a few experiments, it turned out that it was the emerge @world set has coursed this problem. I solved this problem by downloading a corresponding binary package and override them.
* Error2: when I executed
Code:
 genkernel --lvm --udev --install initramfs
, the terminal told me cannot find command genkernel. But through
Code:
 qlist -IRv
, package genkernel-next existed. I still remerged genkernel-next.
* Error3: After remerging genkernel-next and executind
Code:
 genkernel --lvm --udev --install initramfs
, the output told me cannot find /etc/genkernel.conf. So I created a blank /etc/genkernel.conf. Executed the command again, the output told me again cannot find /default/software.sh. Maybe the environment variable GK_SHARE didn't be set correctly. So I set
Code:
 GK_SHARE="/usr/share/genkernel"
and executed again, the outout told me again agin that
Code:
 /usr/share/genkernel/gen_funcs.sh: line 97: [: : integer expression expected
.

Last edited by angryMethane on Sun Oct 07, 2018 11:17 am; edited 2 times in total
Back to top
View user's profile Send private message
angryMethane
n00b
n00b


Joined: 07 Oct 2018
Posts: 8

PostPosted: Sun Oct 07, 2018 9:49 am    Post subject: Reply with quote

I use lvm with a physical volume and 4 logic volumes for /, /var, /home and swap space. I just reformat / logic volume when installed.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22049
Location: here

PostPosted: Sun Oct 07, 2018 9:52 am    Post subject: Reply with quote

For error 3 see https://forums.gentoo.org/viewtopic-t-1010400-start-0.html
_________________
Questions are guaranteed in life; Answers aren't.
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