LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Cannot see Kernel Config Info, and my Swap File...Won't! (https://www.linuxquestions.org/questions/debian-26/cannot-see-kernel-config-info-and-my-swap-file-wont-227583/)

fastvfr 09-07-2004 02:34 AM

Cannot see Kernel Config Info, and my Swap File...Won't!
 
Hello, everyone.

As you can see, I have not posted here much; instead I have learned a great deal about Debian - and Linux in general - by reading the informative posts that fill this forum. I hope that will help keep me from asking too many Newbie questions! ;)

I could not find answers to a couple of issues I have noticed, which may be bugs in the 3.4 release, with both the 2.4.26 and 2.6.7 kernels...

I noticed the first issue while playing with the LiveCD, in the Control Center> System Admin> Linux Kernel...

I saw at the top of the page: Path to kernel sources: /usr/src/linux

And right below that, it said, "Sorry!"

"The kernel configuration could not be read due to the following error:

No Hardware Architecture was specified! Perhaps the kernel's source code is not installed on this system, or the path is entered incorrectly."

Then it continues, "Either your kernel sources contain invalid config rules or you just found a KDE Bug!"

There is no config source file listed, nor is there anything in the Architecture box. How odd.

So after I did the HDD install, I looked in the /usr/src directory again and saw that the linux folder is just a shortcut which links to the linux-2.4.26 folder right beside it, same as the Live version...nothing had changed.

Inside 'linux-2.4.26' are just the folders 'Documentation' and 'Include'; nothing else.

I am guessing that this means I'll need to copy the kernel's config file into this folder (since without a subdirectory link to follow, the string is just looking at the outside of two blank folders) or I need to find the path's string in the Linux Kernel configuration page's .config file, and edit that. The CC page does not let me save a different path.

My question is, are all the Knoppix 3.4 iso files set up this way, and, if so, how can it be that my intense Google searches have netted me ziltch for info on this subject?!

BTW, I have not moved anything since I did the install, but I did burn two different copies to my HDD (two diff partitions) and updated the 2nd version to 2.6.7_686....but there again, the same issue presents itself.

Thing is, these kernels both run solidly, quickly, and smoothly; they load in under 3 minutes (my PC is: Asus P4C800-E Del/2.80E/512MB PC3200/GeF5900U/1.44 floppy/ 2x52xCD drives/2x80GB IDE HDD(hda1=80GBntfs read-only; hdb1=20GBWin98; hdb5=20GBext3(empty); hdb6=8GBext3 w/2.4.26 '/' directory; hd7 has 8GB 2.4 /home; hd8=8GB w/2.6.7 '/' and hd9=2.6 /home; hd10=512MB swap space. The rest of hdb(hdb2-hdb4) is NTFS paging file-virtual memory, and about 5GB of XP files are stored there too. No Knoppix app can write to anything formatted ntfs! That is not ever allowed.))

The only other problem I have had with this distrro is that the Swap Files absolutely refused to swap while running the LiveCD! After I did the HDD install, I saw that there was no change at all...after I noticed that, I did the second install...then updated....and when it Still didn't want to play nice, THAT'S when I decided to set the /home directories up in separate partitions to see if that would help. Nope; no dice.

I am using GAG in the MBR to find all the active OS'es, and Lilo boots whichever Knoppix kernel I select flawlessly, every time.

Please let me know if you experienced this with your 3.4 release, and/or what you think might be the best fix.

TIA!!

Best regards,

FastVFR

PS. Oh yes...if anyone could tell me where I should go to edit this &#@%$ pointer shadow out from beneath my cursor, I would be much obliged!!

Dead Parrot 09-07-2004 03:37 AM

It is likely that Knoppix hasn't included kernel sources to save space. For the kernel config file in Knoppix, check out /boot/config-*. Once you've installed Knoppix on hard disk, you can apt-get install kernel-source-*.

Kanotix is a better option than Knoppix for hard disk installation.

Linux starts swapping when it runs out of RAM.

Write support for ntfs is an experimental feature in Linux 2.6. You can turn it on by compiling your own kernel -- just remember that experimental features may break your system.

KDE probably has some utility to change mouse cursor (I wouldn't know because I don't use KDE). Once you've installed Knoppix on hard disk you can apt-get install galternatives, which is a program that allows you to define many defaults in Debian, including default mouse cursor.

You'll find better answers visiting this forum: http://www.knoppix.net/forum/


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