Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Gentoo Linux Help
Reload this Page Gentoo install Qs
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Gentoo Linux Help For help and discussion related to Gentoo Linux

Reply
 
Thread Tools Display Modes
Old 05-14-2004   #1 (permalink)
Linux Engineer
 
Join Date: Jul 2003
Location: Farnborough, UK
Posts: 1,291
Send a message via MSN to Chris H Send a message via Skype™ to Chris H
Gentoo install Qs

Gonna have another go at Gentoo and knocking up a kernel in preference to genkernel.

From the Gentoo quick install guide it says:

(Install the kernel sources) # emerge <kernel-package-here>
(Configure your kernel using genkernel...) # emerge genkernel; genkernel --menuconfig all
(or (1) manually build your kernel) # cd /usr/src/linux; make menuconfig;
( (2) Include VM fs, /proc fs, /dev fs, /dev fs auto mount at boot)
( (3) Compile your kernel) # make dep && make clean bzImage modules modules_install
( (4) Copy over the kernel) # cp arch/i386/boot/bzImage /boot; cp System.map /boot

Which is all well and good but (Q1) what's (2) on about? There's summat similar in install.html on the cdrom and I assume it's about loading modules. If so how do you find out the exact module name to use and where do you bung it??

(Q2) Also, where the make menuconfig gives you the option of module or compile in kernel what's best??

(Q3) Also what's the name of the kernel generated by this process?

From the networking section you have:

(List modules to be loaded at startup) # nano -w /etc/modules.autoload.d/kernel-<version>

Probably answered part of Q1 above but again how do I know the exact modules name?

Ta.
__________________
Plans to Prosper

thekiadriver on #linuxforums - fleetingly
Chris H is offline   Reply With Quote
Old 05-14-2004   #2 (permalink)
Linux Engineer
 
Join Date: Jul 2003
Location: Farnborough, UK
Posts: 1,291
Send a message via MSN to Chris H Send a message via Skype™ to Chris H
*cough*

__________________
Plans to Prosper

thekiadriver on #linuxforums - fleetingly
Chris H is offline   Reply With Quote
Old 05-14-2004   #3 (permalink)
Linux User
 
Join Date: Jun 2003
Location: Calgary, AB CANADA
Posts: 496
I decided to step up from my stage 3 install and give the stage 2 a go on my laptop. Like you, I also chose to manual build the kernel. Although, when I left for work this morning, it was still emerging the ati-drivers so I haven't completed it yet.

Q1. I added support to the file systems I'm using (VM, proc, dev, reiserfs, ext3, second extended fs, and automatically mount as boot). As for specific modules, I just expanded the appropriate sections. For example, I expanded the 10/100 nic section and choose support for my Realtek 8139. Does this help?

Q2. Support for file systems must not be compiled as modules or else you can't mount them. As for everything else, I don't see why you couldn't compile them as modules. Come to think of it, I think I set my nic support to compile in the kernel (*) instead of as a module (M). We'll see what happens when I reboot.

Q3. After compiling, the name of the kernel is bzImage and it's in your arch/i386/boot/ folder.

Good luck with your install, and keep us posted. I'll find out tonight how well I did on my first stage 2 (and no genkernel). :P
__________________
\"Everything should be made as simple as possible, but not simpler.\"
Albert Einstein
CopperTop is offline   Reply With Quote
Old 05-14-2004   #4 (permalink)
Linux Engineer
 
Join Date: Jul 2003
Location: Farnborough, UK
Posts: 1,291
Send a message via MSN to Chris H Send a message via Skype™ to Chris H
Cheers for that Coppertop.

One more question

If I select, for example, my nic driver as a module in menuconfig will it automatically get loaded at boot and if not how do I add it to the file (whatever that file is, can't remember the name. Do I just include 8937too (for example) on a new line or is there a format to follow. IIRC the Gentoo docs just said add it to the file but didn't tell you how to add it.

IYSWIM.

Ta.
__________________
Plans to Prosper

thekiadriver on #linuxforums - fleetingly
Chris H is offline   Reply With Quote
Old 05-15-2004   #5 (permalink)
Linux Guru
 
sarumont's Avatar
 
Join Date: Apr 2003
Location: /dev/urandom
Posts: 3,662
You just add the module name to /etc/modules.autoload. Just make sure the symlink is mapped to the correct /etc/modules.autoload.d/* file.

Code:
$gentooUsers++;
sarumont is offline   Reply With Quote
Old 05-15-2004   #6 (permalink)
Linux Engineer
 
Join Date: Jul 2003
Location: Farnborough, UK
Posts: 1,291
Send a message via MSN to Chris H Send a message via Skype™ to Chris H
Cheers all.

Chickened out and done genkernel --configure

Tis working now though so I is happy.

Another Q!!!!

Haven't done mirrorselect but emerge is pulling stuff in from an external source. I'd prefer it to use the cd. How do I do that?

Ta
__________________
Plans to Prosper

thekiadriver on #linuxforums - fleetingly
Chris H is offline   Reply With Quote
Old 05-15-2004   #7 (permalink)
Linux Guru
 
sarumont's Avatar
 
Join Date: Apr 2003
Location: /dev/urandom
Posts: 3,662
If you want to use the CD, that's covered under the GRP installation instructions in the handbook...but I can't seem to find it anywhere. The bloody thing has run off...

Here's the only thing I've found that's close: http://www.gentoo.org/doc/en/altinstall.xml#doc_chap4. Hope it helps.
sarumont is offline   Reply With Quote
Old 05-15-2004   #8 (permalink)
Linux Engineer
 
Join Date: Jul 2003
Location: Farnborough, UK
Posts: 1,291
Send a message via MSN to Chris H Send a message via Skype™ to Chris H
Ta Sarumont.

I used the GRP install as per instructions, but it's just that after reboot it just downloads whatever I want to emerge from the net instead of the cd.

Tis an annoyance rather than a problem especially as I'm on 150kbs.

Another Q!!!!!!

emerge -k package and emerge package???

Does the -k install a prebuilt package?

QQQ!!!!

Also when I've downloaded a package do I need to do

rc-update add package default
__________________
Plans to Prosper

thekiadriver on #linuxforums - fleetingly
Chris H is offline   Reply With Quote
Old 05-15-2004   #9 (permalink)
Linux Engineer
 
Join Date: Sep 2003
Location: Knoxhell, TN
Posts: 1,078
Send a message via MSN to lordnothing
emerge -k installs a prebuilt package if it's available.. otherwise it falls back to source...

you only need to use rc-update if what you installed has a daemon that needs to be started automatically...

also, check /etc/make.conf and set your binary package directory variable (i forgot what it is exactly) to where you mount your CD... and then just use emerge -k....
__________________
Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr
lordnothing is offline   Reply With Quote
Old 05-31-2004   #10 (permalink)
Linux Newbie
 
Darl's Avatar
 
Join Date: Oct 2003
Location: Canada/BC/Vernon/Home
Posts: 125
Chris,

what is `genkernel --configure' I don't remember reading about that in any of the manuals -even the genkernel manual.

I've been having deadly problems configuring the kernel, now I'll resort to anything to get it compiled....
Darl is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 07:39 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0