General discussion

Locked

Linux and SATA Hard Drives

By abdrcjames ·
I am trying to install Debian but it keeps freezing up. I have no IDE hard drives, just a 120GB SATA and a 160GB USB. Have P4 3.0GHz and 1GB dual-channel RAM, ATI AIW9600. Is there any distro I can use that will recognize my SATA hard drive. Would really like to leave Windows behind.

This conversation is currently closed to new comments.

8 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by willcomp In reply to Linux and SATA Hard Drive ...

Without RAID controller specifics, only general info can be provided. Here's a good place to start:

http://linux.yyz.us/sata/

Dalton

Collapse -

by abdrcjames In reply to

Poster rated this answer.

Collapse -

by rbgnr111 In reply to Linux and SATA Hard Drive ...

I have a dell server that has sata drives in it. I'm running suse linux and have no problems.
it should be as easy as boot from the cd and install.

Collapse -

by Jaqui In reply to Linux and SATA Hard Drive ...

Novell's SUSE,
probably the best bet.
most distros will support sata.
debian uses scsi for core module in the system, so it wouldn't be the sata, might be the usb drive.

most distro's do not enable usb until after install.
that could be the issue causing the breakdown with debian.

Collapse -

by craigmjackson In reply to Linux and SATA Hard Drive ...

Regardless of what distibution you are using, the best way to be sure you have the correct drivers is to rebuild the kernel. I know that sounds advanced, but it is absolutely an essential part of getting hardware working properly. Typically the kernel directory is located in /usr/src. It will look like

/usr/src/linux-2.6.30

for example.
CD into this directory and run the following commands to rebuild the kernel (dont type comments):

make mrproper ## Cleans up from last rebuild

make menuconfig ## Runs kernel configuration.
## at this point you will be
## taken to a menu of choices.
## Decide which options are are
## appropriate for your setup.
## Only choose options that you
## think you are actually going
## to need. For now, select
## each option with a "*" and
## not an "M".

make dep ## Builds the "build support"
## Unnecessary on 2.6 kernels

make bzImage ## Builds the actual kernel

make modules ## Builds the modules selected
## in "make menuconfig" with
## an "M". Even if you didn't
## use any M's still run this.

make modules_install ## Installs the modules

cp arch/i386/boot/bzImage /boot ## Installs the
## kernel

cp System.map /boot ## Installs the
## system map

cp .config /boot/config-bzImage ## Backs up the
## configuration
## you spent so
## much time on

Collapse -

by craigmjackson In reply to

-continued-
Now configure GRUB

Edit the file /boot/grub/menu.lst

Add this new set of lines at the end of the file for the new menu entry:

title My Kernel Name ## The name of the boot
## menu entry

root (hd0,0) ## Make this the same as
## the previous entry

kernel /boot/bzImage root=/dev/hda1 ## make the
## "root="
## option be
## the same as
## the
## previous
## entry

Now you can reboot your machine, with a new option on your boot menu. Try it, and if for some reason it doesn't start your computer properly, you can always fall back to your original kernel by rebooting to the original option. This could take several times to get working, and many times to get working well. But when you do get the concept you will be much more comfortable with your skills. Good luck!

Collapse -

by marathoner In reply to Linux and SATA Hard Drive ...

I had a **** of a time with SATA's and Linux but that was way more than a year ago. Depend on what Debian, but Debian tends to be a little on the slow side. The drivers for IDE on older kernels is statically compiled in allows you to boot off them. once you boot off the IDE, then it dynamically loads other drivers modules. My prob was the SATA drivers were not statically compile into the kernel, without that you cant boot off SATA in the first place. The 2.6.+ kernels fixed this.. So either get a more recent prebuilt or build it yourself like the previous poster recommended.

Collapse -

linux dd

by thangarasugk In reply to

type "linux dd' and enter the mode before OS install(either text or Grap.mode), after locate your sata driver file and enter...after that plz go ahead as per the instruction...

Back to Linux Forum
8 total posts (Page 1 of 1)  

Operating Systems Forums