PDA

View Full Version : Kernel panic : no init found.!!!!!!



MrAhmad
08-24-2003, 11:05 AM
Hello

I maked a customed CD (I did read the how-to in http://www.stirnimann.com/mystuff/doc/knoppix.txt)

now everytime I want to boot from the CD I get :

Kernel panic : no init found. try passing init= option to kernel


I didn't make any change to the kernel image !!!!

what is the wrong !!!

MrAhmad
08-24-2003, 11:39 AM
BTW : I tryed to put init=/etc/init but it does't work !!!

MrAhmad
08-24-2003, 12:40 PM
In case this will help , everytime when I boot from the cd (before kernel panic) I get :

Creating directories and symlinks in ramdisk... cp: reading `/KNOPPIX/etc/localtime` : Input/Output error


------------------------

mylaptop root # ls /mnt/cdrom
KNOPPIX

mylaptop root # ls /mnt/cdrom/KNOPPIX/ -al
total 576469
dr-xr-xr-x 2 root root 4096 Aug 24 04:11 .
dr-xr-xr-x 3 root root 2048 Aug 24 04:11 ..
-r--r--r-- 1 root root 588434477 Aug 23 20:43 KNOPPIX
-r--r--r-- 1 root root 10162 Aug 24 04:10 KNOPPIX-FAQ-EN.txt
-r--r--r-- 1 root root 10616 Aug 24 04:10 KNOPPIX-FAQ-ES.txt
-r--r--r-- 1 root root 12097 Aug 24 04:10 KNOPPIX-FAQ-FR.txt
-r--r--r-- 1 root root 11894 Aug 24 04:10 KNOPPIX-FAQ-IT.txt
-r--r--r-- 1 root root 9767 Aug 24 04:10 KNOPPIX-FAQ-NL.txt
-r--r--r-- 1 root root 11378 Aug 24 04:10 KNOPPIX-FAQ.txt
-r--r--r-- 1 root root 2530 Aug 24 04:10 README_Security.txt
-r--r--r-- 1 root root 159911 Aug 24 04:08 background.jpg
-r--r--r-- 1 root root 2048 Aug 24 04:12 boot.cat
-r--r--r-- 1 root root 1474560 Aug 24 04:08 boot.img
-r--r--r-- 1 root root 10462 Aug 24 04:08 index.html
-r--r--r-- 1 root root 12440 Aug 24 04:08 index_dk.html
-r--r--r-- 1 root root 9983 Aug 24 04:08 index_en.html
-r--r--r-- 1 root root 15234 Aug 24 04:08 index_es.html
-r--r--r-- 1 root root 11954 Aug 24 04:08 index_fr.html
-r--r--r-- 1 root root 13561 Aug 24 04:08 index_it.html
-r--r--r-- 1 root root 13768 Aug 24 04:08 index_nl.html
-r--r--r-- 1 root root 14683 Aug 24 04:08 index_ru.html
-r-xr-xr-x 1 root root 5746 Aug 24 04:08 knoblind.bat
-r--r--r-- 1 root root 7231 Aug 24 04:10 knoppix-cheatcodes.txt
-r--r--r-- 1 root root 13652 Aug 24 04:10 knoppix-header.gif
-r--r--r-- 1 root root 2680 Aug 24 04:10 md5sums
-r-xr-xr-x 1 root root 27 Aug 24 04:10 mkfloppy.bat
-r--r--r-- 1 root root 1669 Aug 24 04:10 rawrite2-readme.txt
-r-xr-xr-x 1 root root 17863 Aug 24 04:10 rawrite2.exe
-r--r--r-- 1 root root 167 Aug 24 04:10 web-background.gif


-------------------------
mylaptop root # mount /backup/ISOs/KNOPPIX_V3.2-2003-07-26-AR.iso -o loop /backup/mnt
mylaptop root # ls /backup/mnt/
KNOPPIX

mylaptop root # ls /backup/mnt/KNOPPIX/ -al
total 576469
dr-xr-xr-x 2 root root 4096 Aug 24 04:11 .
dr-xr-xr-x 3 root root 2048 Aug 24 04:11 ..
-r--r--r-- 1 root root 588434477 Aug 23 20:43 KNOPPIX
-r--r--r-- 1 root root 10162 Aug 24 04:10 KNOPPIX-FAQ-EN.txt
-r--r--r-- 1 root root 10616 Aug 24 04:10 KNOPPIX-FAQ-ES.txt
-r--r--r-- 1 root root 12097 Aug 24 04:10 KNOPPIX-FAQ-FR.txt
-r--r--r-- 1 root root 11894 Aug 24 04:10 KNOPPIX-FAQ-IT.txt
-r--r--r-- 1 root root 9767 Aug 24 04:10 KNOPPIX-FAQ-NL.txt
-r--r--r-- 1 root root 11378 Aug 24 04:10 KNOPPIX-FAQ.txt
-r--r--r-- 1 root root 2530 Aug 24 04:10 README_Security.txt
-r--r--r-- 1 root root 159911 Aug 24 04:08 background.jpg
-r--r--r-- 1 root root 2048 Aug 24 04:12 boot.cat
-r--r--r-- 1 root root 1474560 Aug 24 04:08 boot.img
-r--r--r-- 1 root root 10462 Aug 24 04:08 index.html
-r--r--r-- 1 root root 12440 Aug 24 04:08 index_dk.html
-r--r--r-- 1 root root 9983 Aug 24 04:08 index_en.html
-r--r--r-- 1 root root 15234 Aug 24 04:08 index_es.html
-r--r--r-- 1 root root 11954 Aug 24 04:08 index_fr.html
-r--r--r-- 1 root root 13561 Aug 24 04:08 index_it.html
-r--r--r-- 1 root root 13768 Aug 24 04:08 index_nl.html
-r--r--r-- 1 root root 14683 Aug 24 04:08 index_ru.html
-r-xr-xr-x 1 root root 5746 Aug 24 04:08 knoblind.bat
-r--r--r-- 1 root root 7231 Aug 24 04:10 knoppix-cheatcodes.txt
-r--r--r-- 1 root root 13652 Aug 24 04:10 knoppix-header.gif
-r--r--r-- 1 root root 2680 Aug 24 04:10 md5sums
-r-xr-xr-x 1 root root 27 Aug 24 04:10 mkfloppy.bat
-r--r--r-- 1 root root 1669 Aug 24 04:10 rawrite2-readme.txt
-r-xr-xr-x 1 root root 17863 Aug 24 04:10 rawrite2.exe
-r--r--r-- 1 root root 167 Aug 24 04:10 web-background.gif

-------------------------

mylaptop root # mount /backup/ISOs/KNOPPIX_V3.2-2003-07-26-EN.iso -o loop /backup/mnt
mylaptop root # ls /backup/mnt/ Demos Makingof autorun.bat cdrom.ico
KNOPPIX Talks autorun.inf index.html
mylaptop root # ls /backup/mnt/KNOPPIX/ -al total 704307
dr-xr-xr-x 2 root root 4096 Jul 25 21:27 .
dr-xr-xr-x 6 root root 2048 Jul 24 02:48 ..
-r--r--r-- 1 root root 719341211 Jul 25 20:28 KNOPPIX
-r--r--r-- 1 root root 10162 May 16 20:23 KNOPPIX-FAQ-EN.txt
-r--r--r-- 1 root root 10616 May 16 20:23 KNOPPIX-FAQ-ES.txt
-r--r--r-- 1 root root 12097 May 16 20:23 KNOPPIX-FAQ-FR.txt
-r--r--r-- 1 root root 11894 May 16 20:23 KNOPPIX-FAQ-IT.txt
-r--r--r-- 1 root root 9767 May 16 20:24 KNOPPIX-FAQ-NL.txt
-r--r--r-- 1 root root 11378 May 16 20:24 KNOPPIX-FAQ.txt
-r--r--r-- 1 root root 2530 Aug 24 2001 README_Security.txt
-r--r--r-- 1 root root 159911 Feb 7 2003 background.jpg
-r--r--r-- 1 root root 2048 Jul 25 21:27 boot.cat
-r--r--r-- 2 root root 1474560 Jul 25 19:51 boot.img
-r--r--r-- 1 root root 10462 Feb 8 2003 index.html
-r--r--r-- 1 root root 12440 Feb 8 2003 index_dk.html
-r--r--r-- 1 root root 9983 Feb 8 2003 index_en.html
-r--r--r-- 1 root root 15234 Feb 8 2003 index_es.html
-r--r--r-- 1 root root 11954 Feb 8 2003 index_fr.html
-r--r--r-- 1 root root 13561 Feb 8 2003 index_it.html
-r--r--r-- 1 root root 13768 Apr 11 01:08 index_nl.html
-r--r--r-- 1 root root 14683 Feb 8 2003 index_ru.html
-r-xr-xr-x 1 root root 5746 Mar 26 17:45 knoblind.bat
-r--r--r-- 1 root root 7231 May 17 04:28 knoppix-cheatcodes.txt
-r--r--r-- 1 root root 13652 Feb 7 2003 knoppix-header.gif
-r--r--r-- 1 root root 2680 Jul 25 21:27 md5sums
-r-xr-xr-x 1 root root 27 Jun 5 2001 mkfloppy.bat
-r--r--r-- 1 root root 1669 Jun 5 2001 rawrite2-readme.txt
-r-xr-xr-x 1 root root 17863 Jun 5 2001 rawrite2.exe
-r--r--r-- 1 root root 167 Feb 7 2003 web-background.gif

gryphius
08-24-2003, 07:56 PM
I had the same problem.. check if your KNOPPIX file on the cd is really ~680 mb and not 0 bytes.
If you are running debian unstable downgrade the package containing mkswap to testing, it has a bug and won't create your swap file correctly. This leads to ram shortage and the KNOPPIX file is not created.

MrAhmad
08-24-2003, 09:50 PM
my KNOPPIX size is 588434477 (see above)

I just removed openoffice-en-de and add openoffice-1.1rc1

and I added kde-i18n-ar and some arabic fonts

btw I didn't use mkswap , do I have to do it ???

I am using Gentoo 1.4 as my host OS

please help me we want to make more than 2000 CDs from KNOPPIX in GITIX for FREE

I must finish from the cd this week or my manager will copy RedHat :(

gryphius
08-24-2003, 10:30 PM
my KNOPPIX size is 588434477 (see above)
sorry, haven't seen that, but it could still be an incorrectly compressed KNOPPIX file


btw I didn't use mkswap , do I have to do it ???
depends on how much ram you have. Check free mem while compressing, if there is no free mem left you should use a swap file.



please help me we want to make more than 2000 CDs from KNOPPIX in GITIX for FREE

I must finish from the cd this week or my manager will copy RedHat :(

Oehm... Are you willing to create a LIVE cd or a distro that is targeted for HD install...?

MrAhmad
08-25-2003, 05:46 AM
Thank you Mr gryphius for your reply



Oehm... Are you willing to create a LIVE cd or a distro that is targeted for HD install...?

no we thinking about a LIVE CD (so the windows user can trylinux without installing it

every year we copy redhat or mandrake. This year we want to translate Knoppix to Arabic and copy it

anyway I think I found the probem :lol: :lol:

I didn't copy vmlinux :)

I am will try to make another cd and check the result


thank you again

unholy
09-22-2003, 06:13 PM
Could you please explain in a little more detail how you fixed the problem? I have the exact same problem. Everything was fine untill I reinstalled windows and redhat.

unholy
09-22-2003, 06:27 PM
It's ok, I found the solution.
Typing 'knoppix init=/etc/init' solved the problem. The CD was fine. I think this solution will be relevant to most people who encounter the problem.

thegot
01-20-2004, 08:23 PM
hello
i have a the same problem, but i get the error message during the first bott after hd installation

error message:
VFS: Mounted root (EXT2 Filesystem)
Journalled Block Device Driver Loaded
hdc3: bad access: block=2 count=2
end request: I/O error, dav 16:03 (hdc, sector2)
EXT3-fs: unable to read superblock
mount: invalid argument
freeing unused kernel memory: 132k freed
Kernel panic: Nio init found. Traing passing init= option to kernel

Can you help me?

Thanks
thegot