Quizas podrías probar encontrar cual es tu partición de swap con fdisk: $ sudo fdisk -l
Esto debería de devolverte una salida en la cual podrás encontrar una linea que te indica cual es tu partición de swap, junto con el resto de particiones de tu disco. Por Ej: /dev/sda5 307204096 315015167 3905536 82 Linux swap / Solaris Luego si la quieres montar por uuid como se hace en los fstab modernos podrás encontrar dicho uuid haciendo: $ sudo blkid /dev/sda5 Que te devolverá una salida como esta: /dev/sda5: UUID="73fb4b0d-2c29-4061-9dc7-d42a6a819f18" TYPE="swap" Espero que esto te ayude!!! Saludos, Lean.- Cacciagioni, Leandro David [email protected] System Administrator - Development Operations lcacciagioni.github.io - about.me/cacciald Cel: +549 341 3673294 El 15/09/14 a las 09:34, Daniel G. Samborski escibió: > Hola, he visto, al parecer, que no tengo activada la SWAP. > Buscando en internet he visto como se activa, pero tengo una duda ya que me > aparece algo que en la guía no he visto. > Al hacer cat /etc/fstab me sale lo siguiente: > # /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/sdb5 during installation > UUID=e84df9a1-c328-427d-8ff9-96cbffd0e3de / ext4 > errors=remount-ro 0 1 > # /boot was on /dev/sdb2 during installation > UUID=3615ff98-b51a-4985-8a2d-a60f47c70975 /boot ext4 defaults > 0 2 > # /home was on /dev/sda1 during installation > UUID=79be84fc-7ecc-43ef-bb83-923ab4d45756 /home ext4 defaults > 0 2 > # /var was on /dev/sdb6 during installation > UUID=010745f7-b1d8-477b-81a7-4b95a95b1955 /var ext4 defaults > 0 2 > # swap was on /dev/sdb1 during installation > #UUID=7f2edcf9-cfad-4c1f-af85-944a9d20ade9 none swap sw > 0 0 > */dev/mapper/cryptswap1 none swap sw 0 0* > > Al final me sale lo marcado en negrita. > Y en la guía que vi no aparece eso, solamente mostraba como activarla y > luego con swap on se activaba. > Mi duda es, elimino la almohadilla que hay delante de > #UUID=7f2edcf9-cfad-4c1f-af85-944a9d20ade9 none swap sw > 0 0 > Para activarla o debo hacer algo con > */dev/mapper/cryptswap1 none swap sw 0 0* > > Ya que si hago sudo blkid me sale esto: > /dev/sda1: LABEL="/home" UUID="79be84fc-7ecc-43ef-bb83-923ab4d45756" > TYPE="ext4" > /dev/sdb2: LABEL="/boot" UUID="3615ff98-b51a-4985-8a2d-a60f47c70975" > TYPE="ext4" > /dev/sdb5: LABEL="/root" UUID="e84df9a1-c328-427d-8ff9-96cbffd0e3de" > TYPE="ext4" > /dev/sdb6: LABEL="/var" UUID="010745f7-b1d8-477b-81a7-4b95a95b1955" > TYPE="ext4" > > Como se ve, la SWAP no aparece... > > Un saludo. > _______________________________________________ > Lugro mailing list > [email protected] > http://lugro.org.ar/mailman/listinfo/lugro _______________________________________________ Lugro mailing list [email protected] http://lugro.org.ar/mailman/listinfo/lugro
