Gentoo Install - part 2 - Stage3
Thursday, 3. November 2005, 22:10:58
Stage3 is a lot easier than stage1, since everything is already done. I just unpacked the stage3 tarball, then unpacked portage snapshot, then edited some config files at /etc, and it was almost done.
I've then emerged some things (one of the first things was vim), and also configured the Linux 2.6 kernel. It was the first kernel 2.6 to my system, and I noticed it does not have "USB Scanner" option, while kernel 2.4 had.
I emerged xorg-x11. It was very strange. It said "Previous xorg-x11 installation detected.", but, unless stage3 comes with X11, I did not have any X installed on gentoo. Then, at final part of xorg-x11 install, lots of strange messages were printed:
* Previous xorg-x11 installation detected. * Enabling PAM features in xorg-x11. * Migrating from /usr/X11R6/bin to /usr/bin... * /usr/X11R6/bin doesn't exist, not migrating * Symlinking //usr/X11R6/bin -> ../bin ln: creating symbolic link `//usr/X11R6/bin' to `../bin': No such file or directory * Migrating from /usr/X11R6/include to /usr/include... * /usr/X11R6/include doesn't exist, not migrating * Symlinking //usr/X11R6/include -> ../include ln: creating symbolic link `//usr/X11R6/include' to `../include': No such file or directory * Migrating from /usr/X11R6/lib to /usr/lib... * /usr/X11R6/lib doesn't exist, not migrating * Symlinking //usr/X11R6/lib -> ../lib ln: creating symbolic link `//usr/X11R6/lib' to `../lib': No such file or directory * Migrating from /usr/X11R6/man to /usr/share/man... * /usr/X11R6/man doesn't exist, not migrating * Symlinking //usr/X11R6/man -> ../man ln: creating symbolic link `//usr/X11R6/man' to `../man': No such file or directory * Preparing any installed configuration files for font move... find: //usr/share/fonts/encodings: No such file or directory find: //usr/share/fonts/local: No such file or directory find: //usr/share/fonts/misc: No such file or directory find: //usr/share/fonts/util: No such file or directory find: //usr/share/fonts/TTF: No such file or directory find: //usr/share/fonts/Type1: No such file or directory find: //usr/share/fonts/75dpi: No such file or directory find: //usr/share/fonts/100dpi: No such file or directory find: //usr/share/fonts/cyrillic: No such file or directory find: //usr/share/fonts/ukr: No such file or directory * //usr/X11R6/lib/X11/fonts does not exist. * Migrating from /usr/X11R6/lib/X11/fonts to /usr/share/fonts... * /usr/X11R6/lib/X11/fonts doesn't exist, not migrating * Symlinking //usr/X11R6/lib/X11/fonts -> ../../share/fonts ln: creating symbolic link `//usr/X11R6/lib/X11/fonts' to `../../share/fonts': No such file or directory * Preparing for /usr/X11R6 -> /usr migration... * Remaining symlinks in /usr/X11R6: find: //usr/X11R6/: No such file or directory * Migrating from /usr/X11R6 to /usr... * /usr/X11R6 doesn't exist, not migrating * Symlinking //usr/X11R6 -> ../usr * >>> SetUID: [chmod go-r] /gentoo/tmp_portage/portage-pkg/xorg-x11-6.8.2-r4/bin/usr/bin/Xorg ... [ ok ]
I have absolutely no idea about what they are, and I don't know if it was installed correctly. I hope yes.
In additon, portage told me to run etc-update. And I did it:
# etc-update Scanning Configuration files... Exiting: Nothing left to do; exiting. :)
I hope everything is ok with my gentoo install. The impression I have is that gentoo has a lot of flaws, and things works by miracle. I think if there were no flaws, then stage1 would work, and xorg-x11 should not give too many (error) messages.
No, I'm not expecting a perfect system, because there is no such thing, but I was expecting something better.
Now I need to configure and install grub, then hope Gentoo can boot.
But in your case, I think I can explain a few things.
When you install from Stage 3, some of the X libraries are included in the tarball to resolve some circular dependencies that arise. You can safely ignore the messages you see, for the most part, when you are installing Xorg, as the ebuild doesn't know you are installing from Stage 3. It assumes you are emerging as usual. But the fact that you are seeing these messages means either:
1) You did not follow the installation instructions to the letter. I highly recommend you do so on your first time through until you learn the ropes of Gentoo. And I mean *to the letter.* Don't try to optimize, and throw away any assumptions you may have about Linux before embarking. The installation is text-based for a reason: you are supposed to learn *Gentoo* linux so you know how to administer it. If this item is completely mistaken, then...
2) This is a genuine bug that needs to be reported. It won't get fixed if you don't report it, and you might get some help from the bugboard besides.
As far as your NVidia woes go, you really should *not* be installing a masked package without a really good reason to do so, ie: a Gentoo developer tells you to do so. When you do this, it's usually a specific package version. If the version you actually need is considered "unstable" then emerge that version and none other. Your card, however, actually does work with the stable driver. On that note, I refer you to two sets of documentation on the main Gentoo site:
1) Gentoo Linux NVidia Guide: http://www.gentoo.org/doc/en/nvidia-guide.xml
2) The X Server Configuration HOWTO: http://www.gentoo.org/doc/en/xorg-config.xml
For that matter, there is a great (unofficial) Wiki - it's a really great resource:
http://gentoo-wiki.com/Main_Page
I hope this helps you!
-=Ryan
By deriamis, # 25. November 2005, 01:47:33
1. Xorg worked fine. I guess those messages are "normal". Maybe something like this:
just a guess, though. I think I won't submit a bug report about this.
2. Yes, I did follow the handbook. No, I did not try to optimize anything, my CFLAGs aren't aggressive.
3. Why to emerge an unstable nVidia driver? Maybe because stable one does not work? For me is a reason good enough. And also because the owner of #nvidia channel tells so (and he is not the owner for nothing).
4. The bug I have is NOT described at gentoo nvidia guide. I must submit a bug report about it. I didn't do it yet because I don't like using a system that may crash at anytime, so I'm not using nvidia driver.
By CrazyTerabyte, # 12. December 2005, 02:03:13