Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 567  / 2 Years ago, thu, april 21, 2022, 5:52:42

I will be installing Ubuntu 12.10 on a SSD as a dual boot with Windows 7. I also have a HDD that will be used as a data drive.



I was thinking of having:




  • / on SSD

  • /home on HDD

  • swap on HDD



Is there any other folders that I could move to it own partition? How much space would I need for the different partitions?



Is there any other tips anyone can give for prolonging the life of the SSD?



Thanks
Sam


More From » 12.10

 Answers
1

To prolong SSD life



Enable TRIM



Back up fstab first in case something wrong happen.



# cp /etc/fstab ~/fstab.bk


Edit fstab file



# nano /etc/fstab


Disable hibernation



# nano /usr/share/polkit-1/actions/org.freedesktop.upower.policy


Look for



<allow_active>yes</allow_active>


Change from “yes” to “no”, there are two, one for hibernation, and another one for suspend. If you have to disable them both, make sure to replace them both from yes to no.



<allow_active>no</allow_active>


Tmpfs



Edit fstab file



# nano /etc/fstab


Add the line to the end of fstab file



tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0


If logs aren’t important for you (laptop or desktop), you can also mount /var/log to tmpfs. Add the line to the end of fstab file



tmpfs /var/log tmpfs defaults,noatime,mode=0755 0 0

[#31711] Saturday, April 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
scrubuz

Total Points: 194
Total Questions: 96
Total Answers: 127

Location: Monaco
Member since Fri, Sep 24, 2021
3 Years ago
;