LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   sata hd not found (https://www.linuxquestions.org/questions/slackware-14/sata-hd-not-found-593769/)

w1z44rdy 10-22-2007 04:55 PM

sata hd not found
 
Goodday,

Last week I bought a new notebook. Today, I was trying to install slackware, but not without trouble.

First, this is the notebook. (Western Digital HD)

Second, I have the HD set on IDE mode, Live-CD's do work, winxp has no trouble with the harddrive, and I did try to load huge.i.

I'm total newbie when it comes to linux, so any help could be usefull.

Thanks,
w1z44rdy

Peacedog 10-22-2007 06:18 PM

Hi w1z44rdy, Welcome to lq. What trouble are you having? Are you getting errors, if so what errors? We'll need to know what the problem is to try and correct it.
Good luck. ;-)

WebGraphics 10-22-2007 10:14 PM

Can you get to fdisk/cfdisk? How far into the installation do you get before you get an error? What is the error?

w1z44rdy 10-23-2007 01:33 PM

I'm sorry. I kinda forgot to mention the problem.

Well.. there are no errors, slack just doesn't know my hard disk. I can access cfdisk/fdisk but it only gives me a "read-only" partitiion, which I think is the DVD I'm installing from.

Any suggestions?

Alien_Hominid 10-23-2007 02:01 PM

My suggestions:

1) In bios change SATA from native to legacy mode and try again
2) Change CHS and to LBA addressing and try again

duryodhan 10-23-2007 02:16 PM

Quote:

I'm sorry. I kinda forgot to mention the problem.
rofl


Ok .. what does fdisk -l say ?

Also, you ARE installing slackware 12 right ?

And also, while the slackware Install boots up .. can you see anything about a sda or hda or your harddisk? Anything at all?

H_TeXMeX_H 10-23-2007 02:39 PM

Please post what version of Slackware you're trying to install, this will help a lot in providing you with a specific solution.

You wanna try to boot a '.s' kernel.

Quote:

The kernels found in directories ending with '.i' are for use on systems that
only need IDE hard drive/CD-ROM support. Those ending in '.s' contain support
for at least one type of SCSI controller in addition to the usual IDE support.
If applicable to your Slackware version, might wanna read 'kernels/SATA-SUPPORT.TXT' in the root directory of the install DVD/CD.

duryodhan 10-23-2007 04:32 PM

weird , I can swear that Slack 11 came with a sata.i .. what was that for ?

Was it a kernel named sata that supported only IDE/CDRom? Just curious , btw.

H_TeXMeX_H 10-24-2007 04:00 AM

Quote:

Originally Posted by duryodhan (Post 2934176)
weird , I can swear that Slack 11 came with a sata.i .. what was that for ?

Was it a kernel named sata that supported only IDE/CDRom? Just curious , btw.

Actually, I think they should be two separate things. SATA does not depend on SCSI support. So, sata.i can support SATA, but not SCSI.

Unfortunately, I don't know what version of Slackware the thread starter has, so how can I make a reasonable recommendation ? Well, I can't, other than reading some the text files that come with whatever version they have.

duryodhan 10-24-2007 06:09 AM

yeah, but SATA drives come in as sdX while IDE drives come in as hdX , USB devices to come in as sdX .. as USB is SCSI I thought same is true for SATA

WebGraphics 10-24-2007 06:11 AM

Quote:

Originally Posted by w1z44rdy (Post 2933975)
I'm sorry. I kinda forgot to mention the problem.

Well.. there are no errors, slack just doesn't know my hard disk. I can access cfdisk/fdisk but it only gives me a "read-only" partitiion, which I think is the DVD I'm installing from.

Any suggestions?

What do you type?

> cfdisk /dev/sda

Something like that?

ledow 10-24-2007 06:17 AM

Okay, some people aren't listening.

1) Is your hard drive detected at boot?

Type:

dmesg |grep sda

to find out.

2) Are you running cfdisk on the right drive (Clue: No, You probably aren't, as those people above are trying to tell you).

Type:

cfdisk /dev/sda

(or whatever your drive appears as).

CFDisk, by default, goes for your first hd?? device, which will probably be an IDE CD drive in a modern SATA PC, rather than the primary hard drive as it was in pure-ATA computers.

You have to TELL it to use your drive (sata appear as pseudo-SCSI drives, believe it or not, so they appear as sd?? instead).

3) Always, always, always, when you have a problem, pay attention to the screen and boot messages. A quick look at dmsg or boot-time messages will show you that you've got an SDA not an HDA device appearing. A quick look at the top of cfdisk will show you what device it's TRYING to partition. A quick look at cfdisk --help will show you what you need to do to get it to look at SDA.

Everyone mentioning kernels and this and that at this early stage of diagnosis should be taken outside and shot. Or made to work in a IT department.

w1z44rdy 10-24-2007 08:35 AM

Thanks for all above answers. They have all expanded my tiny knowledge of linux.

Anyway, yesterday night when I posted my last reply, I found out that I could select "an unknown NTFS partition" as installtarget on the setup menu. Knowing that such thing was possible, I booted with hiren's disk and made the rest of the hard drive space, which I had left unused for slack, NFTS. (I also created a swap on the fly) After I restarted with the slack 12 DVD, I just selected the NTFS I had just made. So with other words: I got it up and running. Though, (c)fdisk was still pointing at my DVD drive, which was confusing me.

So if anyone finds this post through a search session and wants the solution: just use partition - or hd tools to set your hd ready. I guess you wont even be searching this if you know how to make (c)fdisk point at the correct drive.

Anyway, thanks for the replies,
w1z44rdy

duryodhan 10-24-2007 08:44 AM

Quote:

Everyone mentioning kernels and this and that at this early stage of diagnosis should be taken outside and shot. Or made to work in a IT department.
First off I told him to do fdisk -l

that would have given us most of what you are trying to get!


The only problem is I think the op has gone off somewhere ... and I don't know about you but I am here to learn, so although I do care a little what the op wants to solve, it is not my primary concern or else I would be in IT support. If I find a topic of interest in which my knowledge is weak, then I will discuss it! And its not as if I am not solving the op's problems. I never asked him to look at the kernel and all .. I only asked him to do fdisk -l, the discussion about kernels was only with others.

H_TeXMeX_H 10-24-2007 09:18 AM

Quote:

Originally Posted by ledow (Post 2934789)
Everyone mentioning kernels and this and that at this early stage of diagnosis should be taken outside and shot. Or made to work in a IT department.

What are you talking about ? I recently tried installing Slackware 11.0 on a new computer with a SATA HDD. I had never done this before so I just used the default kernel. Well, there was absolutely no way it would detect the SATA HDD, because it didn't have any SATA drivers built-in. In fact it only detected the CD-ROM drive. Then I tried 'huge26.s' and it detected the HDD just fine. I ran cfdisk and it was there, I partitioned it and the install went fine. It certainly could have been the kernel. Also, cfdisk is quite automated, it will detect a HDD if it is connected, fdisk is not so automated, you may have to specify which drive to partition.


All times are GMT -5. The time now is 04:33 AM.