Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compiling the kernel (2.6)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
strumbum
n00b
n00b


Joined: 09 Feb 2004
Posts: 41

PostPosted: Tue Feb 17, 2004 10:36 am    Post subject: Compiling the kernel (2.6) Reply with quote

In the gentoo guide (which is awseme by the way), it specifies what to do to complie x86 with a 2.4 kernel, but not the 2.6 kernel.

for 2.4, it suggests:
make dep && make bzImage modules modules_install

what should I do? TIA.
Back to top
View user's profile Send private message
Tii
l33t
l33t


Joined: 02 Jan 2004
Posts: 733

PostPosted: Tue Feb 17, 2004 10:40 am    Post subject: Reply with quote

make && make modules_install
Back to top
View user's profile Send private message
strumbum
n00b
n00b


Joined: 09 Feb 2004
Posts: 41

PostPosted: Tue Feb 17, 2004 10:51 am    Post subject: Reply with quote

Quote:
From: Aaron Walker <ka0ttic <at> cfl.rr.com>
Subject: Re: Setting up 2.6 system from scratch
Newsgroups: gmane.linux.gentoo.user
Date: Sat, 14 Feb 2004 12:00:08 +0000

On Sat, 2004-02-14 at 09:33, Jonas Pedersen wrote:
> Is there anything else I should have in my mind when installing gentoo
> with 2.6 kernel as default?
>

During the install, when it's time to do the kernel, just do:

emerge <kernel-sources>
cd /usr/src/linux && make menuconfig
make bzImage modules modules_install install

it may give you an error at the end saying the system might be
unbootable, but that's just because you haven't installed a bootloader
yet, so don't worry about it.

the 'install' target will place the kernel, config, and System.map file
and related symlinks in /boot for you.

> Looking forward for comments.
>
> Best regards,

HTH,
Aaron


--
gentoo-user <at> gentoo.org mailing list


this says to use the other method (same as amd64).

Which do I use? I don't want to screw up my system now (I started at stage1). Thank you!
Back to top
View user's profile Send private message
Tii
l33t
l33t


Joined: 02 Jan 2004
Posts: 733

PostPosted: Tue Feb 17, 2004 10:55 am    Post subject: Reply with quote

I'm sorry I can't help more. I have always used make && make modules_install in my 2.6. installs and it has worked just fine. Now that I checked the installation guide it puts it like this:
Code:
(For amd64-based systems, 2.6 kernel)
# make bzImage modules modules_install

(For other systems, 2.6 kernel)
# make && make modules_install
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Tue Feb 17, 2004 11:58 am    Post subject: Reply with quote

Derryth wrote:
I'm sorry I can't help more. I have always used make && make modules_install in my 2.6. installs and it has worked just fine. Now that I checked the installation guide it puts it like this:
Code:
(For amd64-based systems, 2.6 kernel)
# make bzImage modules modules_install

(For other systems, 2.6 kernel)
# make && make modules_install


:?:

I donno where you saw that, but you need to build the image aka make bzImage ( also make bzlilo, but the kernels today are huge, so don't bother doing it ).
Also you need to build and install the modules.
Btw a clean doesn't hurt, so my advice is:
Code:
make clean && make bzImage modules modules_install



_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
Frodg
l33t
l33t


Joined: 11 Feb 2004
Posts: 761

PostPosted: Tue Feb 17, 2004 12:07 pm    Post subject: Reply with quote

To wrote:
Derryth wrote:
I'm sorry I can't help more. I have always used make && make modules_install in my 2.6. installs and it has worked just fine. Now that I checked the installation guide it puts it like this:
Code:
(For amd64-based systems, 2.6 kernel)
# make bzImage modules modules_install

(For other systems, 2.6 kernel)
# make && make modules_install


:?:

I donno where you saw that, but you need to build the image aka make bzImage ( also make bzlilo, but the kernels today are huge, so don't bother doing it ).
Also you need to build and install the modules.
Btw a clean doesn't hurt, so my advice is:
Code:
make clean && make bzImage modules modules_install




In the instructions for the 2.6 kernel it states that:(paraphrased)" make now includes the previous make dep clean bzImage modules"

so make && make modules_install is correct for 2.6 kernel

Frodg :roll:
_________________
Aerosolo ergo sum - I spray therefore I am

Gentoo - Registered Linux User # 361400
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum