LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 03-08-2004, 08:40 AM   #1
Bakame
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Rep: Reputation: 0
Kernel Panic: No Init Found Try Passing Init=option To Kernel


Hi,
I have a dual-boot system: Mandrake 9.1 and XP Pro. I had XP Pro first and then added a 2nd HD and installed linux on it. Everything was working fine until (Needless to say I learned the hard way) I tried to boot from one HD without the other...
I tried to remove the HD with linux and boot from XP only... I got a black screen with strings of "0101010101....." On the other hand I tried to remove the HD that has XP Pro on it and tried to boot from the Linux HD only I got just a black screen.
When I put the 2 HDs exactly as before, I could not boot from neither OS anymore. I still get the LILO prompt to choose an OS but when I choose one, it starts and hangs.
For Mandrake 9.1 here is the error message I am getting:
"KMOD: FAILED TO EXEC /SBIN/MODEPROBE -S -K IDE -CD, ERRNO = 2
MOUNT:ERROR 6 MOUNTING EXT3 FLAGS
KERNEL PANIC: NO INIT FOUND TRY PASSING INIT=OPTION TO KERNEL"
For XP I cannot even boot from "the last known good menu" or "safe mode"...
When I first installed Linux it did not give me the option on where to put LILO and therefore I don't know on which drive it is on... I don't have neither a boot disk for Mandrake, nor the original installation CDs and don't know if they would help or if it is the windows side that's messed up!
Before I mess up anything more can anyone give me some tips...Any help is appreciated!
 
Old 03-08-2004, 04:28 PM   #2
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
I would proceed in 2 steps:
1. Get (form a friend, a local LUG, etc) a linux-on-cd (e.g. www.morphix.org) or if you can't, at least a floppy; boot with it and backup really important data from both systems (dont bother for avi/mp3, the chance of losing anything is low).
2. Use a self-contained grub diskette to try experimenting with its command prompt. For example, to boot in winxp you should type
Code:
rootnoverify (hd0,0)
makeactive
chainload +1
boot
For linux
Code:
find /vmlinuz
root (whatever the above command gave)
kernel /vmlinuz
initrd /initrd
boot

PS: if you successfully boot in mdk, run /sbin/lilo, this MAY fix all

Last edited by ac1980; 03-08-2004 at 04:29 PM.
 
Old 03-09-2004, 02:44 AM   #3
Healing Bear
LQ Newbie
 
Registered: Jan 2004
Location: Northern California
Distribution: Mandrake 9.2 - 10 Official, XP Pro
Posts: 29

Rep: Reputation: 15
Bakame when you get it straighten out you may want to consider making your MKD 9.1 your master... This will keep all of MKD to its self and not on your XP HDD... When you added MKD your Master Boot Record was written on your XP HDD...
 
Old 03-09-2004, 12:08 PM   #4
Bakame
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks a lot guys... I will try this and let you know how it works out! I'm going to hit "google" to try and find where I can get a self-contained grub diskette...
 
Old 03-09-2004, 09:01 PM   #5
Bakame
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Help!!!
I am trying to boot from a redhat 8.0 boot disk (is it ok when booting a Mandrake distribution?!) but it does not seem to find the kernel... All I get is a command prompt with "boot :" and I tried different commands:
grub
find /vmlinuz
find /boot/grub/stage1
root (hd1,2)
root (hd1,1)
etc....
For all the above commands I am getting this message:
"Could not find kernel image : filename"
Am I missing something?!
 
Old 03-10-2004, 06:37 AM   #6
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
Quote:
Am I missing something?!
Looks like that's lilo boot prompt, which asks you for a kernel to boot among those it was configured for (i.e. those on disk/cd). Pressing TAB should give you a list of available choices, if not you can try the common "linux" entry.

As for the grub disk, if you have access to a linux machine, just unpack grub package, copy the "grub" directory to a floppy, then launch grub and give these commands:
Code:
root (fd0)
setup (fd0)
This won't touch the host hd, and you'll have a floppy that can be used to boot (almost) any system.
 
Old 03-10-2004, 09:14 AM   #7
Bakame
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks again... Here a sequence of command I am going to try, is this correct?!
mount /dev/fd0 /mnt
cp /boot/grub/* /mnt/boot/grub
umount /mnt
Run grub, and then on the prompt type:
root (fd0)
setup (fd0)
quit
 
Old 03-14-2004, 02:37 PM   #8
Bakame
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I removed LILO and was able to repair Windows thru the Recovery Console. After that, I booted with the Mandrake setup CD and choose to "Re-install boot loader". When I start the PC I get the lilo prompt to choose an OS and I am able to boot in Windows but NOT in linux since I am still getting the kernel panic error message.... Any suggestions?!
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic: No init found. Try passing init=option to Kernel ridak Fedora 5 09-08-2004 01:25 AM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-18-2004 11:10 PM
Kernel Panic: No Init Found Try Passing Init=option To Kernel Bakame Linux - Newbie 4 03-10-2004 06:08 AM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 10:18 PM
Compiled own kernel and got: Kernel panic: No init found. Try passing init= option to fbl Linux - General 12 01-14-2003 03:38 AM


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