LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-02-2004, 04:28 AM   #1
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Rep: Reputation: 15
"Kernel panic"


I installed Windoze on one of the partitions of my hard-disk, and I was told that I'd likely have to re-install the bootloader. Anyhow, I've done that, and now -- Linux doesn't start up. I get the message (after lilo):

kernel panic: No init found. Try passing init= option to the kernel.

Any idea how I'd go about doing the latter?
 
Old 10-02-2004, 04:41 AM   #2
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hi!

Give us your /etc/lilo.conf file and the output from
/sbin/fdisk -l
(option is a lower-case L)

Martin
 
Old 10-02-2004, 05:07 AM   #3
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Original Poster
Rep: Reputation: 15
Thanks for your time. Hmm; etc/lilo.conf doesn't seem to exist. I've definitely got Lilo installed -- it starts up, but it doesn't seem to be in that folder. I can't do a locate, whereis or a find in the console there though, so I don't know how I'd locate it.
Quote:
and the output from
/sbin/fdisk -l
I get some info:
Quote:
Disk /dev/hdb: 122.9 GB , 122942324736 bytes
16 Heads, 63 sectors/track, 238216 cylinders
Units = cylinders of 1008 * 512 = 516096

Device
/dev/hdb1..
" " " 2
3
4
5
6
....and it has a lot more info, -- let me know if it's all needed. The odd thing I found was that the only thing that had a * under "Boot" was the one on the Windows NTFS partition.. isn't that a little odd?

Ya don't think I'm going to have to reinstall or anything, do you?
 
Old 10-02-2004, 05:18 AM   #4
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
You say you don't have a lilo.conf, but you use lilo.

Are you sure you don't use grub? If so, you should have a file called '/etc/grub.conf'. Please post the contents of that file and the full output of fdisk -l

You don't need to type it all in. Copy the files to a floppy. I once wrote a general description on how to move files to a floppy:
http://www.linuxquestions.org/questi...112#post684112

Use cp to copy /etc/grub.conf to a floppy. Then issue these commands (as root):
cd
/sbin/fdisk -l > fdisk.txt
This will send the output from fdisk to a file (fdisk.txt) in the /root directory. Copy that file to floppy too.

Martin
 
Old 10-02-2004, 06:06 AM   #5
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MartinN
[B]You say you don't have a lilo.conf, but you use lilo.
I was just as confused as you were. No idea why there isn't a file... I did a simple "re-install bootloader" using the Mandrake CD.
Quote:
Are you sure you don't use grub?
As sure as I can be.
Quote:
You don't need to type it all in. Copy the files to a floppy.
Ahh, I should have thought of that. Thanks. Here's ls -l /etc:
Quote:
total 786
-rw-r--r-- 1 root root 7 Oct 2 10:01 HOSTNAME
-rw-r--r-- 1 root root 162 Jun 21 2001 fstab
-rw-r--r-- 1 root root 13 Jun 21 2001 group
-rw-r--r-- 1 root root 26 Jun 21 2001 host.conf
-rw-r--r-- 1 root root 27 Jun 21 2001 hosts
-rw-r--r-- 1 root root 390 Jun 21 2001 inittab
-rw-r--r-- 1 root root 1724 Jan 6 2004 inputrc
-rw-r--r-- 1 root root 1676 Feb 23 2004 issue
-rw-r--r-- 1 root root 80 Oct 2 10:02 mtab
-rwxr-xr-x 1 root root 24756 Sep 22 2003 oem*
-rwxr-xr-x 1 root root 24822 Sep 22 2003 oem-all*
-rw-r--r-- 1 root root 101 Jun 21 2001 passwd
-rw-r--r-- 1 root root 579 Mar 4 2003 profile
-rw-r--r-- 1 root root 5809 Jan 6 2004 protocols
-rwxr-xr-x 1 root root 75 Jun 21 2001 rc.reboot*
-rwxr-xr-x 1 root root 963 Jul 10 2003 rc.sysinit*
-rw-r--r-- 1 root root 38 Jun 21 2001 resolv.conf
-rw-r--r-- 1 root root 18969 Jan 6 2004 services
-rw-r--r-- 1 root root 703515 Jul 24 2003 termcap
And /sbin/fdisk -l:
Quote:
Disk /dev/hdb: 122.9 GB, 122942324736 bytes
16 heads, 63 sectors/track, 238216 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 152456 76837792+ 83 Linux
/dev/hdb2 152457 154694 1127952 5 Extended
/dev/hdb3 * 154695 195328 20479536 7 HPFS/NTFS
/dev/hdb4 195329 238216 21615552 83 Linux
/dev/hdb5 152457 152663 104296+ 83 Linux
/dev/hdb6 152664 154694 1023592+ 82 Linux swap

Last edited by apokryphos; 10-02-2004 at 06:22 AM.
 
Old 10-02-2004, 06:28 AM   #6
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Sorry, I don't use Mandrake myself, so I don't know the boot options for it.

Can anybody else post a pretty "vanilla" lilo.conf for Mandrake 10? That way, we may be able to modify it to work. Thanks!

But I do wonder where your lilo.conf has gone?

Martin
 
Old 10-02-2004, 11:19 AM   #7
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Original Poster
Rep: Reputation: 15
Thanks for your help; I figure I'll put in a thread on the Mandrake sub-forum requesting the file, since people are more likely to respond, if they can, there.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Explained: "kernel panic - not syncing - attempted to kill init" sundialsvcs Linux - Software 36 04-24-2010 09:58 AM
Kernel Panic - Missing "initrd.img-2.6.8-2-686" in /boot MKSrivastava Debian 2 12-02-2005 04:09 PM
Kernel panic under 2.6.7 "VFS cannot load /dev/hda1 fs" Nichole_knc Slackware 5 10-24-2004 06:38 PM
Kernel Panic:VFS: Cannot open root device "hda3" or 00:10 shivendnrab Linux - General 1 07-01-2004 04:08 AM
error:"kernel panic: VFS: Unable to mount root fs":-( shyguy Linux - Newbie 1 07-23-2001 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration