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.

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.

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 5 comments so far... add one


CategoryList of Unix and Linux commands
Disk space analyzersdf duf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Modern utilitiesbat exa
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg glances gtop jobs killall kill pidof pstree pwdx time vtop
Searchingag grep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
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

  • 🐧 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.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum