GentooThis forum is for the discussion of Gentoo Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So, I am installing Gentoo from the amd64 minimal and have applied tar to stage3*.tar.bz2 and, tomorrow, will use VIM to edit */make.conf (next step in the manual).
My system is a 10 GB RAM AMD 6-core.
1) I skipped mkdir /mnt/gentoo/boot since I am already running GRUB 2 for Debian (Gnome 3) ... can't I SUDO os-prober to get GRUB to add GENTOO from Debian when I'm done? (the fact that I am putting Gentoo on a logical partition shouldn't hurt anything, I think)
2) Any suggestions for how I edit make.conf?
3) I was going to use a KDE desktop ... but I started thinking, maybe something lightweight and faster like an XFCE, would anybody like to weigh in on this?
This is all a matter of style, I know, but I wouldn't mind hearing someone elses opinion. I'm installing Gentoo as a learning tool and warmup for an LFS project (which may be a better longterm choice for an XFCE desktop). I guess I am just trying to do this "right" the first time.
In addition to -march=athlon64 -O2 -pipe will I also set -msse -msse2 -msse3 -mmmx -md3now ? How does one know when setting flags reaches the point where it will negatively impact performance?
Last edited by DavidLee1A; 05-30-2013 at 09:11 AM.
So, I am installing Gentoo from the amd64 minimal and have applied tar to stage3*.tar.bz2 and, tomorrow, will use VIM to edit */make.conf (next step in the manual).
My system is a 10 GB RAM AMD 6-core.
1) I skipped mkdir /mnt/gentoo/boot since I am already running GRUB 2 for Debian (Gnome 3) ... can't I SUDO os-prober to get GRUB to add GENTOO from Debian when I'm done? (the fact that I am putting Gentoo on a logical partition shouldn't hurt anything, I think)
I am not familiar with os-prober, but yes, you should be ableto edit your grub config from any other linux os that you have already installed, and add an entry for Gentoo. If you wish, you should even be able to share the same kernel accross all your linuxes, though that might be more or less difficult depending on the external drivers you use (if any).
Quote:
2) Any suggestions for how I edit make.conf?
Just do the basic stuff, most of it can be changed afterwards without much pain. USE flags concretely are a thing that takes time to get the hang of, so don't worry, you'll eventually catch up.
Quote:
3) I was going to use a KDE desktop ... but I started thinking, maybe something lightweight and faster like an XFCE, would anybody like to weigh in on this?
This is all a matter of style, I know, but I wouldn't mind hearing someone elses opinion. I'm installing Gentoo as a learning tool and warmup for an LFS project (which may be a better longterm choice for an XFCE desktop). I guess I am just trying to do this "right" the first time.
I don't think there's a "right" approach when it comes to DEs. EvilWM is just as Good as KDE/Gnome. It's a very personal thing. There are guides for the major desktops, and there are also profiles to ease their installation without having to set a thousand used flags for yourself. Minor WMs ("minors" in size, that's it) are easy to set up in the sense that they don't require any special settings such as bigger ones. You just install them and that's about it.
In addition to -march=athlon64 -O2 -pipe will I also set -msse -msse2 -msse3 -mmmx -md3now ? How does one know when setting flags reaches the point where it will negatively impact performance?
If you don't plan to use binaries produced on that machine in any other, you can just set -march=native, and forget about the rest of the flags you posted. GCC will enable anything that your cpu supports and use it if it will improve the performance.
Anyway, using -march=athlon64 also includes all that stuff, no need to explicitly enable each flag, you can check the gcc man page:
Code:
k8, opteron, athlon64, athlon-fx
AMD K8 core based CPUs with x86-64 instruction set support. (This supersets MMX, SSE, SSE2,
3DNow!, enhanced 3DNow! and 64-bit instruction set extensions.)
Thank you i92guboj. I selcted AMD-64/KDE so hopefully that will automatically set the USE flags. It is now time to do step 7 Configuring the Kernel (any advice is welcome). So far I have had no more problems, thank you again!
Thank you i92guboj. I selcted AMD-64/KDE so hopefully that will automatically set the USE flags. It is now time to do step 7 Configuring the Kernel (any advice is welcome). So far I have had no more problems, thank you again!
You're welcome. The truly important thing about your kernel is setting your sata or ide chip driver statically compiled in your kernel, as well as your fs driver(s), so that your kernel can actually open your partitions and load the rest of the drivers. The rest can usually be left as modules.
You can also set an initrd,or use genkernel, but usually there's no need to (and i don't have a clue about genkernel anyway, never bothered with it].
So, I did everything up to reboot in the handbook. I don't know anymore if I set the sata/ide driver ... I watched youtube videos, read the handbook, scanned some kernel compiling articles, and went through evey yes/no/module menu I could. I ran into an issue on reboot and posted it on the gentoo forum (although I seem to get the best responses on here). I tried to do what seemed most straightforward for a first try and posted the problem here: http://forums.gentoo.org/viewtopic-t-960972.html
I am going to wait a while and post the issue on this forum if it doesn't get solved.
Decent machine, regarding using a source-based distro. So no showstopper there..
Quote:
Any suggestions for how I edit make.conf?
Depends on your prefs, but certainly you want fast compiling:
MAKEOPTS="-j6"
Quote:
I was going to use a KDE desktop ... but I started thinking, maybe something lightweight and faster like an XFCE, would anybody like to weigh in on this?
Using Gentoo as a "warmup" for LFS, maybe you want something that compiles fast. Remember that KDE is huge and also written in C++ which compiles pretty slowly compared to C code, so if you don't really need all the fancy stuff, Xfce is certainly a good choice.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.