View previous topic :: View next topic |
Author |
Message |
strumbum n00b
Joined: 09 Feb 2004 Posts: 41
|
Posted: Tue Feb 17, 2004 10:36 am Post subject: Compiling the kernel (2.6) |
|
|
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 |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Tue Feb 17, 2004 10:40 am Post subject: |
|
|
make && make modules_install |
|
Back to top |
|
|
strumbum n00b
Joined: 09 Feb 2004 Posts: 41
|
Posted: Tue Feb 17, 2004 10:51 am Post subject: |
|
|
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 |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Tue Feb 17, 2004 10:55 am Post subject: |
|
|
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 |
|
|
To Veteran
Joined: 12 Apr 2003 Posts: 1145 Location: Coimbra, Portugal
|
Posted: Tue Feb 17, 2004 11:58 am Post subject: |
|
|
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 |
Tó _________________
------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------ |
|
Back to top |
|
|
Frodg l33t
Joined: 11 Feb 2004 Posts: 761
|
Posted: Tue Feb 17, 2004 12:07 pm Post subject: |
|
|
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 |
Tó |
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 _________________ Aerosolo ergo sum - I spray therefore I am
Gentoo - Registered Linux User # 361400 |
|
Back to top |
|
|
|