Announcement

Collapse
No announcement yet.

[RESOLVED] I think I set up my encrypted swap file incorrectly

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [RESOLVED] I think I set up my encrypted swap file incorrectly

    In crypttab I have:

    cryptswap2 /dev/sdb6 /dev/urandom swap,cipher=aes-cbc-essiv:sha256

    In fstab I have:

    /dev/mapper/cryptswap2 none swap sw 0 0

    When I boot into Kubuntu gparted shows sdb6 as an unknown type of partition, so it must not mount at boot. What did I do wrong?

    #2
    Re: I think I set up my encrypted swap file incorrectly

    I think that should be right ..........what dose the free command show in a terminal .

    if it's showing something for swap you should be good .........gparted I believe will say unknown type of partition (it's encrypted)

    VINNY

    PS:making my assumptions from this thread http://kubuntuforums.net/forums/inde...opic=3120032.0
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Re: I think I set up my encrypted swap file incorrectly

      After trying what you suggested I think you're right. The command 'free' gives:

      Swap: 1739772 0 1739772

      And when I try blkid, I get an entry for swap. Thinks for your input. I must admit though I had a hard time following the discussion in the link you provided but I think the point was that the way I have the entries setup appears to be correct.


      Comment


        #4
        Re: [RESOLVED] I think I set up my encrypted swap file incorrectly

        yes you should be good

        VINNY
        i7 4core HT 8MB L3 2.9GHz
        16GB RAM
        Nvidia GTX 860M 4GB RAM 1152 cuda cores

        Comment

        Working...
        X