LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-31-2003, 10:37 PM   #1
JunLitsu
Member
 
Registered: Apr 2002
Distribution: Gentoo
Posts: 95

Rep: Reputation: 15
kernel panic, everything in bin and sbin have astericks on them


For no reason when I booted up linux it complained about not finding a root system, so I used a boot disk and fscked it and it found some errors and fixed it. So I tried to boot it and this time it has a kernel panic no init found try passing etc... Thats strange, so I poked around and found out that everything under bin and sbin has an asterik in front of it! I think it may have been something to do with fsck but I"m not sure. Does anyone have any experience with this issue? Thanks a lot in advance
 
Old 10-31-2003, 10:47 PM   #2
JunLitsu
Member
 
Registered: Apr 2002
Distribution: Gentoo
Posts: 95

Original Poster
Rep: Reputation: 15
I apologize I made a mistake, I don't think the problems have anything to do with the asteriks, I think it's just the naming convention of my boot disk or something. Still I don't know whats wrong with my system, grub.conf is fine and all the files seem to be in the right place. Any suggestions?

Oh and I have a gentoo system with grub.conf as follows (note: this was working fine before and the questions marks stand for some version number that I don't remember excactly)
root (hd0,0)
kernel=(hd0,0)/boot/kernel-? root=/dev/hda6
initrd=(hd0,0)/boot/initrd-?

Last edited by JunLitsu; 10-31-2003 at 10:49 PM.
 
Old 11-01-2003, 09:35 AM   #3
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Were the asterisks _in front_ of everything, or after, i.e. /bin/*cp or /bin/cp*. The former would be _very_ odd, the latter is just decoration that ls can add if asked. The * after the file means that the file is executable.

If the latter, what does

file /sbin/init

tell you?
 
Old 11-01-2003, 04:30 PM   #4
JunLitsu
Member
 
Registered: Apr 2002
Distribution: Gentoo
Posts: 95

Original Poster
Rep: Reputation: 15
thanks for the reply, thats the strange thing, there is no init and there wasn't any bash but all my other files and programs are still there. I copied over the init and bash from my livecd and now it boots but it complains about a whole bunch of things missing. I think during the fsck process it did something called rebuildtree and I think that might have wiped some of my stuff. I user reseirfs by the way. It seems that all my init scripts are there and intact too. This is very strange.
 
  


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
/bin/sh: ro: No such file or directory Kernel Panic rchrismon Linux - General 2 10-29-2005 09:30 PM
openbsd difference between bin and sbin noir911 *BSD 1 07-15-2005 11:28 PM
Kernel Panic (/usr/sbin/chroot) after chrooting some users. Niels@debian Linux - General 0 08-12-2004 05:22 PM
/bin vs. /sbin mikeshn Linux - Software 6 10-07-2003 03:59 PM
sbin and bin Stephanie General 5 09-05-2002 08:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:47 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