Changes between Version 1 and Version 2 of Processing/ssdsetup
- Timestamp:
- Apr 3, 2012, 3:30:45 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Processing/ssdsetup
v1 v2 20 20 {{{ 21 21 #!div style="font-size: 80%; text-align: center" 22 Gparted - that's how your drive should look like after partitioning.22 Gparted - partitioned SSD. 23 23 }}} 24 24 … … 27 27 To move the swap space you first need to check where is it already mounted: 28 28 {{{ 29 #!bash30 29 cat /etc/fstab | grep swap 31 30 }}} … … 33 32 The 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: 34 33 {{ 35 #!bash36 34 swapoff -v /dev/mapper/vg0-lv1 37 35 mkswap /dev/sdc1 … … 45 43 To 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: 46 44 {{ 47 #!bash48 45 /dev/sdb1 swap swap defaults 0 0 49 46 /dev/sdb2 /tmp ext4 defaults,discard,noatime,rw,nosuid,noexec 0 0 … … 60 57 To apply the changes and properly setup the /tmp folder run: 61 58 {{{ 62 #!bash63 59 mount -a 64 60 chown root:root /tmp