View previous topic :: View next topic |
Author |
Message |
bryon Apprentice
Joined: 14 Feb 2003 Posts: 163
|
Posted: Sat Apr 26, 2003 10:19 pm Post subject: baImage problems |
|
|
I just installed Gentoo from 1.4_rc3 and I just recompiled the system to add a few more fetures but bzImage seams to be missing.
Quote: |
root@lappy bab # cd /usr/src/linux-2.4.20-gentoo-r2/arch/i386/boot/
root@lappy boot # ls
Makefile bootsect.S compressed install.sh setup.S tools video.S
root@lappy boot #
|
Where did it go did I do something wrong? |
|
Back to top |
|
|
cram Guru
Joined: 17 Nov 2002 Posts: 312 Location: Saskatoon, Canada
|
Posted: Sat Apr 26, 2003 11:28 pm Post subject: |
|
|
are you sure /usr/src/linux-2.4.20-gentoo-r2 is the directory that you performed the compile in? maybe your symlinks are pointing to the wrong place. _________________ aaarggghhhh.
Good point Chewie. |
|
Back to top |
|
|
bryon Apprentice
Joined: 14 Feb 2003 Posts: 163
|
Posted: Sun Apr 27, 2003 1:41 am Post subject: |
|
|
well i
Quote: |
root@lappy bab # cd /usr/src/linux-2.4.20-gentoo-r2/
root@lappy linux-2.4.20-gentoo-r2 # make menuconfig
|
and saved
Quote: |
is the directory that you performed the compile in?
|
|
|
Back to top |
|
|
Jeff Binder Tux's lil' helper
Joined: 06 Dec 2002 Posts: 117 Location: RPI (Troy, NY, US, etc.)
|
Posted: Sun Apr 27, 2003 3:15 am Post subject: |
|
|
Are you sure you actually compiled the kernel? You need to do
Code: | make dep && make bzImage modules modules_install |
to compile it.
EDIT: I forgot the 'make dep' you have to do with the 2.4 kernels. _________________ Anyone who attributes a quote to themself is a pompous fool.
--me |
|
Back to top |
|
|
bryon Apprentice
Joined: 14 Feb 2003 Posts: 163
|
Posted: Sun Apr 27, 2003 4:27 am Post subject: compiling done |
|
|
yes i forgot to tellyou did i gave it all those commands and watied like 20 minites while it compiled the kernel. It boots fine but i need to change the kernel around for pcmica and some other things I left out the first time. |
|
Back to top |
|
|
Jeff Binder Tux's lil' helper
Joined: 06 Dec 2002 Posts: 117 Location: RPI (Troy, NY, US, etc.)
|
Posted: Tue Apr 29, 2003 5:31 am Post subject: |
|
|
Unless I'm misunderstanding you, you need to recompile the kernel every time you make changes. If you're compiling out of the same directory you used initially, you shouldn't have to wait for the whole thing, though. It'll just recompile the parts that have changed/been added. _________________ Anyone who attributes a quote to themself is a pompous fool.
--me |
|
Back to top |
|
|
peterk0 Apprentice
Joined: 25 Mar 2003 Posts: 188 Location: Prague
|
Posted: Tue Apr 29, 2003 8:15 am Post subject: |
|
|
You should definitely symlink your kernel directory to /usr/src/linux.
Code: | ln -s /usr/src/linux /usr/src/linux-2.4.20-gentoo-r2/ |
Than ...
Code: | ls /usr/src/linux/
make menuconfig
make dep && make clean bzImage modules modules_install |
And finally move or copy your new bzImage to /boot (which you have to mount if not mounted already...) |
|
Back to top |
|
|
bsolar Bodhisattva
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Tue Apr 29, 2003 8:21 am Post subject: |
|
|
peterk0 wrote: | You should definitely symlink your kernel directory to /usr/src/linux.
Code: | ln -s /usr/src/linux /usr/src/linux-2.4.20-gentoo-r2/ |
|
It should not be the other way?
Code: | # ln -s /usr/src/linux-2.4.20-gentoo-r2 /usr/src/linux |
The source first, the target then. _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
|
peterk0 Apprentice
Joined: 25 Mar 2003 Posts: 188 Location: Prague
|
Posted: Wed Apr 30, 2003 5:40 am Post subject: |
|
|
bsolar wrote: | The source first, the target then. |
Yep, it was a test |
|
Back to top |
|
|
|