LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How I can view my kernel parameters in RH9? (https://www.linuxquestions.org/questions/linux-general-1/how-i-can-view-my-kernel-parameters-in-rh9-198786/)

SheldonPlankton 06-28-2004 03:18 PM

How I can view my kernel parameters in RH9?
 
Hi,

I am installing mkCDrec and one of the things the install says to do is ...

# Check current kernel if the following items were compiled into the kernel. Check file /usr/src/linux/.config :

* CONFIG_BLK_DEV_IDECD=y (or m)
* CONFIG_BLK_DEV_LOOP=y (or m)
* CONFIG_ISO9660_FS=y (or m)
* CONFIG_JOLIET=y
* CONFIG_BLK_DEV_RAM=y
* CONFIG_BLK_DEV_RAM_SIZE=4096 (or 8192)
* CONFIG_BLK_DEV_INITRD=y
* CONFIG_MSDOS_FS=y (or m)

Unfortunately, if one of the above are not set it is necessary to recompile your kernel.

Well I don't seem to have a /usr/src/linux/.config file.

Here's what I got instead ...

[root@localhost sys]# cd /usr/src/
[root@localhost src]# ls
debug linux-2.4 linux-2.4.20-8 redhat
[root@localhost src]# find . -name '.config'
[root@localhost src]#

How can I check my current kernel's settings?

TigerOC 06-28-2004 03:39 PM

Normally found under /boot as config-kernel_version

guzzi 06-29-2004 05:28 AM

current kernel config
 
Hello SheldonPlankton

I may be off on a wrong tangent here, but I see in your post that you are looking for your .config file by using the ls command.

ls -a will show hidden files, which is what the .config file is. You are in the right directory at /usr/src/linux.

Another location for your .config file is on the same CDROM you used for initial installation.

Good Luck.


All times are GMT -5. The time now is 11:10 AM.