First of all, notice that a swap partition is not "mounted" (as a consequence, it is not listed by the 'mount' command). It is only "enabled" (thanks to the swapon command launched during the 'init' after reading /etc/fstab).

Anyway, if you do not want to bother with UUIDs, you can simply use the path to the partition. The line in /etc/fstab would then be something like that (just replace the partition number if required):
/dev/sda6 none swap sw 0 0

Reply via email to