You are not logged in.

#1 2008-07-07 11:16:23

clownish
Member
Registered: 2007-09-24
Posts: 7

Adding module-parameters in Grub

Hi Community,

Im using the following line in /etc/modprobe.conf to make my thinkpad stop whining:

options processor max_cstate=2

now i want to add this directly to the grub kernel line in menu.lst, i tried

kernel /vmlinuz26 root=/dev/sda5 ro processor max_cstate=2

and

kernel /vmlinuz26 root=/dev/sda5 ro processor.max_cstate=2

but both has no effect.

Any ideas?
regards,
Fabian

Offline

#2 2008-07-11 14:38:08

clownish
Member
Registered: 2007-09-24
Posts: 7

Re: Adding module-parameters in Grub

*push*

Offline

#3 2008-07-11 19:11:52

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Adding module-parameters in Grub

modprobe.conf is the right place for it, because processor is compiled as a module. You would only use grub's kernel line if it was built in to the kernel.

Offline

#4 2008-07-13 11:23:41

clownish
Member
Registered: 2007-09-24
Posts: 7

Re: Adding module-parameters in Grub

So there is no way to get this working throw grub (beside building a custom kernel)?

Offline

#5 2008-07-13 14:26:29

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Adding module-parameters in Grub

Correct. There is also no need to do it with grub.

Offline

#6 2008-07-13 16:35:52

clownish
Member
Registered: 2007-09-24
Posts: 7

Re: Adding module-parameters in Grub

There is. In a noisy area i dont need the options, but in a quiet one i do. I want to decide on bootup if i use the kernel with or with out the paramters.

Offline

#7 2008-07-13 16:49:35

loosec
Member
Registered: 2007-03-08
Posts: 134

Re: Adding module-parameters in Grub

Then you probably want to build two initrd's and make an extra entry in grubs menu.lst.

Offline

Board footer

Powered by FluxBB