LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-07-2004, 03:25 PM   #1
dufus
LQ Newbie
 
Registered: Mar 2004
Location: New Mexico, USA
Distribution: Debian
Posts: 4

Rep: Reputation: 0
SATA drive - 2.6.3 kernel upgrade


I'm upgrading from a 2.6.1 kernel to 2.6.3 The kernel build went OK, but I must have missed the documentation that says that libata calls an SATA drive '/dev/sda' whereas it used to be '/dev/hde'.
I installed an old ATA drive (/dev/hda) and have booted a 2.6.3 kernel from the ATA drive. I can mount the SATA partitions in fstab (/dev/sda?) except for '/' which has the /dev/hda partition.
I can mount the SATA '/' partition elsewhere and it appears to be intact.
When I run lilo is says 'Warning: /dev/sda is not on the first disk'.
If I boot from the SATA it panics saying 'Kernel Panic: VFS: Unable to mount root fs on unknown-block (8,7)
In desperation I tried to 'rdev /dev/sda7 /dev/sda7', no difference.
How do I make it boot from /dev/sda7 ?
I haven't had any success with a boot / rescue floppy either.
Debian Woody (testing)
This system has worked great with the 2.6.1 kernel.
 
Old 08-22-2004, 03:14 PM   #2
Underhill
Member
 
Registered: Aug 2004
Location: Kuala Lumpur, Malaysia
Distribution: Debian Etch
Posts: 58

Rep: Reputation: 15
I have slightly the same problem with you. I tried to install Debain using netinst iso (kernel 2.6). I'm using SATA drive. When the installed asked where to installed Grub, i said, /dev/sda6 but a got a fatal error msg and can't be completed.

Helps, please?

Last edited by Underhill; 08-22-2004 at 03:15 PM.
 
Old 08-22-2004, 04:23 PM   #3
dufus
LQ Newbie
 
Registered: Mar 2004
Location: New Mexico, USA
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: 0
Since March, I have updated my kernel from 2.6.3 through 2.6.7. I have been using debian's kernel image, as well as compiling a few kernels.
In each case the SATA drive is found at /dev/hde.
I added a second SATA drive (for experimenting with RAID), that drive was found at /dev/hdg.

During the install process, if you can get to a shell and do a 'cat /proc/partitions' you can see what the install program found.
I hope this helps.
 
Old 08-24-2004, 01:19 AM   #4
Underhill
Member
 
Registered: Aug 2004
Location: Kuala Lumpur, Malaysia
Distribution: Debian Etch
Posts: 58

Rep: Reputation: 15
Doesn't detect my sata as hde but as sda. Installed on it but can't get GRUB working, fatal error.
 
Old 08-26-2004, 08:13 PM   #5
strikeforce
Member
 
Registered: Jan 2004
Posts: 74

Rep: Reputation: 15
Install grub on the master boot record that hsould be fine.

Try
#fdisk -l
that'll list your partitions for you.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10.0 , SATA hard drive, kernel 2.6.13.1 mlukic Slackware 6 09-14-2005 02:53 PM
SATA Issues (kernel 2.4.29 upgrade from 2.4.26) davatar Slackware 2 04-04-2005 01:21 PM
cannot get new kernel to see SATA drive lopette Linux - Hardware 0 09-12-2004 05:59 AM
SuSE 9.1, SIS 964 SATA, HItachi 160GB disks, kernel upgrade? fireman949 Linux - Distributions 2 08-31-2004 12:38 AM
kernel 2.4.20 no SATA drive recognition tait Red Hat 4 07-01-2004 04:36 AM

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

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