LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 09-07-2007, 07:30 PM   #1
daemonkl
LQ Newbie
 
Registered: Aug 2007
Posts: 28

Rep: Reputation: 15
Exclamation Kernel panic: after mkinitrd


I got this error message after kernel make.
This error comes out after I did

mkinitrd -c -k 2.6.22.6 -m jbd:ext3 -f ext3 -r /dev/sda2

Code:
Freeing unused kernel memory: 304k found
initrd.gz: Loading kernel modules from initrd image:
mount: mounting /dev/sda2 on /mnt failed
ERROR: No /sbin/init found on rootdev (or not mounted). Trouble ahead.
Kernel panic - not syncing: Attempted to kill init!
I'm using Slackware 12.0 and attemp to build kernel 2.6.22.6 to this machine

Appreciate ideas & helps.
 
Old 09-08-2007, 01:19 AM   #2
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
Try rebuilding initrd.gz with -m ext3. I believe jbd will be automatically included. Also, try leaving off -f ext3 -r /dev/sda2.

I assume there actually is a directory called /lib/modules/(kernel version).

Dennisk
 
Old 09-08-2007, 09:27 AM   #3
daemonkl
LQ Newbie
 
Registered: Aug 2007
Posts: 28

Original Poster
Rep: Reputation: 15
yes, there is a folder /lib/modules/2.6.22.6 after kernel rebuild
will try as suggested.. thanks
 
Old 09-08-2007, 11:00 PM   #4
daemonkl
LQ Newbie
 
Registered: Aug 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Question

i did as suggested mkinitrd -c -k 2.6.22.6 -m ext3
unfortunately the same error message still appears
 
  


Reply

Tags
kernel, mkinitrd, slackware12


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
mkinitrd package dependency for kernel? SlowCoder Fedora 6 06-17-2007 09:08 PM
Can't mkinitrd for Kernel 2.6.11.6 (when compiling) LordOfer Linux - Newbie 3 04-02-2005 11:20 AM
Use mkinitrd to include module in kernel Travers Linux - Newbie 1 07-23-2004 02:35 PM
kernel 2.6.6 mkinitrd problem ziox Linux - Software 0 07-13-2004 07:48 PM
mkinitrd kernel-related question Tino27 Slackware 1 03-26-2004 11:14 PM


All times are GMT -5. The time now is 10:49 PM.

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