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 06-10-2006, 06:43 AM   #1
lothario
Member
 
Registered: Apr 2004
Posts: 340

Rep: Reputation: 30
Knoppix can see /dev/sda but BIOS cannot


I was running the Live Knoppix CD.

Before it booted up, it found a swap
partition sda2 (on a SCSI disk)
and started using it. That was good.

Then I did a hard disk install on the SCSI
disk. So:
/dev/sda1 has the root file system
/dev/sda2 has the swap file system
and a boot floppy was also created.

So when I reboot with the floppy, I get:
Grub error 21
The selected disk does not exist.

And the Grub Manual says:

21 : Selected disk does not exist
This error is returned if the device part
of a device or full file name refers to a
disk or BIOS device that is not present
or not recognized by the BIOS in the system.


This is true. The BIOS does not see my
SCSI hard disk but it is there and the Knoppix
Live CD does see it because it did the hard-disk
install on sda1 and it always uses the swap on sda2.

The SCSI hard disk is attached to the PCI SCSI
controller. The controller is seen by Knoppix
but not the BIOS.

So what do I do?
How can I get it to boot from /dev/sda1 ?

There are no other hard disks on the PC.
Only 1 CDROM drive on /dev/hda.
 
Old 06-10-2006, 08:56 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
What kind of box are you using: laptop, desktop, other?

Which BIOS are you using: Award, Ami, other?

How old is your current BIOS? May be time to upgrade the BIOS.

Have you tried to edit the BIOS to get it to recognize the disk?
 
Old 06-10-2006, 03:41 PM   #3
lothario
Member
 
Registered: Apr 2004
Posts: 340

Original Poster
Rep: Reputation: 30
It is an old Desktop. Pentium 400Mhz.
Award BIOS.
At boot time, I can press the "Del" key to get in the BIOS.
Yes, I have tried to edit the settings but no luck.
The BIOS is just not aware of this SCSI disk.
The BIOS is only aware of the CDROM which is
directly connected to the IDE port on the motherboard.

Only thing that comes close is the boot order settings.
I changed those to "SCSI, C, A" and then "SCSI, A, C".
None of these worked.
It just hangs there after the memory test.
 
Old 06-10-2006, 04:10 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Well, if your BIOS has SCSI option then it can support add-on SCSI controllers. Probably the SCSI controller itself is not set up properly. Go to SCSI BIOS and see if you can enable it's booting features.
 
Old 06-11-2006, 04:34 AM   #5
lothario
Member
 
Registered: Apr 2004
Posts: 340

Original Poster
Rep: Reputation: 30
The SCSI card is a PCI Adaptec AHA-2910C.

So from the Adaptec web site I downloaded:
SCSISelect Utility v1.00

It correctly identifies my SCSI card and Hard Disk.
But how to I enable the booting feature(s)?
What should I (generally) look for?

At the moment, the SCSI ids are:
7 for SCSI card
1 for Hard disk
 
Old 06-11-2006, 07:20 AM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
You can access (Adaptec) SCSI BIOS by depressing CTRL+A at boot time. Once in there you can set which disk to boot from plus many other settings. You should set your bootable HDD to ID 0:0 using jumpers, this is default in controller BIOS too. ID 7 for controller is OK, leave it that way. And remember, building a SCSI chain is not as simple as connecting IDE drives. You'll get rotten performance if anything is set up incorrectly. Good luck.

Last edited by Emerson; 06-11-2006 at 12:10 PM.
 
Old 06-11-2006, 03:21 PM   #7
lothario
Member
 
Registered: Apr 2004
Posts: 340

Original Poster
Rep: Reputation: 30
I don't see or get to do a CTRL+A at boot time.

But. it looks like the CTRL+A SCSI BIOS screen
is the same the SCSISelect Utility downloaded
from Adaptec.

The jumpers on the SCSI Hard Disk (WDE 4360)
are already set to ID 0.
But in the Adaptec SCSI BIOS the Hard Disk
shows up as ID 1.

There are no other SCSI devices in this PC.
The Adaptec card is set to auto terminate.
 
