LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-12-2006, 03:51 PM   #1
totally_linux
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
sata drives


does anyone know why my sata drive does not show up in my mandriva 2006 the ide drive does but i can not find my sata drive

thanks
 
Old 07-12-2006, 04:07 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Most likely your SATA controller is not compiled into the stock kernel that comes with Mandriva 2006.
 
Old 07-12-2006, 04:22 PM   #3
DuMont
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
I am very new to linux but have the same problem, i would just like to know. if it isn't compiled into the stock kernel, how to you go about doing this.
 
Old 07-12-2006, 04:28 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
There's a few ways you can sometimes get around this. One way is to temporarily change your SATA drive to PATA in the bios. Not all bios have this setting though. What it does is pretend that the drive is an IDE drive. Then once you've got it installed, you can recompile a new kernel from kernel.org and include your SATA controller. Then I believe you'll have to edit /etc/fstab and change all the /dev/hdaX to /dev/sdaX because when you boot your new kernel after changing the bios back, it'll be looking for SATA drives.

Short of that, you can remaster your install disk (complex and I've never done it before, but it involves recompiling a kernel and then putting that kernel onto the install CD) or pick a newer distro (I think a new Ubuntu family was released pretty recently). There might be a way to compile a module you could load at boot time, but I'm not sure how to do that either...
 
Old 07-13-2006, 08:13 AM   #5
carlos88
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Rep: Reputation: 0
Intresting, that. I had a bit of trouble installing Slack or Debian because of this.
I have a Sata in primary master (ie SATA1), nothing in Secondary (ie other SATA2), a CDRW in Third Master (ie First IDE), and DVDRW in Fourth Master (ie Second IDE). After 30 seconds, booting hung after about a page of logging.
I went into Bios and noticed that the setting was set to SATA only (with optinos for PATA). I set it to PATA and SATA, then checked the drives. the CDR disappeared (presumably over-ridden by Hard drive on Sata), the Harddrive appeared on 2nd Primary I think, and the DVDRW appeared on first (or was it third?) Master.
Booted again, and success. It's all a bit messy, probably because of the way I set my system up. I think I'll put my CDRW as a slave to hard drive. Make life a t ad easier.
 
  


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
2 hard drives, XP on my main sata drives, 10.2 on my IDE LILO doesnt show on boot up Dachy Slackware 14 01-03-2008 07:01 AM
Adding SATA drives The_JinJ Linux - General 2 01-04-2006 03:38 PM
SATA Drives Sfisher961 Linux From Scratch 1 10-05-2005 07:50 PM
SATA drives kaplan71 Red Hat 1 06-27-2005 04:41 PM
SATA Drives smace Linux - Newbie 2 04-13-2004 09:50 PM

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

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