LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-23-2005, 10:46 AM   #1
R_Shackleford
Member
 
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 kernel.org, 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, system.map, config, and vmlinuz files, as well as /lib/modules/2.6.x/, and used pkgtool to install the slackware packaged 2.6.14.3 kernel and 2.6.14.3 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
sweetnsourbkr
Member
 
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
R_Shackleford
Member
 
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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