Changes between Version 1 and Version 2 of Processing/ssdsetup


Ignore:
Timestamp:
Apr 3, 2012, 3:30:45 PM (12 years ago)
Author:
jaho
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Processing/ssdsetup

    v1 v2  
    2020{{{
    2121#!div style="font-size: 80%; text-align: center"
    22 Gparted - that's how your drive should look like after partitioning.
     22Gparted - partitioned SSD.
    2323}}}
    2424
     
    2727To move the swap space you first need to check where is it already mounted:
    2828{{{
    29 #!bash
    3029cat /etc/fstab | grep swap
    3130}}}
     
    3332The firt column will tell you the mount point which should be something like ///dev/mapper/vg0-lv1/. Now, assuming your newly created swap partition is on /dev/sdc1, run:
    3433{{
    35 #!bash
    3634swapoff -v /dev/mapper/vg0-lv1
    3735mkswap /dev/sdc1
     
    4543To make the permanent changes to the filesystem you have to edit /etc/fstab file. Comment out or delete the line with //swap// in it and the line starting with tmpfs. At the and of the file add the following two lines:
    4644{{
    47 #!bash
    4845/dev/sdb1    swap    swap    defaults    0 0
    4946/dev/sdb2    /tmp    ext4    defaults,discard,noatime,rw,nosuid,noexec    0 0
     
    6057To apply the changes and properly setup the /tmp folder run:
    6158{{{
    62 #!bash
    6359mount -a
    6460chown root:root /tmp