Lucid Puppy 5.25 - Kernel panic - No init found - Try init=

Using applications, configuring, problems
Post Reply
Message
Author
svgt
Posts: 113
Joined: Wed 26 Mar 2008, 17:18
Location: Hamburg, Germany

Lucid Puppy 5.25 - Kernel panic - No init found - Try init=

#1 Post by svgt »

Hi,

I did the normal Full Puppy installation at ide disk. It was the one and only linux at the disk. I did the normal Grub installation into mbr. The lines in menu.lst are:

title Lucid Puppy 525 (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 ro vga=normal

I have done this procedure a lot of times without any problems. Now I get this message:

Kernel panic - No init found - Try passing init= option to kernel.

I searched for these items in the forum. I found something in the 5.25 thread. But there are about 128 pages. And I don't know any trick to get right one.

Regards Svgt
User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#2 Post by puppyluvr »

:D Hello,
You are missing the line that points to the init...
I dont do the full install thing, but you need to point to the initrd on the next line after kernel /
Find initrd.gz
If it is in /boot add this...
initrd /boot/initrd.gz
If it is just on the top level, maybe try
initrd /dev/sda1/initrd.gz
You have to tell it where the kernel AND the initrd are...
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!

Puppy since 2.15CE...
User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#3 Post by rjbrewer »

A "full" install does not use an initrd.gz line

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs
svgt
Posts: 113
Joined: Wed 26 Mar 2008, 17:18
Location: Hamburg, Germany

#4 Post by svgt »

With my full install, there is no need for the initrd line. And if paste such a line, I get the message: file not found

Because this event is unique, at which point of the installation procedure I made a mistake?
User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#5 Post by rjbrewer »

svgt wrote:With my full install, there is no need for the initrd line. And if paste such a line, I get the message: file not found

Because this event is unique, at which point of the installation procedure I made a mistake?
Just tried a full install of 525; worked fine.

Kernel panic mostly occurs with a bad burn to cd.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs
User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#6 Post by puppyluvr »

:oops:
So how does it load the initrd?
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!

Puppy since 2.15CE...
User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#7 Post by rjbrewer »

That word never comes up.
Just the kernel line when pressing edit key at bootscreen.

Total amount of "inits" in my 6 puppy full installs:
Attachments
initrd.jpg
(179.56 KiB) Downloaded 1382 times

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#8 Post by Béèm »

puppyluvr wrote::oops:
So how does it load the initrd?
In a FULL install he complete file system is already installed on the HDD.
No need for a initrd.gz. This is only needed for a FRUGAL install.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#9 Post by Karl Godt »

title Lucid Puppy 525 (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 ro vga=normal
Is the simple normal Puppy full install menu.lst entry for one partition on the first primary partition of the first HD .
For an IDE-kernel it would be root=/dev/hda1 ,
IF
the main HD is master on the first IDE slot .

You can of course copy any initrd.gz somewhere to the partition and point grub to use it in the menu.lst .

However , it would need something like

+ if [ "$PUPMODE" != "2" ] ; then

##do all the loading of .sfs and .pupsave

+ else
+ echo "Booting full installation ... " >/dev/console
+ fi


After the kernel has mounted the rootfs on /dev/root (/dev/sda1 in this case )

the kernel searches actively for one file called 'init' on the HD .

I puppy5 init is a script located in /sbin , in puppy4 a symlink to busybox .

Should be located in some "superuserbin" directory .

For a frugal installation actually two inits are run : first in initrd.gz and , after that , second in /sbin/ .

I would use the "find" command from live-cd to search for the link or script "init" like

Code: Select all

find /mnt/sda1/ -maxdepth 4 -iname "*init*"
User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#10 Post by puppyluvr »

:D Hello,
OK, I am confused..
No initial ramdisk.. that I get..
Since the save is also on the HDD partition, (ala save to sda1 etc)..:
.
What gets run from ram, and what from the HDD after boot??
Does it layer onto the initial .sfs like a frugal, or load the contents of the partition..

If you specify a save file size, does it create a "copyable" 2fs/3fs file, like a frugal..
I know, I know... Back to bk.org... :?

No wonder I like frugal so much..LOL..
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!

Puppy since 2.15CE...
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#11 Post by Béèm »

puppyluvr, have a look at the pupmode 2 section of how puppy works
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#12 Post by puppyluvr »

:D Hello,
Wow, I never realized a full install ran SO differently.....
Very interesting....
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!

Puppy since 2.15CE...
Post Reply