LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-17-2003, 05:05 AM   #1
radhapriya
LQ Newbie
 
Registered: Mar 2003
Posts: 27

Rep: Reputation: 15
Kernel panic:Attempted to kill init


Hello,
I downloaded the kernel version 2.4.17(Actually i am using 2.4.18, but i use now 2.4.17 because if something goes wrong i could boot with my 2.4.18-14).

In my /usr/src/linux-2.4.17, I used
make mrproper
make xconfig
make dep
make clean
make bzImage
make modules
make modules_install
make install
cp /usr/src/linux-2.4.17/arch/i386/boot/bzImage
/boot/vmlinuz-2.4.17

mv System.map /boot/System.map-2.4.17
mkinitrd /boot/initrd-2.4.17.img 2.4.17

Then I added the following lines into my grub.conf

title Red Hat Linux (2.4.17)
root (hd0,5)
kernel /vmlinuz-2.4.17 ro root=/dev/hda7
initrd /initrd-2.4.17.img

In my /etc/fstab, it looks as:


/dev/hda7 / ext3 defaults 1 1
/dev/hda6 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda8 swap swap defaults 0 0


When I reboot my system, it stops with
"kernel panic: Attempted to kill init"
and the system does not boot.

What might be the problem? Help me.
 
Old 05-17-2003, 05:29 AM   #2
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
Here's my entry in grub.conf...("LABEL???""

title Red Hat Linux (2.4.18-19.8.0)
root (hd1,0)
kernel /vmlinuz-2.4.18-19.8.0 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.18-19.8.0.img
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel panic: Attempted to kill init HoreC Debian 1 11-25-2004 08:56 PM
kernel panic: attempted to kill init fanche Linux - Newbie 4 02-13-2004 05:20 AM
Kernel (and me) panic. Attempted to kill init! LinuxBlackBox Linux - General 2 10-29-2003 04:24 PM
kernel Panic: Attempted to kill init! papasan Linux - General 1 10-26-2003 03:46 PM
kernel panic attempted to kill init ! Stingreen Linux - Software 12 12-05-2002 07:01 AM


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