From Gentoo Linux Wiki
[edit] Troubleshooting
The first step may be, in fact, to take a look at the official Gentoo Linux Frequently Asked Questions.
[edit] 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)
[edit] 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.
[edit] 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
|
|
|