LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-24-2005, 01:06 PM   #1
nr5
Member
 
Registered: Dec 2004
Posts: 65

Rep: Reputation: 15
hda? sda? what do i have?


Hi,

Just got a new server and need to make partitions...

Writing:
fdisk /dev/hda
will give the message "will not be able to write to the partition table" and
fdisk /dev/sda
dosnt work for some reason... (I got SCSI disk)

How do i find out what to use??
 
Old 02-24-2005, 01:13 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
Does this page help?
http://www.linuxplanet.com/linuxplan...orials/4232/1/
 
Old 02-24-2005, 01:28 PM   #3
nr5
Member
 
Registered: Dec 2004
Posts: 65

Original Poster
Rep: Reputation: 15
not really.. not sure what my HD is called...?
just noticed that "hda" is my CDrom...

how do i find out what my HD is called?
 
Old 02-24-2005, 01:44 PM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
If you're using SCSI disks then it's /dev/sdx

Try:
hdparm -i /dev/sda
hdparm -i /dev/sdb
etc...
and see what it tells you about your drives
 
Old 02-24-2005, 01:45 PM   #5
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
boot knoppix and see what it lists in fstab, always the best bet i find.
 
Old 02-24-2005, 02:04 PM   #6
nr5
Member
 
Registered: Dec 2004
Posts: 65

Original Poster
Rep: Reputation: 15
i tried writing

hdparm -i /dev/sda
hdparm -i /dev/sdb
hdparm -i /dev/sdc
hdparm -i /dev/sdd
hdparm -i /dev/sde
.....

all the letters on my keybord and i only get "No such file or directory"

How do i book knoppix? i dont have an OS installed yet...
 
Old 02-24-2005, 02:04 PM   #7
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
what is the error you get when you type
fdisk /dev/sda

also, are these disks in a RAID?
 
Old 02-24-2005, 02:08 PM   #8
nr5
Member
 
Registered: Dec 2004
Posts: 65

Original Poster
Rep: Reputation: 15
Writing fdisk /dev/sda i get "Unable to open /dev/sda"

If i type
ls /dev/sd*
I get "No such file or directory"...

Whats a RAID?

Last edited by nr5; 02-24-2005 at 02:13 PM.
 
Old 02-24-2005, 02:12 PM   #9
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
sounds to me like your SCSI card isn't recognized by the kernel so the drives aren't being found.

what linux ditribution are you trying to install, and what kernel does it have?
and what SCSI card do you have?
 
Old 02-24-2005, 02:18 PM   #10
nr5
Member
 
Registered: Dec 2004
Posts: 65

Original Poster
Rep: Reputation: 15
im trying to install Gentoo 2004.3, im using the livecd so im not sure what kernel im using...

im using a SCSI Ultra 320 hard drive with Adaptec U320 SCSI controller...
 
Old 02-24-2005, 06:21 PM   #11
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
ah gentoo the next best thing since windoze.
sorry but i have no clue what kernel they use.

if you boot with their live cd and it can't find your drives, my assumption is you should go to www.gentoo.org and post on their forum, unless someone else here has a clue.
 
Old 02-24-2005, 07:39 PM   #12
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Look at the dmesg output, ie run "dmesg | less" or "dmesg | more" from a command prompt, and see if the kernel is seeing and intializing your SCSI controller and drives. If it's not then the kernel most likely doesn't have the right drivers for the SCSI card compiled into it. So you'd need a kernel that does or else provide them as modules.
 
Old 02-24-2005, 07:50 PM   #13
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
or use slackware
 
  


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
Where is my HD? - not /dev/hda or /dev/sda ?? BrianK Linux - Hardware 11 04-24-2007 06:35 PM
found problem now how to change from hda to sda bird603568 Slackware 29 10-28-2005 12:18 PM
hda and hdb automounts nicely, but sda does not Navyblue Linux - Newbie 7 08-21-2005 12:53 PM
mount USB devices, sda, manually/statically assign sda? Oxyacetylene Debian 3 12-20-2004 03:45 PM
difference between hda and hda@ saurav_gohain Linux - General 1 07-08-2003 03:06 AM


All times are GMT -5. The time now is 10:40 AM.

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