LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-23-2004, 08:26 AM   #1
anishtg
LQ Newbie
 
Registered: Oct 2004
Posts: 14

Rep: Reputation: 0
kernel panic


hey guys!

m a newbie in linux. have a small problem.
i recently interchanged the primary master and secondary harddisks, and correspondingly updated the BIOS. LILO loads well, so does windows. but linux (mandrake linux 9.1)shows pages after pages of errors, stating some 'kernel panic'

help guys!

Anish
 
Old 12-23-2004, 09:13 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

boot in into rescue moce form ur 1st CD
and post the contents of /etc/lilo.conf
u need to change the enteries there

regards
 
Old 12-29-2004, 08:35 AM   #3
anishtg
LQ Newbie
 
Registered: Oct 2004
Posts: 14

Original Poster
Rep: Reputation: 0
is there, any way , without the linux CD's??
 
Old 12-29-2004, 09:00 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

get this software from here
http://uranus.it.swin.edu.au/~jn/linux/

use this in windows to browse ur linux filesystem and save that lilo.conf in windows and post that here

but to reinstall lilo u need linux CDs or rescue floppy

regards
 
Old 01-04-2005, 05:32 AM   #5
anishtg
LQ Newbie
 
Registered: Oct 2004
Posts: 14

Original Poster
Rep: Reputation: 0
hi

i have the CD's ready, but after i type rescue, the program starts to load into memory, and then hangs in the middle. the error is apparently somewhere in the sectors, coz i pressed ALT+F4 in the middle of the loading, and it was tryin out different sectors to load from, i think.

help please
 
Old 01-04-2005, 06:58 AM   #6
anishtg
LQ Newbie
 
Registered: Oct 2004
Posts: 14

Original Poster
Rep: Reputation: 0
btw i've got Reiser FS, so m not able to get any s/w to explore that FS, in windows
 
Old 01-04-2005, 07:03 AM   #7
dslboy
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware -current
Posts: 157

Rep: Reputation: 30
You need to change lilo.conf to get it to boot the correct hda type i guess. Just boot from cd, and on the bootline type.

bare.i root=/dev/hdx nonintrd ro

hda1 is primary master, hda2 is secondary master hdb1 is primary slave. etc etc. The problem is that the old lilo is booting wrong hda right? after editing lilo.conf with the correct hda, just type /sbin/lilo and reboot.

cheers!
 
Old 01-04-2005, 08:28 AM   #8
anishtg
LQ Newbie
 
Registered: Oct 2004
Posts: 14

Original Poster
Rep: Reputation: 0
do i have to susbtitute x in hdx with a,b or c? if so, i dont know the number ie hda1 or hda2. i used partition magic to find out that it was hda7, but it aint booting.
i tried the fol command at lilo

(linux) root=\dev\hda7

but it dint work
 
Old 01-04-2005, 08:43 AM   #9
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
yes u need to replace the x by a7 in ur case
so u shoud have
root=/dev/hda7
and not
root=\dev\hda7

regards
 
Old 01-04-2005, 08:46 AM   #10
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
Quote:
Originally posted by dslboy
You need to change lilo.conf to get it to boot the correct hda type i guess. Just boot from cd, and on the bootline type.

bare.i root=/dev/hdx nonintrd ro

hda1 is primary master, hda2 is secondary master hdb1 is primary slave. etc etc. The problem is that the old lilo is booting wrong hda right? after editing lilo.conf with the correct hda, just type /sbin/lilo and reboot.

cheers!
to correct u

primary master is hda
primary slave is hdb
secondary master is hdc
secondary slave is hdd

regards
 
  


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 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:30 AM.

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
Open Source Consulting | Domain Registration