LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-20-2004, 04:08 PM   #1
mrhansen
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Rep: Reputation: 0
No initab file found - No more processes left in this runlevel


Hi I am in deep trouble here guys, if anyone can help me I would appreciate it greatly! I am a total newbie here

I am running a Suse 9.1 server on the internet, and it crashed here after I had some error messages in KDE with RANDRINIT hack or something like that.

Now i first got some errors regarding missing files and directories, and reiserfs filesystem ....vs-508 unexpeted message and so on. I logged on with the cd and ran reiserfsck --first the fix and the the rebuild tree ......

Well now I don get anywhere it just boots up and I get errors like this :

-warning: cant't open /etc/mtab: No such file or directory
-warning: cant't open /etc/mtab: No such file or directory
-ReisersFS: hda2: found reisersfs format "3.6"with standard journal
-ReisersFS: hda2: using orderd data mode

and it keeps going until

- VFS: Mounted root (reiserfs filesystem) readonly
- Trying to move old root to /initrd ... failed
- Unmounting old root
- Trying to free ramdisk memory ..ok
- Freeing unused kernel memory
- INIT: version 2.85 booting
- INIT: No initab file found

-Enter runlevel:
When entering 3 here it reports back:

- INIT: Entering runlevel: 3
- INIT: no processes left in this runlevel
And here it just stops !?


I am really out on a limb here guys, anyone please if you have any suggetions to me, please I am all out of ideas because this is all so new to me !

Regards,
MrHansen

Last edited by mrhansen; 08-20-2004 at 04:32 PM.
 
Old 08-20-2004, 04:36 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,093

Rep: Reputation: 300Reputation: 300Reputation: 300Reputation: 300
Sounds like your /etc/inittab file is missing or corrupt. You'll need to boot into signle user mode (or perhaps even off your rescue CD) and restore it from backups (you do have backups, right ). If you don't have anything backed up you can probably reinstall the package that provides /etc/inittab. In RH9 this is the initscripts package (it may be different in SuSE). As for mtab, if you touch /etc/mtab I think it should be dynamically created at boot (mtab is the table of mounted filesystems).
 
Old 08-20-2004, 04:40 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
- Trying to move old root to /initrd ... failed
That's the problem. For any reason there's something wrong with your initrd file. I think you need to use the cd as rescue again and check if initrd exists. You may have bigger damage than you expected, IMHO (more things can be missing).

BTW When you're hacked it's the best idea to install from scratch. You can put the disk to any other machine and copy data.
 
Old 08-21-2004, 12:42 PM   #4
mrhansen
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks guys, I tried to check for the initrd but found that I cant even log in from rescue now, so I will have to reinstall from scratch

Last edited by mrhansen; 08-21-2004 at 12:43 PM.
 
Old 08-21-2004, 01:32 PM   #5
mrhansen
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Hmrpf ...now I did manage to access the disk....seems the /initrd is missing, cant find it anywhere.

But both the inittab and mtab is present and accessible!

Is there anything I can do with the /initrd ?? Could I just recreate it somehow ??



Thanks,
MrHansen


Last edited by mrhansen; 08-21-2004 at 01:46 PM.
 
Old 08-21-2004, 04:08 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,093

Rep: Reputation: 300Reputation: 300Reputation: 300Reputation: 300
mkinitrd will re-create the initrd for you. See the man page for more details.
 
Old 08-27-2004, 02:17 PM   #7
mrhansen
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for helping me out guys. I discoverd why the problem arised in the first place and it was a hardware problem that corrupted my hardisk.

I tried creating a new initrd but failed to do so, and also every other attempt to recover my system has been futile. It says the root partition is missing and as a last try I will attempt to recover it, but probably I will have to reinstall.

At least I am a little more wise now. Thanks.

Last edited by mrhansen; 08-27-2004 at 02:18 PM.
 
  


Reply


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
INIT: no more processes left in this runlevel netsina Red Hat 3 07-04-2005 03:21 AM
How can I rename file with left click? homesp Debian 5 06-06-2005 04:34 AM
/etc/initab problem sujith_marar Linux - Newbie 4 07-03-2004 02:12 AM
INIT: no more processes left in this runlevel ..:eMa:.. Linux - Newbie 8 10-29-2003 11:49 AM
When I try to move a file to a dir it says No Space Left on Device. Help KrazyKid Linux - Software 1 06-16-2002 09:06 PM


All times are GMT -5. The time now is 12:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration