[SOLVED] Installing Gentoo - Need help and guidance
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.
As promised in my very first post I'm now going to give Gentoo another shot.
The hardware platform in question is pretty straight forward.
It's an Asus Eee PC 1015PEM with 2 gigs of RAM, an Intel atom N550, Danish keyboard layout and so on and so forth. I'm quite sure about all the parts, but I'm sure you can help me out when it comes to that.
All in all, as long as I can get the wireless to work, I'm happy, though I'd also like USB tethering with my HTC Legend to work.
I'm going to do the install via SSH, for easy sharing of data. As far as I know, it shouldn't course trouble, but please let me know if I'm mistaken.
If everything goes to plan, you should be able to see my progress here, though it may not work. If it don't, I'll find another way.
Anyway, I usually do okay up until I have to mess around with the use flags and kernel configuration, so you probably won't hear a lot from me to start with.
But now to the essentials.
I'm going to run pure 64 bit, no multilib profile, no swap partition and, unless you give me a good reason, no boot partition. It's simpler that way I think.
So basically, the partitioning scheme will simply be one large ext4 partition.
After that, if nothing goes wrong, which it may, as I've never tried this particular approach before, the CFLAGS are of interest.
-march=atom -O2 -pipe -fomit-frame-pointer
Seem like a good start, but please advice. Remember, I'm trying to achieve perfection here
Then there's the makeopts, which usually do little more than to confuse me. I usually just set it to the recommended number of cores + 1, but I really have no idea what the argumentation is for this. In my mind it should either be 2 or 4, number of cores or threads, so if you have anything interesting to say on this subject, please do let me know.
Then it's time to configure the USE variables and the kernel.
The USE variables... Well, they're confusing. Up until now I've basically let them be as is, but for a hyper minimalistic and optimised system, I'd really like a lot of help on that part, I just don't know where to start.
And when it comes to the kernel configuration... HELP!
Basically I'm out of my league here. Some things seem to make sense, but most don't.
And this is basically as far as I've ever gotten with this computer, cause after that, when trying to emerge the essentials, everything just seem to fail for no apparent reason.
Lastly I'll just describe the goal in it's entirety.
Installing a Gentoo base on my Asus Eee PC 1015PEM, imagining that is has got an SSD, as it eventually will (no, I'm not going to turn journalling off just yet)
I don't care about the blutooth and webcam, but wireless, sound and such basic stuff should work.
After that I'll throw in FluxBox and then I'm Basically done.
Later on, I should also be able to run a basic local webserver. PHP apache and mysql, but for now that is not important.
Guess that's it for now, though I've probably forgotten something important.
Then there's the makeopts, which usually do little more than to confuse me. I usually just set it to the recommended number of cores + 1, but I really have no idea what the argumentation is for this. In my mind it should either be 2 or 4, number of cores or threads, so if you have anything interesting to say on this subject, please do let me know.
number of cores + 1
This is safe.
Quote:
Originally Posted by Zacariaz
Then it's time to configure the USE variables and the kernel.
The USE variables... Well, they're confusing. Up until now I've basically let them be as is, but for a hyper minimalistic and optimised system, I'd really like a lot of help on that part, I just don't know where to start.
apparently I don't have gcc in the minimal image I use, but how the heck am I supposed to compile anything without it? Suddenly it's not that odd that I haven't been able to emerge anything on my previous attempts.
Do I really need to use the livedvd? If so, I've go at problem, as I can't get it to work from an USB key.
apparently I don't have gcc in the minimal image I use, but how the heck am I supposed to compile anything without it? Suddenly it's not that odd that I haven't been able to emerge anything on my previous attempts.
Do I really need to use the livedvd? If so, I've go at problem, as I can't get it to work from an USB key.
I have never used a LiveDVD to install Gentoo before.
I have installed from another Linux partition and a straight handbook installation using a Gentoo installation CD.
I have never used a LiveDVD to install Gentoo before.
I have installed from another Linux partition and a straight handbook installation using a Gentoo installation CD.
How exactly are you installing?
I'm using the minimal install cd from USB. Nothing too it really.
As far as I've gathered so far, there may be a problem with the $PATH, but my head really hurt right now. I thought if I could at least locate gcc, I could worry about that later, yet still get the information I need. Well, I need a break. Just in case it of any use, here's the path:
/usr/local/sbin:
/usr/local/bin:
/usr/sbin:
/usr/bin:
/sbin:
/bin:
/opt/bin:
/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5
Thanks for the help so far. I'll return later.
edit:
Could it have something to do with the path being correct only when chrooted? That would sort of make sense.
I'm using the minimal install cd from USB. Nothing too it really.
As far as I've gathered so far, there may be a problem with the $PATH, but my head really hurt right now. I thought if I could at least locate gcc, I could worry about that later, yet still get the information I need. Well, I need a break. Just in case it of any use, here's the path:
/usr/local/sbin:
/usr/local/bin:
/usr/sbin:
/usr/bin:
/sbin:
/bin:
/opt/bin:
/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5
Thanks for the help so far. I'll return later.
edit:
Could it have something to do with the path being correct only when chrooted? That would sort of make sense.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.