LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-18-2008, 11:37 PM   #1
adamkong
LQ Newbie
 
Registered: Aug 2007
Location: hongkong
Posts: 17

Rep: Reputation: 0
No init found on boot.


my company homepage have little bit problem so i reboot the linux server
and then load to :

Partition check:
sda: sda1 sda2 sda2
Loading jbd.o module
Journalled Block Device driver loaded
Loading ext3.o module
Mounting /proc filesystem
Creating block devices
Creating root devices
Mounting root filesystem
EXT3.fs:group descriptor corrupted
mount: error 22 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd_failded:2
umount /initrd/proc failed:2
Freeing unused kernel memory: 156k freed
Kernel panic: No init foung. Try passing init: option to kernel

stop at here...what's the matter????

how to fix this problem , please help
 
Old 11-19-2008, 12:05 AM   #2
bkcreddy17
Member
 
Registered: Feb 2008
Location: India-Hyderabad
Distribution: RHEL and Fedora
Posts: 171

Rep: Reputation: 15
I think your Hard Disk is out. Do you have a backup?
 
Old 11-19-2008, 12:15 AM   #3
oli
Member
 
Registered: Jun 2007
Location: Australia
Distribution: Centos and Fedora
Posts: 34

Rep: Reputation: 16
I think that either the hard disk is on the way out or your file system journal is trashed.
 
Old 11-19-2008, 12:16 AM   #4
dinesh25d
LQ Newbie
 
Registered: Jan 2007
Location: Mumbai, India
Distribution: Ubuntu, Fedora
Posts: 9

Rep: Reputation: 0
First try to boot in single user mode
Then check HDD for errors
 
Old 11-19-2008, 12:23 AM   #5
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Well, it says corrupted filesystem. The best way to proceed is to load a live CD distro on to the system, and run fsck on the affected partition. That might fix you right up.

If it doesn't fix you up, then what you do next just depends on the error messages that come back from fsck and from the system message log (which will probably also print on the system console - ctrl alt F1).
 
Old 11-19-2008, 12:45 AM   #6
adamkong
LQ Newbie
 
Registered: Aug 2007
Location: hongkong
Posts: 17

Original Poster
Rep: Reputation: 0
The server is red hat and i haven't any red hat cd...
can i use another linux live cd to boot it?
How to boot into single user mode??
p.s. sorry to all friend , i'm not a linux user so i really don't know
 
Old 11-19-2008, 01:01 AM   #7
adamkong
LQ Newbie
 
Registered: Aug 2007
Location: hongkong
Posts: 17

Original Poster
Rep: Reputation: 0
after restart press "e"
I only see

grub edit> root (hd0,0)

one line?
 
Old 11-19-2008, 01:35 AM   #8
adamkong
LQ Newbie
 
Registered: Aug 2007
Location: hongkong
Posts: 17

Original Poster
Rep: Reputation: 0
root (hd0,0)
kernel /vmlinuz-2.4.20-8smp to root=LABEL/
initrd /initrd-2.4.20-8smp.img

Select the 2nd line and hit the e key and then add the word single to the end of this line

kernel /vmlinuz-2.4.20-8smp to root=LABEL/ single

reboot

same problem

did after the "root=LABEL/" it will show my HD?

Last edited by adamkong; 11-19-2008 at 02:05 AM.
 
Old 11-19-2008, 02:43 PM   #9
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Boot into ANY Linux live CD, such as Knoppix or Mandriva One, and do your work from there.
 
Old 11-19-2008, 09:09 PM   #10
Ehtetur
Member
 
Registered: Mar 2008
Location: Denver, CO
Distribution: Red Hat Enterprise Linux
Posts: 52

Rep: Reputation: 16
Where you put the word "single" is correct... If that didn't drop you down to single user mode, try this:
Quote:
kernel /vmlinuz-2.4.20-8smp to root=LABEL/ 1
If it works, you should then be able to run e2fsck on your root partition. Good luck!
 
Old 12-02-2008, 04:34 PM   #11
brojard28
LQ Newbie
 
Registered: Dec 2008
Location: Marietta, GA
Distribution: FC, Linux
Posts: 5

Rep: Reputation: 0
How do I know if I am in single user mode?

I'm following this thread because I have identical problem (but I'm on FC2). This server was sitting on a shelf for 6 months - no power - completely unused. It was a backup server. It has raid5. The root partition is hda2. Yesterday I decided to make it useful again.

It booted but I noticed some EXT3-fs errors. The filesystem came up in read only mode also- another indicator that there was a problem. Today, when I tried to log in to start working on it, it wouldn't accept my password.
I rebooted. Reboot ended badly:
"kernel panic no init" message appears. Followed instructions found in this current thread to boot into single user because I'm hoping to run e2fsck.

I think I am in single user mode because at the end of the boot I get this:

(none) login:

But I'm back where I started this morning where it doesn't accept login id nor does it ask for password. I do however see a message flash on the screen but it happens too fast.


1) how can I pause this flashed message long enough to read it when attempting to log in?
2) do you think I succeeded in getting into single user mode?
3) if I lose my boot partition and rebuild this, will I lose all the raid data too? I'm not clear on the relationship between my raided drives and the boot partitions. This is a software raid by the way.

Thanks (hope someone is reading this).
 
Old 12-02-2008, 08:14 PM   #12
Ehtetur
Member
 
Registered: Mar 2008
Location: Denver, CO
Distribution: Red Hat Enterprise Linux
Posts: 52

Rep: Reputation: 16
Quote:
Originally Posted by brojard28 View Post
I think I am in single user mode because at the end of the boot I get this:

(none) login:
It looks like you're at runlevel 3
single user mode won't give you a id/password prompt...
You'll just be at the root prompt # as root user without having to log on.
 
Old 12-03-2008, 08:30 AM   #13
brojard28
LQ Newbie
 
Registered: Dec 2008
Location: Marietta, GA
Distribution: FC, Linux
Posts: 5

Rep: Reputation: 0
I've tried "single" and "1" both had same effect when I edited the grub line:
"kernel /vmlinux-2.6.10-1.771_FC2 ro root=LABEL=/ rhgb single"

I don't know why I can't get into single. Now maybe I just need to try knoppix to run e2fsck. But this server doesn't have a dvd/cd reader. All flat cables are being used for the raid5 hard drives. I need to install a dvd/cd reader which will require that I disconnect at least one of the raided drives. The data on the raid5 hard drives isn't critical but I'd like to leave it intact if at all possible.

Can you suggest an approach?

Thanks
 
Old 12-03-2008, 08:41 AM   #14
brojard28
LQ Newbie
 
Registered: Dec 2008
Location: Marietta, GA
Distribution: FC, Linux
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by brojard28 View Post
I've tried "single" and "1" both had same effect when I edited the grub line:
"kernel /vmlinux-2.6.10-1.771_FC2 ro root=LABEL=/ rhgb single"

Thanks
I was wrong. When I enter 1, it hanges saying:
INIT: no more processes left in this run level.

If the boot hard drive is completely hosed, is the raid lost too do you think?

Thanks
 
  


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
kernal panic no init found try passing init option to kernel m2azer Linux - General 3 11-08-2007 01:51 PM
Gentoo + jfs readonly on boot + no init found Gsee Linux - General 0 04-19-2005 09:20 AM
can't boot because no init found Manuel Tejada Red Hat 8 02-26-2005 02:34 PM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-18-2004 11:10 PM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 10:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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