Old 06-11-2006, 03:31 PM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
You need to depress CTRL+A at exactly right time, it may require some experimenting before you get it right.
If your drive shows up as ID 1 then ID 1 it is. Double-check the jumpers, you probably need to remove all 4 to get ID 0. Controller set to auto-terminate is good, what about the other end of cable? Tip: The jumper marked "TERM-PWR' does not enable internal terminator! (this is the most common mistake SCSI beginners do)
 
Old 06-11-2006, 04:01 PM   #9
lothario
Member
 
Registered: Apr 2004
Posts: 340

Original Poster
Rep: Reputation: 30
On other PCs, I have seen the Adaptec CTRL+A
at prompt boot time.

On this PC, I have never seen it at all.
Hard or soft boot. I have been booting
up this PC for a few months.

The Western Digital 4360 had jumpers on the pins marked:
TERM PWR (4th pair of pins, from the top)
SCSI TERM (6th pair of pins, from the top)
SCSI ID0 (17th pair of pins, from the top)

The 17th pair of pins is also the 1st pair
of pins from the bottom.

So the hard disk SCSI ID 0 is now consistent.

I took your advice and removed the jumper from
the 17th pair of pins. Then I powered on the PC.
Now the Adaptec SCSISelect utility says
that the Western Digital 4360 is ID 0.
(Previously, the utility said it was ID 1.)

Are the TERM PWR and SCSI TERM jumper settings ok?

Btw, the Adaptec SCSISelect utility says that
Plug and Play SCAM support is Disabled.
Is this ok? Or should I enable it?
 
Old 06-11-2006, 04:22 PM   #10
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
The feature "Show CTRL+A at bootup" can be disabled - it still works indeed.

TERM PWR - This enables power for an external terminator, you won't need it if internal terminator is enabled (Not all disks have internal terminators)

SCSI TERM - must be enabled if this is the last unit on the SCSI chain

You do not need PnP SCAM.

Tip: Make sure the cable has no loose ends - i. e. one end is connected to controller and other end to the HDD with termination enabled.
 
Old 06-11-2006, 06:35 PM   #11
lothario
Member
 
Registered: Apr 2004
Posts: 340

Original Poster
Rep: Reputation: 30
I checked the SCSI cable.
It is snug. I swapped it with another flat SCSI cable.
It made no difference, same results.
 
Old 06-11-2006, 07:11 PM   #12
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Two more things to check in SCSI BIOS setup:
1. BIOS must be set to 'Enabled'
2. Device you boot from - ID 0 - must be included in BIOS scan.
I'm out of ideas now.
 
Old 06-13-2006, 08:30 PM   #13
lothario
Member
 
Registered: Apr 2004
Posts: 340

Original Poster
Rep: Reputation: 30
As per Adaptec documentation, turns out that the Adaptec AHA-2910C SCSI card is not bootable.

So I used the suggestions mentioned in this post:
http://www.knoppix.net/forum/viewtop...ht=loadlin+exe

Now I boot from a DOS floppy.
Instead of using the CDROM, I copied the contents of the
KNOPPIX CD on an 800 Mb FAT partition on the SCSI disk.

(I need the CDROM to be free for other uses.)

I used Adaptec's scsi drivers to boot from the floppy
and access the 800 Mb "C" drive.

Loadlin can boot linux.
In other words, loadlin.exe on the floppy (for DOS) boots Kooppix (on the SCSI hard disk).
 
  


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
USB drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 12:52 AM
forcing the order of /dev/sda /dev/sdb etc.. jdaniel Linux - Software 5 05-23-2006 07:41 AM
/dev/sda and /dev/sda1 disappeared using sii3112A striderstrahan Linux - Software 0 09-16-2004 05:00 AM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 03:56 PM
USB Compact flash card reader hotplug creates /dev/sda but no /dev/sda1 -Mandrake 9.1 bibinono Linux - Hardware 2 08-11-2003 09:37 AM

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

All times are GMT -5. The time now is 01:14 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