Last active
September 21, 2021 06:24
-
-
Save mahammad/6d2807db934733718e81 to your computer and use it in GitHub Desktop.
Ubuntu swap hatası
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ `sudo mkswap /dev/sda6` | |
Setting up swapspace version 1, size = 7998460 KiB | |
no label, UUID=18881d0f-d9ec-43be-a23f-0cbd78ea6d22 | |
$ `sudo nano /etc/crypttab` # Update crypttad with new UUID | |
$ `sudo /etc/init.d/cryptdisks` reload | |
* Stopping remaining crypto disks... | |
* cryptswap1 (stopped)... [ OK ] | |
* Starting remaining crypto disks... | |
* cryptswap1 (starting).. | |
* cryptswap1 (started)... [ OK ] | |
$ `sudo swapon -a` | |
$ `ls -l /dev/disk/by-uuid/` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment