Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: SSD + Encrypted LVM + TRIM

  1. #11
    Join Date
    May 2009
    Location
    Wales UK
    Beans
    333
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: SSD + Encrypted LVM + TRIM

    Quote Originally Posted by kurci2 View Post
    OK!
    I installed Kubuntu 12.04 encrypted lvm.
    Than i followed instructions on page http://worldsmostsecret.blogspot.com...encrypted.html and everything works great.
    around 4 sec boot time =)

    i have also fixed "no video mode activated" error: https://bugs.launchpad.net/ubuntu/+s...02/comments/24
    but now i have really ugly and not properly shown splah screen... After i press escape twice, it is as it should be...

    But in general, everything works cool.
    Does anyone know fix for ugly splash screen??
    What a result my TRIM works perfectly

    Thank you

  2. #12
    Join Date
    Mar 2011
    Location
    Arizona
    Beans
    98
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: SSD + Encrypted LVM + TRIM

    For those of you who want a hint at the secret sauce

    Everybody knows to add discard to /etc/fstab
    noatime, nodiratime, are optional discard is the TRIM bit..
    example
    /dev/mapper/volumegroup-root / ext4 discard,noatime,nodiratime,errors=remount-ro 0 1
    The exception for encrypted harddrives is an edit of /etc/crypttab
    you have to add discard to the crypttab too
    example

    sda5_crypt UUID=e364d03f-[...]6cd7e none luks,discard
    Lastly, rebuild initramfs
    sudo update-initramfs -c -k all
    Please note this is the short version and the referenced URL does give a more complete answer

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •