Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compiling the kernel
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
dj_goku
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2003
Posts: 78
Location: Earth

PostPosted: Wed Apr 09, 2003 11:51 pm    Post subject: compiling the kernel Reply with quote

i know to do this:

cd /usr/src/linux
make menuconfig
then pops up menuconfig options
then do i do:
make dep && make clean bzImage modules modules_install
cp /usr/src/linux/arch/i386/boot/bzImage /boot

Note: bzImage is what the image name is like vmlinux.2.4.20?
_________________
dj_goku | www.tektronic.org
Back to top
View user's profile Send private message
therobot
Apprentice
Apprentice


Joined: 07 Jun 2002
Posts: 256
Location: Canada

PostPosted: Wed Apr 09, 2003 11:52 pm    Post subject: Reply with quote

yep, thats what you do.
Back to top
View user's profile Send private message
dj_goku
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2003
Posts: 78
Location: Earth

PostPosted: Wed Apr 09, 2003 11:53 pm    Post subject: =:0) Reply with quote

nice THANKS!
_________________
dj_goku | www.tektronic.org
Back to top
View user's profile Send private message
Jarjar
Apprentice
Apprentice


Joined: 21 Jul 2002
Posts: 265
Location: Sweden

PostPosted: Thu Apr 10, 2003 12:12 am    Post subject: Reply with quote

There is a few packages you need to remerge afterwards, too.
My kernel routine ;)
cd /usr/src/linux &&
cp .config .. &&
make mrproper &&
cp ../.config . &&
make menuconfig

make -j4 dep &&
make -j4 bzImage modules &&
make modules_install &&
mount /boot && mv /boot/bzImage /boot/bzImage.old &&
cp arch/i386/boot/bzImage /boot && umount /boot &&
emerge alsa-driver lm_sensors && echo "DONE :p"
_________________
[Server etc. | C2D 2.2 @ 3.0 GHz / 4 GB RAM / 3x1 TB + 1x2 TB SATA disks + 1.5 TB ext. | Gentoo]
[Laptop | Macbook Pro 15" / Core i7 (Sandy) Quad 2.2 GHz / 16 GB RAM / Samsung 840 250 GB SSD + 1 TB + 2 TB HDD / 6750M 1 GB / OS X, Win 7]
Back to top
View user's profile Send private message
dj_goku
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2003
Posts: 78
Location: Earth

PostPosted: Thu Apr 10, 2003 12:14 am    Post subject: Reply with quote

ummm, what? i'm just getting into this....could you explain?
_________________
dj_goku | www.tektronic.org
Back to top
View user's profile Send private message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Thu Apr 10, 2003 12:16 am    Post subject: Reply with quote

"Note: bzImage is what the image name is like vmlinux.2.4.20?"

"cp /usr/src/linux/arch/i386/boot/bzImage /boot "

What if you just actually use bzImage instead of vmlinux2.4.20?

in lilo my file reads image=/boot/bzImage and everything works fine.
Back to top
View user's profile Send private message
dj_goku
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2003
Posts: 78
Location: Earth

PostPosted: Thu Apr 10, 2003 12:19 am    Post subject: image=/boot/bzImage Reply with quote

never tried that, how do i get into boot after you restart? if the gentoo isn't in the rom, also if you do boot into the gentoo cd, how do you get to the directories you made previously....becuz when i booted into the cd i just got cdimage /# i couldn't access my files i think....=:0|
_________________
dj_goku | www.tektronic.org
Back to top
View user's profile Send private message
michaelb
l33t
l33t


Joined: 06 Jun 2002
Posts: 686
Location: Ann Arbor, MI

PostPosted: Thu Apr 10, 2003 2:35 pm    Post subject: Reply with quote

when compiling the kernel, the line reading
Code:
make clean bzImage modules modules_install
is doing a number of things. Make is taking, in the case, four arguments. You should look at /usr/src/linux/README for more details, but by passing the bzImage argurment, you are creating a compressed kernel image called bzImage. Hope this answers your question.

Michael
_________________
Behold, The power of SEARCH!
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