LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-15-2009, 10:15 AM   #1
bruceam
Member
 
Registered: Nov 2008
Location: Atlanta, Georiga
Distribution: Debian, Ubuntu
Posts: 78

Rep: Reputation: 15
Question Debian, Hard Disk Identification


I have been working on a problem with a hard disk in my Debian 4.0.05 installation. The SATA disk drive is identified by the system as sda, which I just noticed is designated by the documentation as a SCSI disk. Is this correct? Are Serial ATA drives considered by Debian to be SCSI drives? If not, what should the system identify this drive to be, and how do I get the system to operate with it on that basis?


Thanks in advanced for your assistance.
 
Old 03-15-2009, 10:53 AM   #2
Linuxchuck
LQ Newbie
 
Registered: Aug 2007
Distribution: Slackware from 94-09, Debian Since March 09
Posts: 28

Rep: Reputation: 19
Typically, you will find that SATA drives are identified as SCSI connected drives in Linux. So anytime you wish to work with a SATA connected drive in your Debian system, you will be working with a /dev/sd* device. There is nothing going wrong for it to show up this way.

As far as "getting the system to operate with it on this basis", how do you mean? It should just work that way. If you are looking for a way to use or access it on the command line, you can view or create partitions on it this way:

Code:
cfdisk /dev/sda
You will have to have the .deb for cfdisk installed, of course. If it's not, just run this command to get it:

Code:
apt-get update
apt-get install cfdisk
You can use that utility at the command line to view and create paritions on the drive.

If you don't need to mess with the partitions, you can simply mount it. There are two methods you can use. You can do it manually using the following method from the command line:

Code:
mount /dev/sdax /mnt
Where "x" is the partition number you wish to mount (for example /dev/sda1 for the first partition), and "/mnt" is the mountpoint you wish it to be mounted to. You would then be able to access the contents of that partition under the mountpoint you specify. This is all dependant, of course, on the proper filesystem kernel modules being loaded.

Hope this helps...
 
Old 03-15-2009, 02:55 PM   #3
bruceam
Member
 
Registered: Nov 2008
Location: Atlanta, Georiga
Distribution: Debian, Ubuntu
Posts: 78

Original Poster
Rep: Reputation: 15
To Linuxchuck,
Thank you. You have indeed answered my question. My question about "and how do I get the system to operate with it on that basis?" referred to "What Do I Do If The System Is Not Perceiving The SATA Disk Correctly". As it would seem to be linking up properly, the second part of that question is moot.

Thanks again for your help. The information you provided was very helpful.
 
  


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
Debian-Live install to hard disk rakamaka Linux - Newbie 5 02-21-2009 11:19 AM
Questions on Disk Vendor Identification cdcshu Linux - Software 10 07-16-2007 09:49 AM
How can i install debian from Hard Disk ? saied Debian 3 06-01-2007 10:42 PM
Debian cant find hard disk Kroenecker Debian 6 06-08-2006 11:30 AM
Failed hard disk on HP DL380 running Debian Zombie13 Linux - Hardware 2 06-08-2006 02:44 AM


All times are GMT -5. The time now is 11:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration