- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Urgent! boot Linux Redhat Kernel Panic: no init fo...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 02:05 AM
тАО03-02-2007 02:05 AM
Urgent! I need your kindly helps
Our company a Redhat Linux ES 3 crash, when I wanna boot the server, the server stop at below:
Mounting root filesystem
kjournald starting. commit interval 5 sec
EXT3-fs: mounted filesystem with ordered data mode.
pivotroot: pivot_root(sysroot./sysroot/initrd) failed: 5
umount /initrd/proc failed:2
Freeing unused kernel memory: 228k freed
Kernel panic: No init found. Try passing init= option to kernel
I have tried go into the GRUB and with C, at command line:
I enter:
1. root (hd0,0)
2. kernel /vmlinuz-2.4.21-27.ELsmp ro root = /dev/vg00/lv00
3. initrd /initrd-2.4.21-27.ELsmp.img
4. boot
the same error
How to fix it?
pivotroot: pivot_root(sysroot./sysroot/initrd) failed: 5 what's mean?
thanks a lot!!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 02:24 AM
тАО03-02-2007 02:24 AM
SolutionStart with the installation cd in rescue mode and try to access the root file systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 03:17 AM
тАО03-02-2007 03:17 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
Thank you very much for your quickly reply.
I have a quesition: Why you think it is hardware issue not kernel issue? whether you from pivotroot: pivot_root(sysroot./sysroot/initrd) failed: 5 prompt or other?
I have reboot system with installation CD 1 and have entered into F5 Rescue mode, the system warning: No hard drives have been found. You probably need to manually choose device drivers for the installation to succeed. I choose yes, and the devices only USB Mass Storage driveer for linux and broadcom tigon3 ethernet (tg3) how to choose? I enter Done, system went to install prompt, I don't wanna re-install Linux ES 3 so I use ctrl-alt-Del(I use iLO remote Console done these jobs), and the same error!
how to do next step?
thx a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 03:35 AM
тАО03-02-2007 03:35 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
I enter the done and went to the Language, keyboard type and mouse setting page, I finished the setting and went into partitions page, I choose auto, and system said: no device ,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 03:41 AM
тАО03-02-2007 03:41 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
I think, the reason of system crash and couldn't be reboot was the root file system issue, right? But I could went into Rescue mode to fix it as the system could not fond device, how i can do next experts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 04:34 AM
тАО03-02-2007 04:34 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
To boot in rescue mode you must type:
linux rescue
But the "rescue kernel" wont detect your disks, then you need the driver disk and type:
linux rescue dd
The idea i to run fsck to the devices, and identify if you can access the devices to discard a file system or device problem.
The message "No init found." is typical when you cannot mount the root file system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 05:23 AM
тАО03-02-2007 05:23 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
In rescue mode (enter: linux rescue dd), the system responds first no disk found, and then reply couldn't find partitions. In shell prompt, could not run fsck, warning:couldn't open /et/fstab:no such file or directory.
how to check the partition _name?
through check my description, is it hardware issue or software issue?
thank you very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 05:30 AM
тАО03-02-2007 05:30 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
linux rescue dd
You should get a prompt:
Do you have a driver disk?
You must install a driver disk for your storage controller in order to be able to detect the disks. Do you know what storage controller your server has?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 05:53 AM
тАО03-02-2007 05:53 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
I got a prompt whether I need a driver disk? if yes pls insert one in /dev/scd0. Whether I should create a driver disk use floppy disk.
As you these server's admin will back company next week, we could not contact hime so far. Sigh! I don't know what storage controller my server has, how to check? and whether I must have driver disk to fix the root fs mount issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 07:04 AM
тАО03-02-2007 07:04 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
I have created a driver disk used a floppy disk. I use rawrite transfer bookdisk.img to a: and linux rescue dd
system: do you have driver disk, I install floppy disk and I skip the partition (redhat recommendation said if you are trying to fix a file system problem, most file system tools do not work on mounted file systems for security reasons, true or not?)
when I run fsck at shell prompt, system: warning:couldn't open /et/fstab:no such file or directory.
how to fix it?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 07:14 AM
тАО03-02-2007 07:14 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
fdisk -l
Then, if you where prompted to mount your existing partitions, use:
chroot /mnt/sysimage
If your partitions where not mounted, you must activate your volume groups, for example:
lvm vgdisplay
lvm vgchange -a y vg00
fsck /dev/mapper/vg00-lv00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 07:36 AM
тАО03-02-2007 07:36 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
Only you help me, thanks a lot.
but,
fdisk -l - nothing
fdisk -s PATITION - unable to open partition
chroot /mnt/sysimage - only have /mnt no mnt/sysimage
lvm vgdisplay
lvm vgchange -a y vg00 - lvm: command not found - and no /dev/vg00 directory
fsck /dev/mapper/vg00-lv00 - warning: couldn't open /etc/fstab: No such file or directory
what's happend our box/system? Whether hardware have some problmes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 08:26 AM
тАО03-02-2007 08:26 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
#vgdisplay -v system responds: no vg
I re-check the system error info:
....
Mounting root filesystem
kjournald starting. commit interval 5 sec
EXT3-fs: mounted filesystem with ordered data mode.
pivotroot: pivot_root(sysroot./sysroot/initrd) failed: 5
umount /initrd/proc failed:2
Freeing unused kernel memory: 228k freed
Kernel panic: No init found. Try passing init= option to kernel
at mounting root filesystem, failed:5 and failed:2,
I could not do fsck and no partition info in system when I went into the rescue mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 08:48 AM
тАО03-02-2007 08:48 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
You said that fdisk -l does not shows output, that means that anything will work because you can't see the disk devices. This could be because the right module wasn't loaded during the driver disk specification. If you don't see devices in fdisk -l, you can't do nothing in rescue mode.
Do you have the option to boot another kernel? like a non smp kernel?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 09:09 AM
тАО03-02-2007 09:09 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
Yes, The big problems was I could not see any partition and devices in Rescue mode with fdisk -l and /mnt/sysimage, i have no idea what's happend.
happy weekend!
Where are you? US?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 09:30 AM
тАО03-02-2007 09:30 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
I use a formatted floppy disk insert in a:
and from cd-rom with redhat installation cd 1
run d:\dosutils\rawrite.exe choose source: d:\images\drvblock.img, target I choose a:
There are 3 .img file bootdisk.img, drvblock.img,drvnet.img. I know bootdisk.img could boot linux system, drvnet for network,and drvblock for Supplemental Block Device Drivers. So I used drvblock.img and bootdisk.img to create driver disk. I tried both, but see that status, maybe the driver disk that I made could not support system restart.
whether the steps of my creating driver disk is correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 09:37 AM
тАО03-02-2007 09:37 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
Now I understan the problem. You are using the right tool to create the driver disk, but you must find the driver disk that is for your storage controller, and normally is available for download from the hardware provider support page.
Then, once you downloaded the file, use the rawrite to create the driver disk. The driver disks images included in the installation cd won't help you.
If you have another kernel installed, like smp kernel, you will have it as a choice in the grub splash screen. If you don't see another option to select, then you don't have a kernel installed.
What is your hardware model? Check the driver disk for Red Hat Enterprise using the hardware model.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 09:50 AM
тАО03-02-2007 09:50 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
My hardware is HP Proliant Blade server, sigh, only could use hp ilo to remove control it. virtual floppy disk and virtual dvd-rom. Your means I should use HP Proliant for Redhat's img for creating driver disk, right? Ok, I will try it.
happy weekend.
I hope I could give you 100 points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2007 05:02 AM
тАО03-05-2007 05:02 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
How are you doing?
According as your suggestions, I download and create the driver disk of HP ProLiant for Linux ES 3 (x86) at this website: http://h18023.www1.hp.com/support/files/server/us/download/25366.html ( Our hardware is HP ProLiant blade server BL20p G3, Smart
Array 6i Controller (x86). )
Below are my steps:
1. I use Redhat CD 1 reboot server, and
2. run: linux rescue dd - went into rescue mode
3. I insert drive disk into a: and change the virtual media to a: from D: (as you know I use HP iLo remote control linux server)when system prompt "do you have driver disk" and enter "yes", system go ahead to next page
4. system prompt I choose English Launguse and US Keyboard, and system ask me
5. I change virtual media from a to d (dvd) for next step, I didn't choose net support
6. and choose continue at "mount existing partition under /mnt/sysimage" not choose "skip"
7. but system didn't find any partitions in our system
8. in shell prompt I could not run fsck, ..
What's problems,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2007 05:47 AM
тАО03-05-2007 05:47 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
If you don't have the apropiate update level, the driver won't work.
Yes, it's a complex process.
How do you know the CD update level?? You will see a RELEASE-NOTES-UX (Where X is a level number) for each update level included in the distribution media, for example if you see:
RELEASE-NOTES-U1
RELEASE-NOTES-U2
RELEASE-NOTES-U3
Then you are using RHEL 3 update 3, if you don't see any of them, you are using a base release and won't work.
You can get a new release from Red Hat Network Easy ISOs if you still have a subscription.
If you don't, you may try by downloading the first CD of the latest CentOS v3 released. Your driver disk should be compatible:
http://isoredirect.centos.org/centos/3/isos/i386/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2007 06:53 AM
тАО03-05-2007 06:53 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
According as your wrote, I reboot server wanna check backup kernel, I found at grub prompt I have:
/vmlinuz-2.4.21-27.EL
/vmlinuz-2.4.21-27.ELsmp
/vmlinux-2.4.21-27.EL
/vmlinux-2.4.21-27.ELsmp
Are these are backup kernel?
At Grub i run:
grub>root (hd0,0)
grub>kernel /vmlinuz-2.4.21-27,ELsmp ro root=/dev/vg00/lv00
grub>initrd /initrd-2.4.21-27.ELsmp.img
grub>boot
up info of root kernel and initrd, I checked from another linux server's /boot/grub/grub.conf file and
The erro changed to:
ERROR: /bin/insmod exited abnormally!
Mounting /proc filesystem
Creating block devices
VFS: Cannot open root device "vg00/lv00" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS: unable to mount root fs on 00:00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2007 07:27 AM
тАО03-05-2007 07:27 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2007 08:06 AM
тАО03-05-2007 08:06 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
From this webpage http://h18023.www1.hp.com/support/files/server/us/download/24510.html I download and create correct driver disk. My Linux kernel is .27.EL is Linux ES 3 update 4, this image just for 2.4.21.27.EL.
According as upper steps only changed drive disk, but error is same: "do not found any partition in your system", fdisk -l empty and fsck no /etc/fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2007 08:09 AM
тАО03-05-2007 08:09 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
Lets try another thing. At the GRUB prompt, select your current kernel and press "e", this will open the edit window.
Edit your kernel boot options and remove the smp from the kernel name and initrd image, this will try to boot the uniprocessor kernel.
It should look like this:
root (hd0,0)
kernel /vmlinuz-2.4.21-27.EL ro root=/dev/vg00/lv00
initrd /initrd-2.4.21-27.EL.img
The list of kernels and initial ram disk images available you will get by pressing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2007 08:39 AM
тАО03-05-2007 08:39 AM
Re: Urgent! boot Linux Redhat Kernel Panic: no init found
I try your method,
remove smp from /vmlinuz and /initrd, but the same error.