Change kernel config wo rebuild
Is it possible to modify the kernel config without having to rebuild the kernel?
I need to change the "CONFIG_SCSI_MULTI_LUN" option to yes. It is currently "not set". I'm using Red Hat ES 3 with the default kernel installaion and options. I don't want to risk recompiling the kernel and removing something else from the default installation.
Thank You For Your Support...
As far as I know it's not some sysctl tunable, so you'll have to compile.
A good start would be your current kernels .src.rpm.
Unfortunately, you must rebuild kernel for any modification,but don't worry so much about kernel recompilation as long as you know very well what you are modifying,frankly I don't know that modification you want to do but I can advice you just to be careful in your choices, & it's better to backup your system files (just in case) by the command :
tar cvfp /etc.tar /mnt/d
that backup for /etc because it includes the configuration files for any service on your system.
* The option (p) to keep the path of the optained files &directories.
* /mnt/d is the directory of the compressed file, I assumed you have dual booting (linux & windows) or else you can put the backup on a cd.
* To restore the backup (I hope you don't need it), use the command:
tar xvf /mnt/d/etc.tar
Don't be afraid to recompile,1 of the Linux' advantages is its stability, even if in the worst cases you failed to restore the files, enter the 1st system cd (bootable cd) and make repair by chkdsk.
Good luck & Hope you don't need all that.
OK, so I did a 'make menuconfig' and only added the multi lun support. I then compared .config with my boot config and they are very different. There are stanzas in the boot config that have been removed from .config. I then copied my boot config (/boot/config-2.4.21-32.EL) over .config and ran 'make menuconfig' again. I added only multi lun support and complated the configs again, and again they are very different.
How can I make a config that will compile my kernel identicle to the original with only the one change (multi lun)?
|All times are GMT -5. The time now is 12:05 PM.|