View previous topic :: View next topic |
Author |
Message |
simvin76 Tux's lil' helper
Joined: 05 Oct 2005 Posts: 96
|
Posted: Thu Jun 07, 2007 9:10 pm Post subject: Is bzImage enough? Do I need the sources? [solved] |
|
|
Hello
Is it necessary to emerge a gentoo-source to use it?
Will everything work if I use a bzImage from a different Gentoo installation?
I have a 2.6.14 kernel but I want to use a 2.6.20 kernel compiled on another installation.
The hardware for both installations are identical.
Best regards
/Simon
Last edited by simvin76 on Sat Jun 16, 2007 8:02 pm; edited 1 time in total |
|
Back to top |
|
|
Errtu Apprentice
Joined: 12 Nov 2002 Posts: 155 Location: Brazil
|
Posted: Thu Jun 07, 2007 9:39 pm Post subject: |
|
|
If there are no modules, or if you copy them along as well (and do a depmod, iirc), and if you don't plan to compile anything on the machine with the copied kernel (since some applications require some files in the kernel source to compile against), then yes, it'll work. |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Thu Jun 07, 2007 10:12 pm Post subject: |
|
|
Errtu wrote: | If there are no modules, or if you copy them along as well (and do a depmod, iirc), and if you don't plan to compile anything on the machine with the copied kernel (since some applications require some files in the kernel source to compile against), then yes, it'll work. |
Most applications would compile just ok if you install linux-headers, which will be installed anyway as part of the base system. Only a few drivers need the real kernel sources. But note that amongst these drivers, are the nvidia and ati ones, and also some wireless stuff, qemu (and probably other virtualizers) and so on. Those will not compile if there are no kernel sources installed and configured in your /usr/src/linux. |
|
Back to top |
|
|
simvin76 Tux's lil' helper
Joined: 05 Oct 2005 Posts: 96
|
Posted: Sat Jun 16, 2007 8:01 pm Post subject: |
|
|
Hello
Thank you for the answers.
The computer booted, but it didn't work.
The old kernel only supported eth0, and the new supported both eth0 and eth1. The problem was that it called the network card connected to the internet eth1, and because of that I couldn't connect to the computer (which is 1000 km away).
For once I did some thinking and added to local.start and used savedefault fallback in grub before rebooting with the new kernel. Worked like a charm, the computer rebooted 5 minutes after it had booted with the new kernel and I could log on to my rescue dist instead.
I know that the eth0 <--> eth1 thing can be fixed with udev.rules.
Again, thanks for the answers.
/Simon |
|
Back to top |
|
|
|