LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-10-2005, 06:11 PM   #1
grandbander
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
sarge kernel panic


I installed Debian sarge from a DVD to a PC with an Intel 875PBZ motherboard, 2 IDA drives, hda, hdb, 2 SATA drives sda, sdb, configured for RAID and a USB drive sdc.

I am installed with /dev/sdc1 as / and /dev/sdc3 as /home and do not want the other drives touched.

On rebooting after installation, GRUB comes up, I have to change root (hd4,0) to (hd0,0) then the boot process correctly starts.

From what I can tell, /dev/sda and /dev/sdb are mounted with sda printing out something like
/dev/scsi/host0/bus0/target0/lun0: p1
and sdb
/dev/scsi/host1/bus0/target0//lun0: Unknown partition table

then I get this error:

pivot_root: No such file or directory
/sbin/init: 426: cannot open dev/console: No such file
Kernel panic: Attemped to kill init!

I have tried to edit the GRUB script for kernel....sda=noprobe sdb=noprobe but it has no effect.

At this point I am a bit stuck, since recovery mode does not work. I have looked around the /dev/sdc1/ file system using knoppix but nothing leaps out at me. Could I mkinitrd in knoppix to adjust the config of initrd? I have looked in the /var/log directory and there is no output from the bootup.

Any ideas would be appreciated.
 
Old 01-10-2005, 07:12 PM   #2
linuxgeekery
Member
 
Registered: Jul 2004
Location: Austin, Texas!
Distribution: Gentoo
Posts: 121

Rep: Reputation: 15
The problem is that there is no /dev/console file. (cannot open /dev/console: No such file). You need to reinstall, or copy /dev/console from another working linux installation with the same kernel version.
 
Old 01-10-2005, 09:07 PM   #3
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
You have a lot of drives and I am not sure what grub sees as root. However, I do know that you will see the error message you see (about /dev/console not being there) if grub is attempting to boot on the wrong boot device. You likely have grub attempting to boot linux from the wrong disk. I recently saw the same error on a system after I unplugged the IDE drive and moved it. The drive jumpers were set to "cable select" and I inadvertently plugged it into the middle connector. The BIOS therefore recognized the drive as hdb instead of hda, and Debian wouldn't boot. The last error I saw was /dev/console doesn't exist. You probablty need to find a way to point grub to the correct boot device. Wish I had more help. Good luck!
 
Old 01-10-2005, 09:30 PM   #4
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
On which disk is GRUB located, not on the USB drive I presume.

What I think is happening is that the USB drivers are not loaded, or the SCSI drivers are not loaded. You have to compile these drivers (I'm not sure if it's the USB or SCSI divers, so just try some configurations and see which one works) as modules.

Next you'll have to create an initrd that contains those modules, so it can reach the disk and load the kernel. I think I got the same message when I created a wrong initrd which didn't contain my RAID (Promise FastTrak 100TX2) controller drivers and the loader couldn't load the file-system.

I'm not sure if I'm correct, but it certainly looks like it.
 
  


Reply



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 - Distributions > Debian

All times are GMT -5. The time now is 07:40 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
Open Source Consulting | Domain Registration