Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Changing Modules
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
looca
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2011
Posts: 79
Location: Firenze

PostPosted: Thu Sep 22, 2011 12:54 pm    Post subject: [SOLVED] Changing Modules Reply with quote

I installed the kernel 2.6.39-gentoo-r3
I gave the command
Code:
nano -w /etc/conf.d/modules

I got
Quote:
You can define a list modules for a specific kernel version,
# a released kernel version, a main kernel version or just a list.
#modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#modules="ohci1394"

# You can give modules a different name when they load - the new name
# will also be used to pick arguments below.
#modules="dummy:dummy1"

# Give the modules some arguments if needed, per version if necessary.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="ieee1394 ohci1394"
#module_ieee1394_args_2_6_23="tun ieee1394"
#module_ieee1394_args_2_6="tun"

# You should consult your kernel documentation and configuration
# for a list of modules and their options.

in addition to changing the number of kernels must also change other code?


Last edited by looca on Thu Sep 22, 2011 6:00 pm; edited 2 times in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Thu Sep 22, 2011 2:05 pm    Post subject: Reply with quote

Unless you have kernels with specific needs I've not found I have to change anything but the bootloader (grub/menu.lst/grub.conf if symlinked). Most of Gentoo's startup scripts will extract the right version if you "make modules_install" properly on your kernel build...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
looca
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2011
Posts: 79
Location: Firenze

PostPosted: Thu Sep 22, 2011 2:56 pm    Post subject: Reply with quote

Thank you.
Can I ask you something else?
I'm configuring grub.conf
these are my partitions
Quote:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a1636

Device Boot Start End Blocks Id System
/dev/sda1 2048 4196351 2097152 83 Linux
/dev/sda2 4196352 8390655 2097152 82 Linux swap / Solaris
/dev/sda3 8390656 322963455 157286400 83 Linux
/dev/sda4 322963456 625141759 151089152 5 Extended

and this is the current grub.conf
Quote:
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_cha$
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 30
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz

#title Gentoo Linux 2.6.24-r5
#root (hd0,0)
#kernel /boot/kernel-genkernel-x86-2.6.24-gentoo-r5 root=/dev/ram0 real_root=/d$
#initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5

# vim:ft=conf:

can you help me to compile / boot / grub / grub.conf?

Thanks
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