LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 03-11-2006, 01:14 PM   #1
rlinuxr
Member
 
Registered: Jul 2003
Posts: 35

Rep: Reputation: 15
SATA device naming on Red Hat 3


Hi folks,

I am trying to install Red Hat 3.0 (Update 6) on Dell Optiplex Gx620. The desktop has a 160GB SATA drive. During install (Disk Druid), I see the SATA drive being named as /dev/sda. On my older desktop (using ATA IDE drive), the device name was /dev/hda.

I am going to install external SCSI storage as well and don't want /dev/sda naming used for local SATA drive.

Is there a way to change it? I need Red Hat Installer to name the local SATA drive as /dev/hda.

Thanks.
Ravi.
 
Old 03-11-2006, 01:21 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Quote:
Originally Posted by rlinuxr
I am going to install external SCSI storage as well and don't want /dev/sda naming used for local SATA drive.

Is there a way to change it? I need Red Hat Installer to name the local SATA drive as /dev/hda.
It's the Linux kernel who assignes these names, not the installer.
Why do you want to call the internal SATA hda? What's wrong with having sda for the internal and sdb for the external drive?
 
Old 03-11-2006, 01:28 PM   #3
rlinuxr
Member
 
Registered: Jul 2003
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks, Uselpa.

The naming /dev/sda etc gives the impression that the device being referred to is a SCSI device whereas it is not. We have few homegrown Sys Admin utilities that rely on the naming convention. That's why I was wondering if there is a way to change it.

Thanks,
Ravi.
 
Old 03-11-2006, 01:44 PM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Honestly I don't believe you can change this. Maybe you can create a symlink from hda to sda for your tools but I wouldn't recommend it.
Code like
Code:
mount | grep "on / " | awk '{ print $1 }'
could always be put into your system apps (but of course this is a wild guess as I don't know your tools nor your architecture).
 
Old 03-11-2006, 02:33 PM   #5
rlinuxr
Member
 
Registered: Jul 2003
Posts: 35

Original Poster
Rep: Reputation: 15
Ok, I went ahead had installed RedHat Linux with SATA drive named as /dev/sda.
The problem now is that kernel is not picking up the external SCSI storage, which is being picked easily by another desktop running same version of Linux, but with IDE ATA drive. Can someone please help?
 
  


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
Red Hat 9 installation on SATA HD MbowerARA Red Hat 5 09-13-2006 10:47 AM
Installing Red Hat 9 with sata Agent23 Linux - Newbie 5 10-14-2005 12:10 PM
Red Hat Enterprise install on SATA HD Rivitir Red Hat 1 02-25-2005 02:22 PM
Red hat 9 with SATA? vrdhananjay Linux - General 7 08-27-2004 12:02 PM
Installing Red Hat 9.0 on SATA drives a4rj9w300zx Linux - Hardware 5 09-18-2003 02:16 PM


All times are GMT -5. The time now is 01:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration