Install Linux on Serial ATA (SATA) drives

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.

Advertisement

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.

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

5 comments… add one
  • marco Nov 18, 2008 @ 17:18

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

  • marco Nov 18, 2008 @ 17:19

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

  • 🛡️ Vivek Gite (Author and Admin) nixCraft Nov 18, 2008 @ 17:36

    @marco,

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

  • abhishek pokharna Mar 26, 2009 @ 10:45

    can i install linux rad hat linux 4.3v in my portable leptop which contain
    sata harddisk if not then what should i do ?
    abhishek pokharna chittiogarh

  • afzal Sep 15, 2009 @ 14:54

    Please send to satadriver for linux red hat 5

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.