Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compiling kernel items (n00b question)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
rextaffel
n00b
n00b


Joined: 31 Jul 2004
Posts: 11
Location: Denmark

PostPosted: Sun Sep 05, 2004 7:18 pm    Post subject: compiling kernel items (n00b question) Reply with quote

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
View user's profile Send private message
black hole sun
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 245

PostPosted: Sun Sep 05, 2004 7:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
luisfeser
Guru
Guru


Joined: 22 May 2004
Posts: 543
Location: /España/Toledo

PostPosted: Sun Sep 05, 2004 7:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
geniux
Veteran
Veteran


Joined: 19 Feb 2004
Posts: 1400
Location: /home

PostPosted: Sun Sep 05, 2004 7:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
rush_ad
l33t
l33t


Joined: 22 Jul 2004
Posts: 863
Location: New Jersey, USA

PostPosted: Sun Sep 05, 2004 7:48 pm    Post subject: Reply with quote

also for ntfs, you have to set fstab correct way
Back to top
View user's profile Send private message
rextaffel
n00b
n00b


Joined: 31 Jul 2004
Posts: 11
Location: Denmark

PostPosted: Mon Sep 06, 2004 9:35 am    Post subject: Reply with quote

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 :P
Back to top
View user's profile Send private message
rush_ad
l33t
l33t


Joined: 22 Jul 2004
Posts: 863
Location: New Jersey, USA

PostPosted: Mon Sep 06, 2004 11:44 am    Post subject: Reply with quote

for kernel 2.6.x make sure you use

Code:
make && make modules_install
Back to top
View user's profile Send private message
rextaffel
n00b
n00b


Joined: 31 Jul 2004
Posts: 11
Location: Denmark

PostPosted: Mon Sep 06, 2004 10:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
rush_ad
l33t
l33t


Joined: 22 Jul 2004
Posts: 863
Location: New Jersey, USA

PostPosted: Tue Sep 07, 2004 12:59 am    Post subject: Reply with quote

well i'm lost. sorry dude.
Back to top
View user's profile Send private message
comprookie2000
Retired Dev
Retired Dev


Joined: 25 Jul 2004
Posts: 925
Location: Sun City Center, Florida

PostPosted: Tue Sep 07, 2004 1:28 am    Post subject: Reply with quote

See if this helps ; http://gentoo-wiki.com/HOWTO_Mount_MS_Windows_partitions_(FAT,NTFS)
_________________
http://dev.gentoo.org/~dabbott/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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