LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-09-2006, 06:26 AM   #1
varaahan
Member
 
Registered: Jul 2005
Location: chennai, india
Distribution: Puppy, Arch Linux,Absolute Linux
Posts: 83

Rep: Reputation: 15
SATA drive not detected


I tried to install Slackware 10.2 on my SATA drive (160 GB - Seagate) used as separate drive apart from primary ide drive of 40 GB.
the installer does not recognise SATA drive at all.
Please advice.
 
Old 12-09-2006, 06:34 AM   #2
WZX
Member
 
Registered: Oct 2003
Distribution: Zenwalk
Posts: 35

Rep: Reputation: 15
Have you tried compiling a new kernel?
 
Old 12-09-2006, 08:21 AM   #3
varaahan
Member
 
Registered: Jul 2005
Location: chennai, india
Distribution: Puppy, Arch Linux,Absolute Linux
Posts: 83

Original Poster
Rep: Reputation: 15
No. Just I want to install Slackware (or any other distro) on my SATA drive.
 
Old 12-09-2006, 08:24 AM   #4
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062
It's a little complicated, but there is a way.
  • Shut down the computer, unplug the ribbon cable from your IDE drive, if your CD-ROM drive is jumpered as a slave, move the jumper to master. You do this so the installation won't "see" the IDE and you get a clean install on your SATA drive.
  • Turn the system back on, put disk one in the CD-ROM drive and let it boot.
Here you have to make a choice -- you can boot sata.i (a 2.4.x kernel) or you can boot test26.s (a 2.6.x kernel).

The sata.i kernel in 10.2, in my experience, performs poorly -- disk I/O is extraordinarily slow -- and the test26.s kernel performs as you would expect; I'd pick test26.s, YMMV. Too, if you install one and don't like it, just install the other and see what happens -- it only takes a little time to do this and you get a chance to compare without having to fool around too much.
  • Pick one and boot.
  • Use fdisk or cfdisk and set up your partitions (remember that your SATA drive is /dev/sda).
  • Type "setup" and install the distribution.
  • When you get to the questions about which kernel, but sure to pick the one you chose (sata.i or test26.s) and let all that complete.
  • Let it write lilo to the MBR.
  • Reboot and you should be running on your SATA.
From here, what I do, if I've used test26.s, is mount disk 2 and
Code:
mount /dev/cdrom
cd /mnt/cdrom/linux-2.6.13
upgradepkg *.tgz
That replaces all the 2.4.x packages (it will not install the kernel-generic-2.6.13-i486-1.tgz package though -- that package doesn't exist on your system -- and you don't want it installed). The upgradepkg utility will report that "kernel-generic" doesn't exist, ignore it. If you chose 2.6.x, you will also need to get into /etc/rc.d and
Code:
rm rc.modules
ln -s rc.modules-2.6.13 rc.modules
Eject the CD-ROM, reboot, and you should be good to go.

If you're planning on compiling the kernel, mount disk one and
  • cd /usr/src/linux
  • cp .config .config.old
  • cp /mnt/cdrom/kernels/test26.s/config .config
(or sata.i/config as appropriate)

That gives you a configuration file that reflects your installed kernel.

Don't forget to shut down the system, move the jumper back to slave on your CD-ROM drive (if you changed it) and reconnect the ribbon cable to your IDE drive.

Now you can chose where to boot from setup when the system starts or you can fool around with lilo or grub or whatever you're using -- there are other discussions about dual-booting a SATA and IDE drive by editing lilo.conf, take a look at them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SATA drive not detected Progmaker SUSE / openSUSE 5 07-15-2011 02:16 PM
SATA drive not detected varaahan Linux - Hardware 3 12-09-2006 08:56 AM
Laptop SATA CD drive not detected with 2.6.16 23meg Linux - Kernel 3 06-15-2006 06:06 PM
sata drive detected, but not mountable edgjerp Linux - Hardware 3 05-23-2006 01:22 AM
SATA CD Drive not detected BlueOrb Linux - Hardware 0 03-14-2006 09:28 PM

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

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration