ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved Cannot boot to LUKS encrypted drive on Ubuntu - freezes after unlocking drive

    IT Discussion
    selinux ubuntu freezes on boot luks recovery mode
    4
    5
    680
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • IRJI
      IRJ
      last edited by IRJ

      I had a fun morning so far 🙂

      I got to boot up to my encrypted drive, unlock the drive and Ubuntu freezes afterwards. So after doing some duckduckgo fu, it appears that this is problem related to Nvidia drivers that people are having across different systems with Nvidia cards. Well my machine doesnt have Nvidia, but I try the fix anyway to boot up without video drivers. No fix 😞

      So I boot up in recovery mode and try to update Ubuntu to see if there are any issues then a lightbulb goes off in my brain. I installed selinux yesterday and had no rebooted since.

      So I run

      sudo apt remove selinux
      
      

      The package is removed and I quickly reboot my pc thinking I figured it out. Still no joy!

      So I start removing everything I did yesterday and still no luck! I reboot in desperation and try removing selinux again

      sudo apt remove selinux 
      
      

      Ubuntu then tells me its already removed, but I can also remove all these other related packages by running:

      sudo apt autoremove
      
      

      I reboot and success!!!

      I didn't see my exact problem anyway on the interwebs so I wanted to post my resolution here in case anyone runs into this issue.

      travisdh1T 1 Reply Last reply Reply Quote 1
      • travisdh1T
        travisdh1 @IRJ
        last edited by

        @IRJ With selinux, you can always test by using sudo setenforce 0 as well, without needing to reboot.

        1 Reply Last reply Reply Quote 1
        • black3dynamiteB
          black3dynamite
          last edited by

          @travisdh1 Is it possible that AppArmor installed by default on all ubuntu installation? Having AppArmor and SELinux both active can cause problems.

          scottalanmillerS IRJI 2 Replies Last reply Reply Quote 2
          • scottalanmillerS
            scottalanmiller @black3dynamite
            last edited by

            @black3dynamite said in Cannot boot to LUKS encrypted drive on Ubuntu - freezes after unlocking drive:

            Is it possible that AppArmor installed by default on all ubuntu installation?

            I thought so.

            1 Reply Last reply Reply Quote 0
            • IRJI
              IRJ @black3dynamite
              last edited by

              @black3dynamite said in Cannot boot to LUKS encrypted drive on Ubuntu - freezes after unlocking drive:

              @travisdh1 Is it possible that AppArmor installed by default on all ubuntu installation? Having AppArmor and SELinux both active can cause problems.

              I'd love to hear a bit more about apparmor. I am not familiar with it at all. This should be a new thread.

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post