Tag Archives: ssd

ext2 -> ext4 on SSD

umount /ssd # (if you have root «/» partition on ssd you should use livecd).
tune2fs -O extents,uninit_bg,dir_index,has_journal /dev/sdXN
# where /dev/sdXN is partition on the ssd
e2fsck -pf /dev/sda1 # you have to make check disk after converting fs
edit /etc/fstab
# discard options instead of default for enabling TRIM !
/dev/sdXN /ssd ext4 discard 1 2

mount -a