LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-29-2005, 05:06 PM   #1
dabauer
LQ Newbie
 
Registered: Jan 2005
Location: University District, Seattle
Distribution: Slackware 10
Posts: 7

Rep: Reputation: 0
How do I fdisk a scsi drive???


How do I fdisk a scsi drive??? According to what it says, I assume to use /dev/sda. Well, there are no sd* entries in the /dev directory, so what do I use???
 
Old 01-29-2005, 05:24 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If there are no entries in /dev/sd*, then you probably don't have modules/kernel support for your scsi drive. Try:
Code:
dmesg | grep -i scsi
to see if anything regarding scsi was printed at boot.
 
Old 01-29-2005, 05:24 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You will need to provide more information. Are you sure that the driver for the scsi controller you are using is either built into the kernel or loading as a kernel module?
The commands 'lsmod' and 'lspci' should provide useful information that would be needed to help.

If you just installed the drivers, perhaps you need to run the 'ldconfig' command. Sometimes an installation doesn't do it. This tells the system that a library file needs to be loaded at boot, by adding it to /etc/ld.so.conf.

Also, check the cable to the scsi drive. If it is bad the system may not detect the new drive.

The solution will most likely consist of determining which kernel module needs to be loaded so that the system can detect your new drive and using modprobe to load it in.

Last edited by jschiwal; 01-29-2005 at 05:27 PM.
 
Old 02-10-2005, 05:30 PM   #4
dabauer
LQ Newbie
 
Registered: Jan 2005
Location: University District, Seattle
Distribution: Slackware 10
Posts: 7

Original Poster
Rep: Reputation: 0
OK, I got it to work. I just put adaptec.s in the boot line.

The last message I got, lsmod just gave info about USB devices. lspci didn't work and neither did ldconfig. Now at least I see sda in the dev directory and cfdisk seems to work. So, I will install this tomorrow
 
  


Reply



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
fdisk on SCSI drive tdmg Slackware 4 07-11-2005 06:59 PM
GRUB or LILO boot to SCSI drive on SCSI system w/ IDE card mkl838 Linux - General 1 03-06-2005 09:01 PM
Can't fdisk scsi raid array slackergeek Linux - Hardware 6 02-08-2004 08:44 AM
Hitachi scsi hard disk fdisk curiosity/conundrum rharvey@cox Linux - Hardware 4 11-07-2003 08:31 AM
Hitachi SCSI hard disk fdisk definition rharvey@cox *BSD 2 10-27-2003 04:28 AM

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

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

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