Kernel Panic no init found

Booting, installing, newbie
Post Reply
Message
Author
mnk
Posts: 1
Joined: Tue 22 May 2007, 16:31

Kernel Panic no init found

#1 Post by mnk »

Wow I like what I see it just keeps getting better 2.14,2.15, and now 2.16

Puppy 2.16 looks like a great solution for

Gateway Celeron 400 w/128m ram 10g harddrive.

Boots fine from CD it works great until I try to make it boot from HD

I read through several threads on this topic

I used fdisk to create
hda1=1g swap primary type 82
hda2=8+g ext2 primary type 83 boot

I used the gpart to format the drives and then I used the universal installer and the frugal option.

When i boot grub comes up and shows me several options including the
one with the title I saved.

Error message says Kernel Panic not syncing no init found try passing init option to kernel....

right now grub says
root (ha0,1)
kernal (ha0,1) /boot/vmlinuz root=/dev/hda2 ro vga=normal

well this is were I am now I have reinstalled several times with different
options i have reformated and tried several options without luck

I have tried several switches including acpi=off pmedia=idehd ect...
It must be missing something simple...

MS has made my brain soft I guess...
Greystar
Posts: 26
Joined: Tue 20 Mar 2007, 23:56

#2 Post by Greystar »

Not sure on 2.16 for frugal(if any changes,havent tried it yet)

but on 2.15 and others 2.xx derivatives

when i do a frugal install my Menu.1st(in boot folder)
has after root (hdX,X).... (X being hardware variables)

kernel /vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd /initrd.gz

and boots fine.

Hope this helps.
User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#3 Post by BarryK »

mnk, running the live-CD, run Pmount ("drives" icon on desktop) and mount the partition that you installed to.
Find out where 'vmlinuz', 'initrd.gz', 'pup_216.sfs' and 'zdv_216.sfs' are located. Is 'vmlinuz' in /boot?
Also, as Greystar posted, you will need to specify initrd, ex: "initrd /initrd.gz"
darrenforster99
Posts: 8
Joined: Tue 25 Sep 2007, 22:54

Panic No Init...

#4 Post by darrenforster99 »

I've just had exactly the same problem and found it to be due to the following line:

kernel /vmlinuz root=/dev/ram0 PMEDIA=idehd

I had changed the line to the following

kernel /vmlinuz root=/dev/hda1 PMEDIA=idehd

As I wanted HDA1 to be the root not ram0, however that doesn't work! so make sure that line reads root=/dev/ram0 not root=/dev/hda1
Post Reply