LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-22-2004, 02:10 PM   #1
neylitalo
LQ Newbie
 
Registered: Jan 2004
Distribution: Gentoo Linux
Posts: 6

Rep: Reputation: 0
Unhappy error: No init found. Try passing the init= option to the Kernel


I had RH9 with kernel 2.4.whatever. I downloaded the 2.6.1 kernel in an rpm from the Fedora proj. site, and ran "rpm -Uvh filename.x.x.x.rpm". It ran with almost no errors, the errors being module independencies which I fixed. When it was done, I rebooted, and got the following, with lines that may be important in bold:

ERROR: /bin/insmod exited abnormally!
Mounting /proc filesystem
Creating block devices
Creating root device
Mounting root filesystem
mount: error 19 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 236k freed
Kernel panic: No init found. Try passing init= option to kernel.

Last edited by neylitalo; 01-22-2004 at 02:11 PM.
 
Old 01-22-2004, 03:51 PM   #2
ricstirato
Member
 
Registered: Jan 2004
Location: Gießen, Germany
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174

Rep: Reputation: 24
You should have done rpm -ivh, that would have installed the 2.6 kernel and leave the 2.4 untouched as a fallback. There is a doc somewhere on the Red Hat site about upgrading kernels, which is linked to on every errata page concerning the kernel.

However, the 2.4 modutils (like insmod) don't work with the new kernel.

Untested suggestion:
Get the latest modutils package (for 2.6 now called module-init-tools - at least in Debian).
Boot a rescue system, mount your hd partition(s), do a chroot and install the package with rpm.
 
Old 01-22-2004, 03:54 PM   #3
bhaskie
Member
 
Registered: Jan 2004
Location: New Delhi, India
Distribution: L.F.S 5.0 | FreeBSD 5.2 | Debian sid | Gentoo 2004.0 | Slackware 9.1
Posts: 78

Rep: Reputation: 15
You probably have a kernel built with initrd support.
Create an initrd for the 2.6 kernel with mkinitrd.
Pass the initrd = XXX after the kernel = XXX line.
 
Old 01-22-2004, 10:34 PM   #4
emu_123
Member
 
Registered: Oct 2003
Location: Australia
Distribution: LFS unstable and Mandrake 10.1
Posts: 54

Rep: Reputation: 15
The 2.6 kernels use a new module format which requires you to update your modutils package as ricstirato said. Your old modutils should still remain on your system as modprobe.old, depmod.old and so on, so you can still run your old 2.4 kernels. I ran into this exact same problem when I compiled the 2.6 test kernels. HTH :-)
 
  


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 raees Linux - General 12 03-19-2004 12:10 AM
Kernel Panic: No Init Found Try Passing Init=option To Kernel Bakame Linux - Newbie 4 03-10-2004 07:08 AM
kernel panic: no init found. Try passing init= option to kernel rroorroo Red Hat 7 03-07-2004 05:19 PM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 11:18 PM
Compiled own kernel and got: Kernel panic: No init found. Try passing init= option to fbl Linux - General 12 01-14-2003 04:38 AM


All times are GMT -5. The time now is 12:37 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration