View previous topic :: View next topic |
Author |
Message |
rextaffel n00b

Joined: 31 Jul 2004 Posts: 11 Location: Denmark
|
Posted: Sun Sep 05, 2004 7:18 pm Post subject: compiling kernel items (n00b question) |
|
|
I have compiled some things into my kernel but i can't get the desired effect.
I tried compiling NTFS support and samba support, but i didn't work, my procedure for kernel compilation is as follows:
Code: | root@taffelspanden rextaffel # cd /usr/src/linux
root@taffelspanden linux # make menuconfig
- compiling the things i need..
root@taffelspanden linux # cp arch/i386/boot/bzImage /boot/kernel-2.4.26-gentoo-r9
root@taffelspanden linux # cp System.map /boot/System.map-2.4.26-gentoo-r9 |
Am i supposed to do something following this procedure? |
|
Back to top |
|
 |
black hole sun Apprentice


Joined: 14 Aug 2004 Posts: 245
|
Posted: Sun Sep 05, 2004 7:30 pm Post subject: |
|
|
You didn't compile the kernel! I don't know how to compile a 2.4 kernel, unfortunately. I don't know why you'd want to use one, either, so here are some directions for the 2.6 kernels;
emerge gentoo-dev-sources # getting the 2.6 kernel
rm -f /usr/src/linux # removing old symlink
<create new symlink here>
cd /usr/src/linux # cd to new kernel
make menuconfig # configure your kernel here
make && make modules_install # actually compiling it
cp arch/i386/boot/bzImage /boot/kernel-2.6.8-gentoo-r3
cp System.map /boot/System.map-2.6.8-gentoo-r3
Update your grun.conf and reboot.
Last edited by black hole sun on Sun Sep 05, 2004 7:30 pm; edited 1 time in total |
|
Back to top |
|
 |
luisfeser Guru


Joined: 22 May 2004 Posts: 543 Location: /España/Toledo
|
Posted: Sun Sep 05, 2004 7:30 pm Post subject: |
|
|
This is everything that you do???
After menuconfig you have to do:
Code: | make all && make modules_install |
And after, copy the bzimage and modify your lilo/grub
EDIT:
ups, is a 2.4 kernel, jeje
o think, is:
make dep && make modules && make modules_install
But i forgot it. _________________ AMD Athlon XP-M 2500+ @2200MhHz|1GB DDR @400MHz Dual-Chanel|NVIDIA GeForce4 MX 420|SB Live 5.1|ADSL 512/128 Arsys
gentoo ~x86 |
|
Back to top |
|
 |
geniux Veteran


Joined: 19 Feb 2004 Posts: 1400 Location: /home
|
Posted: Sun Sep 05, 2004 7:39 pm Post subject: |
|
|
For the 2.4 kernel it is:
Code: |
make dep && make bzImage modules modules_install
|
_________________ AMD Athlon64 X2 4200+ AM2
MSI K9N SLI Platinum, Enermax Liberty 500W
1GB RAM Crucial DDR2 667MHz, MSI nVidia 7600GS 256MB
400GB + 250GB Samsung SATAII HDD
Gentoo - BeyondSources 2.6.19-20 |
|
Back to top |
|
 |
rush_ad l33t


Joined: 22 Jul 2004 Posts: 863 Location: New Jersey, USA
|
Posted: Sun Sep 05, 2004 7:48 pm Post subject: |
|
|
also for ntfs, you have to set fstab correct way |
|
Back to top |
|
 |
rextaffel n00b

Joined: 31 Jul 2004 Posts: 11 Location: Denmark
|
Posted: Mon Sep 06, 2004 9:35 am Post subject: |
|
|
Oops, i forget to mention that i typed in:
Code: | make dep && make bzImage modules modules_install |
after exiting the makeconfig...
But i'll try the 2.6 kernel later today, hope it doesn't screw up the programs i have installed  |
|
Back to top |
|
 |
rush_ad l33t


Joined: 22 Jul 2004 Posts: 863 Location: New Jersey, USA
|
Posted: Mon Sep 06, 2004 11:44 am Post subject: |
|
|
for kernel 2.6.x make sure you use
Code: | make && make modules_install |
|
|
Back to top |
|
 |
rextaffel n00b

Joined: 31 Jul 2004 Posts: 11 Location: Denmark
|
Posted: Mon Sep 06, 2004 10:06 pm Post subject: |
|
|
So, i installed kernel 2.6.8, edited my lilo.conf and rebooted.
Still no ntfs or samba support (and yes, i compiled them both into the kernel.
Does somebody have any directions that i might follow at this point? I feel kind of lost, this kernel business just doesn't seem to work for me:( |
|
Back to top |
|
 |
rush_ad l33t


Joined: 22 Jul 2004 Posts: 863 Location: New Jersey, USA
|
Posted: Tue Sep 07, 2004 12:59 am Post subject: |
|
|
well i'm lost. sorry dude. |
|
Back to top |
|
 |
comprookie2000 Retired Dev


Joined: 25 Jul 2004 Posts: 925 Location: Sun City Center, Florida
|
|
Back to top |
|
 |
|