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 06-02-2005, 02:22 AM   #1
paranoyakX
LQ Newbie
 
Registered: Jun 2005
Location: Turkey
Distribution: Debian
Posts: 7

Rep: Reputation: 0
kernel panic on SATA


hello everybody, i am new here

my english isnt good so forgive me

my problem is about kernel panic. i have a seagate 200 GB SATA hdd, when i try to install the debian 3.1, after the pre installation, i mean debian install the base elements and then restart, grub loader starts debian but while debian attepmt to load i have token this error

pivot_root: No such file or directory or directory
/dev/console No such file or directory or directory
kernel panic: attepmted to kill init

or something like that.. what should i do, what is the problem...
thanks everybody

Last edited by paranoyakX; 06-02-2005 at 05:56 AM.
 
Old 06-02-2005, 05:55 AM   #2
paranoyakX
LQ Newbie
 
Registered: Jun 2005
Location: Turkey
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
isn't there anybody knows??? i cant install it and this drives me crazy
 
Old 06-02-2005, 01:54 PM   #3
Napalm Llama
Member
 
Registered: Nov 2004
Location: Bristol, UK
Distribution: Gentoo 2005.0
Posts: 224

Rep: Reputation: 30
I've just had what might have been a similar problem.

I don't think most Linux kernels have SATA support built-in by default. You can load it as a module later, but by then it's too late if your root partition is on a SATA disk.

You may need to recompile your kernel with support for your SATA controller (check the documentation for whatever board it plugs into - usually the motherboard). Mine's "NVIDIA SATA support", because I have SATA on my mobo with an nForce3 chipset.

I can't help you much further with the whole recompiling your kernel thing, because I don't really know anything about Debian. I've just done a very educational Gentoo install, and there was a fine ncurses-based utility called menuconfig that helps you - if you can get a version of that up and running, you'll just need to find the SATA section and enable the drivers for your hardware.

If it's anything like the Gentoo version, you DON'T want the 'SATA Support' that's along with all of the IDE stuff - this is deprecated, and clashes with the newer version.

This newer version lives inside the SCSI Support section of Device Drivers. Look under 'SCSI low-level drivers'.
 
Old 06-03-2005, 12:58 AM   #4
paranoyakX
LQ Newbie
 
Registered: Jun 2005
Location: Turkey
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
thank you very much for answer, my chipset is nforce3 too, it is a bit interesting i think because i can edit my partitions (debian sees the hdd) but after restart it doesnt work.. let me search a bit.
 
Old 07-07-2006, 01:22 PM   #5
Shankarrajus
LQ Newbie
 
Registered: Dec 2004
Location: PA, USA
Distribution: FC2
Posts: 14

Rep: Reputation: 0
Any luck

I am facing the same error after installing debian sarge on the SATA disk. Did you resolved the problem?
 
Old 07-07-2006, 01:45 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by Shankarrajus
I am facing the same error after installing debian sarge on the SATA disk. Did you resolved the problem?

I had a problem where my /boot/grub/menu.lst file had /dev/hda? instead of /dev/sda? in the kernel line for booting like it should be. If your having the same problem then you can either boot with a Knoppix live CD and mount the / partition then edit the menu.lst file to correct it or use something like this after hitting the c key when you get to the grub splash screen to get to the grub command prompt.

Code:
root (hd0,1)
kernel /boot/vmlinuz root=/dev/sda2 ro
boot
You would hit the enter key after each of the commands above being typed in. The first line tells grub that the / filesystem is on the first HD in the system (hd0) on the second partition (,1) now the partition part can be problematic depending on whether there are primary or an extended partition containing logical drives the number can change you would just use one less that the partition number itself eg. /dev/sda5 would be ,4 or /dev/sda4 would be ,3. The second line boots the default kernel on the root partition the =/dev/sda2 would be changed to the actual partition used during install, the third line tells grub to boot with the information you have given it. Once booted edit the menu.lst to correct the problem with the hda instead of sda then I would reboot to make sure grub works properly.
 
  


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 panic - SATA support in 2.6 and slackware vmt1 Slackware 7 12-01-2005 01:55 PM
Fedora C4 Kernel Panic root= SATA Hard disk fieldyweb Linux - General 1 08-22-2005 09:09 AM
kernel Panic slackware 10.1 (sata) after upgrading to 2.6.10 pkg in /testing sund00bie Slackware 7 07-25-2005 04:59 AM
sata.i + amd64 = kernel panic madbrain Slackware - Installation 9 02-09-2005 07:35 PM
SATA kernel panic N3K0KUN Slackware 1 02-25-2004 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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