LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-30-2011, 06:08 AM   #1
bassplayer69
Member
 
Registered: Jul 2007
Location: In a van down by the river...
Distribution: MX Linux 21
Posts: 237

Rep: Reputation: 56
Trying to install Slackware64 on IDE disk


When I boot with the Slackware64 DVD and run either fdisk or cfdisk to partition the hard drive, it only sees the SATA drive, not the IDE drive.

I have a Gigabyte MB #GA-880GM-D2H that has four SATA ports and an IDE port. I have two hard drives, the first one is a 200GB IDE (ST3200822A) and the second one is a 1TB SATA (ST31000524AS).

The DVD-RW drive and the 200 GB IDE drive are plugged into the IDE controller on the motherboard and the 1 TB SATA drive is plugged into SATA 1.

In the BIOS I have it configured as:

IDE Channel 0 Master: ST3200822A (200 GB IDE)
IDE Channel 0 Slave : TSSTCorp CDDVDW (DVD-RW IDE)
IDE Channel 2 Master: None
IDE Channel 2 Slave : None
IDE Channel 3 Master: ST31000524AS (1 TB SATA)
IDE Channel 3 Slave : None

(I have also tried it with the 1 TB SATA on Channel 2 Master).

When I boot Slackware64 and fdisk/cfdisk will see:

/dev/sda = ST31000524AS (1 TB SATA) only.

More BIOS Configuration:

Hard Disk Boot Priority:

1. Ch0 M: ST3200822A (200 GB IDE)
2. Ch3 M: ST31000524AS (1 TB SATA)
3. Bootable Add-in Cards

Also:

First Boot Device: CDROM
Second Boot Device: Hard Disk
Third Boot Device: Floppy

And:

OnChip SATA Controller: Enabled
OnChip SATA Type: Native IDE
(There are two other choices: RAID and AHCI - don't know if that would make a difference or not)

I'd like to use the 200 GB IDE drive as the system drive and the 1 TB SATA as /home.

I hate to say it, but with Windows 7, it sees both drives without any issue and asks which drive to install on.
 
Old 09-30-2011, 07:08 AM   #2
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
Did you try

Code:
fdisk /dev/hda
 
Old 09-30-2011, 07:45 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

What do you see in 'dmesg' for the IDE ST3200822A (200 GB IDE) & TSSTCorp CDDVDW (DVD-RW IDE) drives?
 
Old 09-30-2011, 07:46 AM   #4
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Should be a bios option for IDE before SATA <-- or something similar.

cat /proc/partitions
or fdisk -l will list the current order of partitions.

Linux uses libata and fully supports AHCI.

Last edited by disturbed1; 09-30-2011 at 07:47 AM.
 
Old 09-30-2011, 07:51 AM   #5
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 461

Rep: Reputation: 78
Quote:
Originally Posted by bassplayer69 View Post
I hate to say it, but with Windows 7, it sees both drives without any issue and asks which drive to install on.

Nobody ever said that Slackware is a substitution for windows. I think ubuntu has also such a nice graphical and user-friendly installer.
 
Old 09-30-2011, 07:52 AM   #6
bassplayer69
Member
 
Registered: Jul 2007
Location: In a van down by the river...
Distribution: MX Linux 21
Posts: 237

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by General Failure View Post
Did you try

Code:
fdisk /dev/hda

Yes, with the message that no device exists.


@ onebuck and @ disturbed1 - I'll give those a try when I get home from work.

@ hua - lol ;-) I wanted to see how a non-linux os would see the drives. :-P

Last edited by bassplayer69; 09-30-2011 at 07:55 AM.
 
Old 09-30-2011, 07:58 AM   #7
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 461

Rep: Reputation: 78
Try to run huge.s (kernel image) when boot from DVD instead of hugesmp.s.

Last edited by hua; 09-30-2011 at 08:10 AM.
 
0 members found this post helpful.
Old 09-30-2011, 08:05 AM   #8
bassplayer69
Member
 
Registered: Jul 2007
Location: In a van down by the river...
Distribution: MX Linux 21
Posts: 237

Original Poster
Rep: Reputation: 56
Quote:
In the BIOS I have it configured as:

IDE Channel 0 Master: ST3200822A (200 GB IDE)
IDE Channel 0 Slave : TSSTCorp CDDVDW (DVD-RW IDE)
IDE Channel 2 Master: None
IDE Channel 2 Slave : None
IDE Channel 3 Master: ST31000524AS (1 TB SATA)
IDE Channel 3 Slave : None

(I have also tried it with the 1 TB SATA on Channel 2 Master).
Just out of curiosity, where is IDE Channel 1 and how would I make the ST31000524AS drive a Slave on IDE Channel 3 instead of a master?


The SATA ports on the MB are like:

xxxxxx SATA 2_3
xxxxxx SATA 2_2
xxxxxx SATA 2_0 xxxxxx SATA 2_1 <-- ST31000524AS is plugged in here.
 
Old 09-30-2011, 08:48 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Unless your motherboard provides multiple 'IDE' then you will only have the single 'IDE' interface, one connector that will support a master & slave.
Quote:
From SlackwareŽ-Links;

