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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-24-2005, 12:06 PM
|
#1
|
Member
Registered: Dec 2004
Posts: 65
Rep:
|
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??
|
|
|
02-24-2005, 12:13 PM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
|
|
|
02-24-2005, 12:28 PM
|
#3
|
Member
Registered: Dec 2004
Posts: 65
Original Poster
Rep:
|
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?
|
|
|
02-24-2005, 12:44 PM
|
#4
|
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938
Rep:
|
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
|
|
|
02-24-2005, 12:45 PM
|
#5
|
Member
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383
Rep:
|
boot knoppix and see what it lists in fstab, always the best bet i find.
|
|
|
02-24-2005, 01:04 PM
|
#6
|
Member
Registered: Dec 2004
Posts: 65
Original Poster
Rep:
|
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...
|
|
|
02-24-2005, 01:04 PM
|
#7
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
what is the error you get when you type
fdisk /dev/sda
also, are these disks in a RAID?
|
|
|
02-24-2005, 01:08 PM
|
#8
|
Member
Registered: Dec 2004
Posts: 65
Original Poster
Rep:
|
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 01:13 PM.
|
|
|
02-24-2005, 01:12 PM
|
#9
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
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?
|
|
|
02-24-2005, 01:18 PM
|
#10
|
Member
Registered: Dec 2004
Posts: 65
Original Poster
Rep:
|
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...
|
|
|
02-24-2005, 05:21 PM
|
#11
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
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.
|
|
|
02-24-2005, 06:39 PM
|
#12
|
Member
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561
Rep:
|
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.
|
|
|
02-24-2005, 06:50 PM
|
#13
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
or use slackware
|
|
|
All times are GMT -5. The time now is 07:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|