wherei do i find .config file
Problem: This is the actual problem
[/I][/U][/B]I'll start off by stating that I'm pretty new to linux so this could likely be a stupid newbie mistake. Here's the problem: The kernel I have working is version 2.4.22 and I can still boot up to that. I compiled a 2.6 version and installed it in exactly the same way that the old version is, just appending 2-6 to the end of the file. I did this also with /etc/lilo.conf and ran lilo afterwards so when I reboot I get a menu that shows linux and linux-2.6 linux still boots up fine but when I try and boot up linux-2.6 I get some ouput and then a kernel panic with this message: <snip> VFS: Cannot open root device "888" or unknown-block(8,8) Please append a correct "root=" boot option Kernel panic: VFS: Unable to mount root fs on unknown-block(8,8) I am running debian testing on a dell poweredge 1750. It has 2 Xeon processors and 1 scsi HD. The whole reason behind my compiling a kernel is trying to get support for high memory (this machine has 2 gigs of ram) and multi-processor support. I doubt this has anything to do with lilo and suspect that I've somehow configured the kernel wrong. I am using reiserFS and I'm pretty sure I selected all scsi and driver support. Everything is compiled in and not as modules. Solution This is the solution could u check on IDE support, whether is turned on or not. Check your .config and look for CONFIG_BLK_DEV_IDE and CONFIG_BLK_DEV_IDEDISK entries. now how do i fine the .config file please help me out |
did you installed from a rpm? if you compiled your own kernel from a kernel source your .config is in the top directory of your kernel directory tree along with your system.map file. i suggest you read the kernel howto's first. i am sorry for the other post in the other thread but with all honest means i suggest you read the kernel howto's and procedures that you have to follow in order to compile and run your new kernel. you will be delighted by the output instead of frustrated which you are right now.
|
Wherever you built your kernel will have the .config file.
Perhaps it's /usr/src/linux/.config or /usr/src/linux-2.6.whichever.version.you.compiled/.config ? Your error Quote:
In other words, either (a) your / (root) filesystem is not in that location or (b) you don't have the block device for that filesystem compiled in your kernel, or compiled as a module (M) rather than built-in (Y). |
In my experience, that error is usually caused by forgetting to compile the appropriate filesystem support into the kernel (Chinaman's option "b" above). I suggest you start there.
|
thanx for the help
chinaman's b option really worked and solved my problem.The .config file was located at /usr/src/Linux 2.4.21-9.0.1 |
Glad you got it working, and thanks for posting what worked. Now someone who finds your thread by searching will be able to do the same. ;)
|
Well done, Ibrahimbazar.
|
Quote:
|
All times are GMT -5. The time now is 06:37 PM. |