HOWTO_Install_Gentoo_Linux:_Troubleshooting
| Installation • Kernel & Hardware • Networks • Portage • Software • System • X Server • Gaming • Non-x86 • Emulators • Misc |
|
Contents |
Troubleshooting
The first step may be, in fact, to take a look at the official Gentoo Linux Frequently Asked Questions.
Error Messages During Boot Process
Did you:
- mount /proc?
- mount /dev?
- link localtime?
- rm /etc/localtime; ln -s /usr/share/zoneinfo/${TIMEZONE} /etc/localtime
- failure to do this causes `date` to fail as well as many php scripts - anything that converts from unix-time to real time
- figure out how to make volume group devices appear?
- vgchange -a n; vgchange -a y; vgchange -a n; vgchange -a y
- vgexport -a vg0 (export all the volumes)
- vgimport -a vg0 (import all the volumes into the existing system)
Compile Issues
First rebuilding with simpler {C,CXX,LD}FLAGS:
CFLAGS="-O2 -pipe -march=i686" \
CXXFLAGS="${CFLAGS}" \
LDFLAGS=" " emerge ${PACKAGE}
- If that works, then troubleshoot by readding all of your CFLAGS one-by-one, then LDFLAGS. That's how I came up with the CFLAGS I'm using so I believe that they should work flawlessly so far as you change the -mtune option to match your arch.
- Check http://bugs.gentoo.org for a similar bug, file one if necessary.
DNS Problems
- DNS name resolution works for root only. /etc/resolv.conf has the wrong permissions; chmod it as follows:
| Code: Changing permissions on /etc/resolv.conf |
chmod 0644 /etc/resolv.conf |
Last modified: Sat, 06 Sep 2008 08:51:00 +1000 Hits: 6,953
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and real estate agent tools.

