Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Problems booting: 'Attempted to kill init!'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
luigi.malago
Apprentice
Apprentice


Joined: 31 May 2005
Posts: 292
Location: Mantova (Italy)

PostPosted: Tue May 31, 2005 4:58 pm    Post subject: [SOLVED] Problems booting: 'Attempted to kill init!' Reply with quote

Hi, i'm having some problems installing gentoo.
When i boot the system, i select the "Gentoo" entry, but after some seconds i get the following error:

Code:

>> Mounting filesystem
>> Activating udev..
>> Determining root device
>> Mounting root..
>> Booting...
/bin/sh: line 3: /sbin/init: No such file or directory
/bin/sh: line 3: exec: /sbin/init: cannot execute: No such file or directory
kernel panic not syncing Attempted to kill init!



I have installed gentoo 2005 from stage1
I have used
Code:

genkernel --udev all


This is my grub.conf
Code:

default 1
timeout 30

title=Gentoo Linux 2.6.11.r9
root (hd0,4)
kernel /kernel-2.6.11-gentoo-r9 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda7 udev
initrd /initrd-2.6.11-gentoo-r9

title=Windows XP
root (hd0,1)
makeactive
chainloader +1


This is my fstab
Code:

/dev/hda5      /boot      reiserfs   auto,noatime,notail      1 1
/dev/hda7      /      reiserfs   noatime         0 0
/dev/hda6      none      swap      sw         0 0
/dev/cdroms/cdrom0   /mnt/cdrom   iso9660      noauto,ro      0 0

none         /proc      proc      defaults      0 0
none         /dev/shm   tmpfs      defaults      0 0



Just in case this is my initddr

Code:




I can boot Windows XP without problems.
I tried to redo

Code:
grub-install /dev/hda


and i get no errors besides a warning about the fact that i had no floyy controller
(i'm using a laptop)

This is the second time i install gentoo, your help is very appreciated

thanks,
Luigi


Last edited by luigi.malago on Wed Jun 01, 2005 11:25 pm; edited 3 times in total
Back to top
View user's profile Send private message
SpecvWillis
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2005
Posts: 142
Location: Ottawa, Canada

PostPosted: Tue May 31, 2005 5:32 pm    Post subject: Reply with quote

This isn't a Grub issue, the kernel is complaining that it cannot find /sbin/init. Maybe you missed a step during the install? What stage did you use?
Back to top
View user's profile Send private message
luigi.malago
Apprentice
Apprentice


Joined: 31 May 2005
Posts: 292
Location: Mantova (Italy)

PostPosted: Tue May 31, 2005 5:52 pm    Post subject: Reply with quote

Hi, thanks for your reply.
I used stage1 and i compiled the kernel using genkernel

Buy the way, I notice that when i did the bootstrap

Code:

# cd /usr/portage
# scripts/bootstrap.sh


that it took about 5 minutes or less
(I have a Centrino Pentium 2Ghz)
is this normal? i didnt notice any problem after the bootstrap, but i expected more time was required..

Luigi
Back to top
View user's profile Send private message
alligator421
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 191

PostPosted: Wed Jun 01, 2005 8:33 am    Post subject: Reply with quote

root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda7 udev

mmmmmh ....
Back to top
View user's profile Send private message
luigi.malago
Apprentice
Apprentice


Joined: 31 May 2005
Posts: 292
Location: Mantova (Italy)

PostPosted: Wed Jun 01, 2005 11:23 pm    Post subject: Reply with quote

I solved the problem. When i did the bootstrap, i forgot a step, that's why it took me only few minutes.. the complete bootstrap took me about one hour.
Now I can boot.

thanks,
Luigi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum