Posted in Linux 10 years ago 2 min read
gparted linux[/caption]
Klik kanan swap, pilih information, dan perhatikan UUID dari swap tersebut.
[caption id="attachment_5766" align="aligncenter" width="430"]
Cek UUID swap[/caption]
Periksa File /etc/fstab/
Buka file /etc/fstab dengan perintah sudo nano /etc/fstab, perhatikan baris yang berisi tentang swap, cek apakah UUID nya sama atau tidak.
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda6 during installation UUID=970de05c-bbc2-42a2-9267-b4f8f5919383 / ext4 errors=remount-ro 0 1 # swap was on /dev/sda7 during installation UUID=54d87ba2-4f68-4f6b-b1d6-fa9bae8ed9a4 none swap sw 0 0Kalau UUID di fstab tersebut berbeda, maka kita harus mengubahnya sesuai dengan UUID yang ada di GParted tadi. Setelah itu save dan Restart. Silakan cek apakah swap masih off atau sudah otomatis on. Kalau sudah otomatis on, berarti selamat untuk Anda! Sekian tutorial singkat ini, semoga bermanfaat.