LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-18-2010, 04:43 PM   #1
Chriskaytonman
LQ Newbie
 
Registered: Apr 2010
Posts: 9

Rep: Reputation: 0
Exclamation Version 2.86 booting Problems


When I start my computer. It goes to a black screen, with
INIT: version 2.86 booting
INIT: No inittab file found

Enter runlevel:

I have tried to run all level but as soon as I run a level for instance, level 6 which used to reboot the system, I get

INIT: Entering runlevel: 6
INIT: No more processes left in this runlevel

What must I do to get everything running back to normal. I can not burn a rescue disk, plus I dont have one.
If you know any knowledge that would be useful, please help me figure this problem out.
 
Old 06-19-2010, 06:04 AM   #2
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
It looks like your /etc/inittab file was deleted or the file system is not mounted. You can try to append "init=/bin/bash" to your boot prompt to set bash as the init process and then check, if /etc/inittab exists. If this does not work, post as much output as possible.

What distribution are you using? Are there any other errors?
 
Old 06-20-2010, 08:45 AM   #3
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Here's the /etc/inittab file from my Mandriva installation :
Code:
#
# inittab       This file describes how the INIT process should set up
#               the system in a certain run-level.
#
# Author:       Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
#               Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# Default runlevel. The runlevels used by Mandriva Linux are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
# 
id:5:initdefault:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left.  Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.  
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"


# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

# Single user mode
~~:S:wait:/bin/sh
 
Old 06-20-2010, 04:15 PM   #4
Chriskaytonman
LQ Newbie
 
Registered: Apr 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by irmin View Post
It looks like your /etc/inittab file was deleted or the file system is not mounted. You can try to append "init=/bin/bash" to your boot prompt to set bash as the init process and then check, if /etc/inittab exists. If this does not work, post as much output as possible.

What distribution are you using? Are there any other errors?
What if the /etc/inittab file was deleted then, what would i have to do to fix this.
Because none of the init works for me.
 
Old 06-20-2010, 04:17 PM   #5
Chriskaytonman
LQ Newbie
 
Registered: Apr 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Chriskaytonman View Post
What if the /etc/inittab file was deleted then, what would i have to do to fix this.
Because none of the init works for me.
But i was running Mandriva Linux 2009.0
With Gnome 2.24 i think.
Some else installed it on my computer because my Windows XP was actin up seriously. Now Linux is.
 
Old 06-21-2010, 11:09 AM   #6
Undermind
Member
 
Registered: Sep 2009
Location: Denmark
Distribution: Arch Linux
Posts: 37

Rep: Reputation: 15
Is it a fresh install? If so, you might have a hardware error than causes data corruption. Try running a memcheck off a live CD
 
Old 06-21-2010, 01:59 PM   #7
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
Quote:
Originally Posted by Chriskaytonman View Post
What if the /etc/inittab file was deleted then, what would i have to do to fix this.
Because none of the init works for me.
If the inittab really is deleted, then boot with "init=/bin/bash" or "init=/usr/bin/bash" or "init=/bin/sh" to boot into sh/bash and then use an editor to create it (based on the above example) or copy a fresh inittab from a usb stick or over network (although you will have to configure it manually). Anyway: If inittab got deleted, there will be some serious error on your system and it is better to check the hardware and eventually reinstall the system (there will be more errors/missing files for sure) as Undermind suggested.

A minimal inittab would be:
Code:
id:3:initdefault:
l3:3:wait:/etc/init.d/rc 3
1:2345:respawn:/sbin/mingetty tty1
 
Old 06-22-2010, 03:39 PM   #8
Chriskaytonman
LQ Newbie
 
Registered: Apr 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by irmin View Post
If the inittab really is deleted, then boot with "init=/bin/bash" or "init=/usr/bin/bash" or "init=/bin/sh" to boot into sh/bash and then use an editor to create it (based on the above example) or copy a fresh inittab from a usb stick or over network (although you will have to configure it manually). Anyway: If inittab got deleted, there will be some serious error on your system and it is better to check the hardware and eventually reinstall the system (there will be more errors/missing files for sure) as Undermind suggested.

A minimal inittab would be:
Code:
id:3:initdefault:
l3:3:wait:/etc/init.d/rc 3
1:2345:respawn:/sbin/mingetty tty1
when it is asking
Enter runlevel:
what should i type in to check everything so i can proceed with the help you all are offering.
 
Old 06-23-2010, 04:00 AM   #9
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
You should pass "init=/bin/bash" as a parameter to the kernel before booting linux. If you use grub, press 'e' (I guess) when you are prompted for the operating system and then append the argument to the command line. In this case /sbin/init is not even called.
 
  


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
Internet only works when booting from Knoppix CD but not from Installed version psnewbie Linux - Networking 3 05-10-2008 12:03 AM
Bootup hangs at INIT:Version 2.84 booting MJSH Linux - General 3 05-11-2007 09:05 PM
Red Hat nash version 4.2.15 (Fedora Core 4) Booting Problem infantaņoako Linux - Newbie 1 01-23-2007 10:53 AM
Which Version is Good For Dual Booting With Windows? Calmrod Linux - Newbie 17 12-27-2006 07:46 PM
boot problem. after "INIT: version 2.85 booting: awk: fatal: Unmatched ( dobreman Fedora 2 05-27-2006 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 09:21 AM.

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