libATA Developer's Guide + https://ata.wiki.kernel.org/index.ph...error_messages Libata error messages]
libata_switchover <- 'This is written to provide one of several ways to retain a working system after upgrading from Slackware 13.0's kernel to the newer kernel in -current (which removes support for the "old" ide subsytem, thereby causing all /dev/hd* devices to have /dev/sd* names.' + 'Must Read to prevent the Gotcha Clown from popping up'
The latter of these links is for Slackware references in general and very useful to garnish helpful information.
 
Old 09-30-2011, 09:02 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

One after thought to try: Change the Master & slave positions. Make your ROM media the master with the Hard drive as slave. Remember the master is at the end of the cable.

Do you have a BIOS setting for 'native IDE' or some just say 'IDE mode'?

Quick & dirty would be to just disconnect the SATA drives to do the install then modify the mount point for '/home' after the install. Slackware install will find & assign drive as a 'sd' device via libATA.
 
Old 09-30-2011, 10:00 AM   #11
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
To be sure the problem is not on the hardware side, you could try if the installer sees the IDE drive when the SATA drive is unplugged. I don't mean installing, but just running the installer. Anf maybe vice versa. I recall having similar problems with my quite similar setup, but IIRC it was rather a hardware problem, like incorrectly set jumpers or something.
 
Old 09-30-2011, 10:31 AM   #12
tripplewhopper
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by disturbed1 View Post
Should be a bios option for IDE before SATA <-- or something similar.
I'm a linux newbie with moderate computer knowledge but I think this would be the problem. In bios you should have a RAID/SATA mode setting like this
http://www.nikmakris.com/blog/image....id-options.jpg or http://www.pecos-softwareworks.com/p.../bios_raid.jpg and maybe another like http://i.neoseeker.com/neo_image/143...aid_config.jpg

and you want to set it to RAID, or AHCI, or just play around with them to see the results. I am not really knowledgeable about RAID or RAID controllers or anything like that, but you should read the wiki on Advanced Host Controller Interface http://en.wikipedia.org/wiki/Advance...ller_Interface it kind of sheds some light on the subject.
 
Old 09-30-2011, 11:12 AM   #13
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
The hugesmp.s kernel should work with the same devices as the regular huge.s kernel. The problem is how the PC is configured.

The BIOS/CMOS/EFI should have an option of the primary boot device in the Boot section. This should be a list similar to this:

Quote:
IDE-CDROM
IDE-HDD
SATA-CDROM
SATA-HDD
SCSI-CDROM
SCSI-HDD
USB-CDROM
USB-HDD
USB-Flash
Floppy
USB-Floppy
Network
You need to have the IDE-HDD (if this is the case for your system) set as one of the primary boot devices (usually the second device to the selected optical drive). This device should be configured in the jumpers to Master.

cfdisk and fdisk should auto-detect the /dev/sda and/or /dev/hda and show the appropriate device, but if not try the following:

Quote:
fdisk /dev/hda
cfdisk /dev/hda
Just a word of precaution, if you use a single port IDE setup, try to limit usage of the IDE port solely to being used with Hard drives or optical drives, but not both. You should use the SATA ports if you have them for all devices like hard drives and optical drives with the primary hard drive set to port0 and the optical device set to the next port in the series depending on how many hard drives you support.
 
Old 09-30-2011, 04:15 PM   #14
bassplayer69
Member
 
Registered: Jul 2007
Location: In a van down by the river...
Distribution: MX Linux 21
Posts: 237

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by onebuck View Post
Hi,

What do you see in 'dmesg' for the IDE ST3200822A (200 GB IDE) & TSSTCorp CDDVDW (DVD-RW IDE) drives?
I owe you a beverage of your choice. ;-)

I unplugged the sata drive and sure enough the IDE came up in cfdisk just fine. I then plugged in the sata drive again and booted the slackware dvd. Once I got to the root prompt I checked out dmesg and sure enough, the IDE hard drive is registering after the sata drive (e.g. /dev/sdb) so I have the sata drive on /dev/sda and the IDE on /dev/sdb.

I'm currently installing Slackware64 on my new machine while I type this on my old one. ;-)



Well, I thought this was solved....

I tried installed to /dev/sdb configured lilo as such and now I get the following error and then the system hangs when booting:

LILO - Keytable read/checksum error

I even installed to /dev/sda and I still get the error.

I'm stumped now....


Update:

Booted Linux Mint 11 Debian Edition and it found the drives as:

/dev/sda --- 200 GB
/dev/sdb --- 1 TB

Just what I wanted. Although the install is cheesy where you can only specify a / and a /home partition and that's it. I just want to use slackware :-*(

Last edited by bassplayer69; 09-30-2011 at 08:50 PM.
 
Old 10-01-2011, 04:00 AM   #15
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
A rather simple solution to that would be to compare the lilo.conf Mint creates with the one Slackware does. My guess is this has either to do with the BIOS boot order or the "compact" flag in lilo.conf.
 
  


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
Ubuntu Install not finding IDE disk (/dev/hda) TheRealDeal Ubuntu 9 05-14-2009 09:06 AM
Ide Drive Not Seen By The Kernel With Sata Disk As Boot Disk xasanchez Linux - Newbie 3 12-27-2007 12:18 PM
Now I have a scsi hard disk, two IDE hard disk, i want install linux on scsi hard dis tecpenguin Linux - Server 4 11-10-2007 06:44 AM
Install Linux on SATA ide disk nixon_vb Linux - Hardware 3 07-01-2005 01:55 AM
use ide-scsi to emulate an ide disk as a scsi disk free_ok_man Linux - Software 1 07-01-2003 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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