Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't find 2.6.1 kernel after compile
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
joemc91
n00b
n00b


Joined: 04 Feb 2004
Posts: 38

PostPosted: Wed Feb 04, 2004 3:16 pm    Post subject: Can't find 2.6.1 kernel after compile Reply with quote

I've been working on getting my new Gentoo system up and running over the past day and have been having some trouble. Everything up to the kernel installation has completed succesfully, including the kernel compile. After I ran "make && make modules_install" as the install guide says to for the 2.6 kernel, I have no idea how to install it. The guide only tells how to install the 2.4 kernel. On a side note, I read somewhere I need to create a "/sys" folder, I hadn't done that when I ran "make". How do I install the 2.6 kernel now that it compiled succesfully?
Back to top
View user's profile Send private message
idoneus
Apprentice
Apprentice


Joined: 26 Mar 2003
Posts: 243
Location: Graz, Austria

PostPosted: Wed Feb 04, 2004 3:33 pm    Post subject: Reply with quote

just copy it from the same location that the 2.4 kernel resides (/usr/src/linux/arch/i386/boot/bzImage if you are using a x86) to /boot.
add menu entry in your grub.conf
and finished.

/sys: just execute
Code:
mkdir /sys
that should be enough.
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
mshack
n00b
n00b


Joined: 21 Aug 2003
Posts: 30
Location: Poland

PostPosted: Wed Feb 04, 2004 3:48 pm    Post subject: Reply with quote

Hi joemc91,

the "/sys" directory is not necessary to compile the kernel.

When you type "make && make modules_install" it's like doing "make dep clean && make bzImage && make modules modules_install" for an 2.4.x kernel. So you still need to copy the newly compiled kernel into your boot directory.

Code:
cp /usr/src/linux-beta/arch/i386/boot/bzImage /boot/kernel-2.6.1


Don't forget to mount the "/boot" partition before doing the copy.
Back to top
View user's profile Send private message
joemc91
n00b
n00b


Joined: 04 Feb 2004
Posts: 38

PostPosted: Wed Feb 04, 2004 5:17 pm    Post subject: make now failing Reply with quote

Hello again. Turns out that the command "make && make modules_install" is failing. It is giving me the error "make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1". Any ideas on what this is?
Back to top
View user's profile Send private message
mshack
n00b
n00b


Joined: 21 Aug 2003
Posts: 30
Location: Poland

PostPosted: Wed Feb 04, 2004 7:36 pm    Post subject: Reply with quote

Have you emerged the development kernel or did you manually download and install the kernel and ?
Back to top
View user's profile Send private message
joemc91
n00b
n00b


Joined: 04 Feb 2004
Posts: 38

PostPosted: Thu Feb 05, 2004 12:24 am    Post subject: Reply with quote

I simply emerged the developement kernel. "emerge --usepkg gentoo-dev-sources"
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