Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-23-2005, 10:46 AM   #1
Registered: May 2003
Location: Earth
Distribution: Slackware
Posts: 76

Rep: Reputation: 15
unrecognized bash commands and missing directories after 2.6 kernel recompile

I originally installed Slackware 10.2 on a freshly formatted hard drive, dedicated to GNU/Linux (No M$ on this hard drive.) I used the sata.i kernel during the install and chose the test26 kernel. I later recompiled the kernel (using the guide in the sticky post by DaOne). All was well. Then one day last week I ran swaret to update/upgrade. I over-looked the fact that the kernel-2.4.32 was to be installed. A few days later, I rebooted the machine and instead of my normal "fortune" at login, I was greeted with "bash command not found (or unrecognized, I don't remember the exact syntax). I was able to execute some commands, but only after a su to root. I could not edit text or run lilo. I was able to use a PHLAK liveCD to change the symlinks in /boot, so that I was able to boot the computer with the 2.4 kernel. I re-installed the test26 kernel and was able to reboot into my previous configuration. However, I wanted to use my optimized kernel. I thought perhaps the problem was something in the old config, so I downloaded the latest 2.6 kernel from, and started with a fresh config. I again followed the guide posted by DaOne and all went well (no warning messages) and I rebooted. Again I run into the unrecognized bash commands problem. Has anyone experienced similar issues? I tried removing all previous versions of the 2.6 kernel,, config, and vmlinuz files, as well as /lib/modules/2.6.x/, and used pkgtool to install the slackware packaged kernel and modules from /testing, and I am still having these problems on a recompile. The stock kernel works fine. I am at my wit's end trying to resolve this. I've been poring through dmesg and /var/log/syslog to no avail. Nothing jumps out at me a being a blatant, obvious error. Could this be something as simple as a bad symlink in rc.d or something similar? (Of note: in the original recompile of my 2.6.13 kernel, I did use the APPEND_LOCAL_VERSION option. Fearing this may have been the source of my troubles, I did not choose this option on subsequent attempts.) Someone, anyone, please save me from myself!!!
Old 12-23-2005, 10:59 AM   #2
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167

Rep: Reputation: 30
Did you enable SCSI support and SATA support? Not sure if you need both, but just in case. Also, make sure you compile all filesystems in the kernel, not as modules.
Old 12-23-2005, 02:47 PM   #3
Registered: May 2003
Location: Earth
Distribution: Slackware
Posts: 76

Original Poster
Rep: Reputation: 15
I did compile those options into the kernel, not as modules, but this is irrelevant at this point, as the linux hard drive in this box is IDE. I have 1 SATA drive in the machine, but is NTFS.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recompile kernel, now all user directories gone! zach_barrow Linux - General 5 03-07-2005 04:08 PM
Devices missing after kernel recompile?!?!? wnaLinux Slackware 14 12-25-2004 06:38 PM
/proc/net/wireless missing after kernel recompile Outabux Debian 1 07-05-2004 03:16 PM
Missing commands in Bash/Terminal cferris Red Hat 3 10-12-2003 11:13 PM
Kernel Recompile missing library modules Bear Linux - Software 4 03-26-2002 05:28 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration