SSD

Problem: I bought a SSD
Solution: Read the corresponding section at the Arch linux wiki. So, I did:

  • change in BIOS the controller driving the SSD to AHCI mode
  • use gdisk to partition the disk (GPT)
  • use EXT4 for filesystem
  • do normal installation

After install edit /etc/fstab, adding the noatime and discard options to the EXT4 partitions: WARNING — read below!

/dev/sda4        swap             swap        defaults         0   0
/dev/sda2        /                ext4        defaults,noatime,discard         1   1
/dev/sda1        /boot            ext4        defaults,noatime,discard         1   2
/dev/sda3        /home            ext4        defaults,noatime,discard         1   2
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro,comment=x-gvfs-show 0   0
#/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0

EDIT (16 Jan 2016): Setting the noatime and especially the discard option may cause problems! Read this newer post!

1 Comment

Filed under system

One response to “SSD

  1. Pingback: SSD trouble | slackalaxy

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s