Install Linux on Serial ATA (SATA) drives

by Vivek Gite [Last updated: November 18, 2008]

Q. How do I install Linux on SATA drives?

A. SATA is a computer bus technology for data transfer from hard disk. Linux does support serial ATA. All you have to do is install drive and boot from Linux installation CD or from existing hard drive. The complete list of supported driver (status report) is here.

Next logical step - create partition and format hard disk using Linux command line utilities.

While installing Linux if you don't see SATA hard drive then go to your BIOS setup. Change the SATA configuration in the BIOS (i.e. legacy ATA mode) so drives are seen as individually, not in RAID setup. In my personal experience, this solves problem 95% times.

You can boot and install Linux and you can setup LVM (and/or Software RAID) for your data partitions.

Other workaround options

  1. Rebuild your installer using kernel 2.4.27 or later, which includes libata, desirable since it adds many new chipsets and gives a (potential, subject to physical read limits, etc.) ~10M/s speed boost to some others compared to the quite slow 2.4.x drivers/ide set.
  2. Temporarily add a regular PATA drive to your system. Install Linux onto that. Fetch or build a kernel with support for your chipset. Migrate your system to the SATA drives.
Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 3 comments… read them below or add one }

1 marco 11.18.08 at 5:18 pm

You made a little typo:
While installing Linux if you don’t see _STAT_ hard drive

2 marco 11.18.08 at 5:19 pm

Typo:
While installing Linux if you don’t see _STAT_ hard drive

3 vivek 11.18.08 at 5:36 pm

@marco,

Thanks for the heads up. The faq has been updated.

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Tagged as: , , , , , , , , , , , , , , ,

Previous post: How to Scan new LUNs on Linux with QLogic driver

Next post: Turn off: disable selinux (Security-Enhanced Linux)