Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 11-27-2004, 09:16 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 12

Rep: Reputation: 0
New Hard Drive Causes Kernel Panic

I just bought a Western Digital 250gb hard drive and put in as a slave.
Ive had linux and win xp installed on my master b4 the new drive, but now I cant boot into linux.
I get a Kernel Panic, unable to mount root fs at hdb9

Im using Simply Mepis 2004 and when I put in the livecd, I can run QtParted and it will show me info on hda but as soon as I click on hdb the program unexpectedly quits.

Any Suggestions?
Old 11-27-2004, 09:49 PM   #2
Registered: May 2003
Location: Cambridge, MA
Distribution: SuSE, RedHat, and OpenBSD
Posts: 116

Rep: Reputation: 15
Check that your original hard drive is set to "master", rather than "slave" or "master no slave" or something like that.
Old 11-28-2004, 09:45 AM   #3
LQ Newbie
Registered: Oct 2003
Posts: 12

Original Poster
Rep: Reputation: 0
I had to set the original to master with slave present in order to get the bios to recognize it, so the jumper is properly set.
Old 11-28-2004, 12:03 PM   #4
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Which IDE channel is the new drive on? If it's sharing the cable with your CD drive, then it will be /dev/hdd not /dev/hdb. At the risk of telling you something you are already totally familiar with

primary master = /dev/hda
primary slave = /dev/hdb
secondary master = /dev/hdc
secondary slave = /dev/hdd

I will agree with pingswept that it sounds like it could be a jumper issue. You might also try setting your original drive (the one with Linux and XP already installed) as "cable select", and the new drive a "slave". I don't know if that will solve the problem but it's something to try. -- J.W.
Old 11-28-2004, 02:59 PM   #5
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
If the kernel is trying to mount the root at hdb9, are you really sure that your original hard drive was set-up as master ????. As said earlier, hdb is the slave of the primary IDE controller.

You can try this (if you're using LILO). Remove the new harddisk. Boot into Linux. Edit 'lilo.conf' and set the 'root' option to hda9. Save lilo.conf and run 'lilo'. Next edit your fstab file and point the Linux partitions to hda.

Attach the original harddisk as primary master and the new harddisk as primary slave.

Hope this works. If it doesn't, try to download Knoppix (Linux live cd) so you will be able to mount the Linux partitions and try to edit your lilo.conf and fstab to point to the right partitions.


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
I am in panic! How can i save my data on hard drive? zigman Linux - Hardware 2 12-02-2005 10:24 AM
Kernel panic on install to blank hard drive dismas Slackware - Installation 1 09-30-2005 06:06 PM
Tecra m3 hard drive dma and kernel panic :( bird603568 Slackware 1 08-28-2005 11:57 AM
Maxtor hard drive, kernel panic. Null pointer in buffer.c? slackwarefan Slackware 3 09-12-2004 07:06 PM
PANIC: hard drive failure shishimo General 1 07-16-2004 03:06 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration