LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-16-2007, 02:03 AM   #1
gizmobay
LQ Newbie
 
Registered: Nov 2005
Posts: 17

Rep: Reputation: 0
Debian will no longer boot


I've run into a problem with Debian no longer booting on my laptop. At boot, when it trys to execute the boot up sequence in the rcS.d, it gives me errors that say "No such directory". The directory it's complaining about is /lib/lsb/init-functions and /lib/init. I'm then dropped to the command prompt. I do a cd /lib then cd lsb and sure enough it says lsb isn't a directory. Then I do a ls -al | grep lsb the first character says s instead of d. If I do a locate init-functions, it says init-functions is at /lib/lsb/init-functions, go figure.

Any ideas on how to fix or should I re-install?

If I need to reinstall, can someone provide a distro that allows you to install with full hard drive encryption easily. This is why I installed Debian as it was very simple unfortunately I'm not very keen on the rest of Debian.
 
Old 10-16-2007, 02:22 AM   #2
Matz
Member
 
Registered: Oct 2006
Distribution: Kubuntu 9.04, Debian Etch
Posts: 178

Rep: Reputation: 31
It seems like you have messed up your file system. Do you remember what you have done before having this problem? It should some action you have done as root
Quote:
Then I do a ls -al | grep lsb the first character says s instead of d. If I do a locate init-functions, it says init-functions is at /lib/lsb/init-functions, go figure.
I didn't understand what you mean with this: from which directory have you done these commands? And what is the exact output you get?

Did you try to give the command "startx"?
 
Old 10-16-2007, 07:45 AM   #3
reverse
Member
 
Registered: Apr 2007
Distribution: Gentoo
Posts: 337

Rep: Reputation: 30
Matz.. he said he's doing `cd /lib` and then issuing the other commands. On my system:

Quote:
$ ls -ald /lib/lsb/
drwxr-xr-x 2 root root 4.0K 2007-09-28 16:22 /lib/lsb//
$ ls -al /lib/lsb/init-functions
-rw-r--r-- 1 root root 7.9K 2007-07-25 16:47 /lib/lsb/init-functions
I'm guessing something, somewhere (perhaps even the user) went wrong. Locate is reporting it as present in /lib/lsb because locate works (and is so fast) because of a cache it's keeping. Updating locate's database would make it 'see' that the file is gone. This is why I pref. `find` anyway, slower but more trust-worthy.

I'm a big fan of Debian, but that doesn't stop me from saying the following: I think the 10.3 openSUSE installer allows you to easily set up encrypted partitions. I'd try to find some more info though; see if what I've said is true *and* if this part of the installer is stable/mature/etc.

Good luck.

P.S.: can you think of anything (updates/tweaking/etc.) that took place a short period of time before you were no longer able to boot?

P.P.S.: what version of Debian are you using?

Last edited by reverse; 10-16-2007 at 07:47 AM.
 
Old 10-16-2007, 11:11 AM   #4
gizmobay
LQ Newbie
 
Registered: Nov 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for the help. I bought some used RAM and put it in my laptop and restarted. Probably should've ran a memtest first but I didn't. When I restarted, I got a kernel panic. I then ran memtest and it gave me bad blocks. I pulled the bad memory and restarted and now I'm getting what's described in my original post.

After it gives me the Not a Directory errors, it kicks me down to a shell prompt. This is where I ran the commands in my original post as reverse described. I also ran fsck on the partitions thinking it'll clear the problem up but it didn't. I'm using Debian Etch.

I'm starting to think I'll be doing a reinstall. I did like Debian's installer for complete hard drive encryption. I'll look around and see if there's another distro that has the same capabilities.

Last edited by gizmobay; 10-16-2007 at 11:13 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmin is not longer found in Debian 'Testing'? Akhran Debian 11 03-08-2006 10:04 AM
ide bus no longer found - Debian 3.1 i386 Matthew Thill Debian 1 09-24-2005 05:57 PM
debian users and firefox how much longer to wait??? Lleb_KCir Linux - Software 8 05-20-2005 06:20 PM
Debian 'modconf' no longer working e88z4 Debian 2 07-01-2004 11:00 AM
'Installation' no longer a Debian feature? TACD Debian 8 04-29-2004 08:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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