View previous topic :: View next topic |
Author |
Message |
joemc91 n00b
Joined: 04 Feb 2004 Posts: 38
|
Posted: Wed Feb 04, 2004 3:16 pm Post subject: Can't find 2.6.1 kernel after compile |
|
|
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 |
|
|
idoneus Apprentice
Joined: 26 Mar 2003 Posts: 243 Location: Graz, Austria
|
Posted: Wed Feb 04, 2004 3:33 pm Post subject: |
|
|
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 that should be enough. _________________ Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
mshack n00b
Joined: 21 Aug 2003 Posts: 30 Location: Poland
|
Posted: Wed Feb 04, 2004 3:48 pm Post subject: |
|
|
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 |
|
|
joemc91 n00b
Joined: 04 Feb 2004 Posts: 38
|
Posted: Wed Feb 04, 2004 5:17 pm Post subject: make now failing |
|
|
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 |
|
|
mshack n00b
Joined: 21 Aug 2003 Posts: 30 Location: Poland
|
Posted: Wed Feb 04, 2004 7:36 pm Post subject: |
|
|
Have you emerged the development kernel or did you manually download and install the kernel and ? |
|
Back to top |
|
|
joemc91 n00b
Joined: 04 Feb 2004 Posts: 38
|
Posted: Thu Feb 05, 2004 12:24 am Post subject: |
|
|
I simply emerged the developement kernel. "emerge --usepkg gentoo-dev-sources" |
|
Back to top |
|
|
|