This is my disk layout:

500 GB Linux - BTRFS

100 GB Windows - NTFS

400 GB Storage - NTFS (shared between linux and windows)

I want to encrypt everything. For Linux I can use luks2 but what I’m supposed to do for Windows ? (No bitlocker please)

Will veracrypt replace refind boot manager?

Note: I am talking about the one that asks password before boot (full encryption)

  • kugmo@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 months ago

    For FDE including /boot you’ll need to use GRUB2, from what I remember it only supports luks1 in mainline, so you’ll need a grub fork that supports luks2. Arch wiki will have all of that information. For Windows encryption I have no idea if you can use Veracrypt on your C: partition, but using it on the shared data portion will work. I also remember reading that Veracrypt slows down the reading and writing of that partition a lot. Again arch wiki will have that info.

  • Maiq@lemy.lol
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 months ago

    I don’t know if there is or anything about disk encryption for windows.

    If grub is installed, grub should load instead of windows bootloader forcing you to decrypt before your boot selection. This will give the appearance that windows is encrypted by luks.

    • ArcaneSlime@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      3
      ·
      2 months ago

      But if secure boot is off (or is turned off because you didn’t set a pass), and someone boots any live distro*, the linux disk will still require a pass but the windows disk still won’t, right?

      I know when I boot into a live distro on a win10 pc I have without FDE, I can mount the hdd and bypass my windows passkey. What I don’t know is if dual booting linux off the same drive would behave the same where you could still then mount the windows partition. I figure separate drives would function the way I expect.

      *Any distro except Tails which blocks you from mounting the actual hdd for security reasons of course.

      • Maiq@lemy.lol
        link
        fedilink
        arrow-up
        3
        ·
        2 months ago

        My explanation above just gives the illusion of entire computer encryption.

        Say you have a separate hd for each OS. Each with bootloaders on their drives. To bypass grub running luksopen you can boot directly into windows in the bios, in this instance the windows bootloader will be used to load windows. However if your bios is set to boot your Linux HD and grub has successfully found your windows drive and created a boot entry for it, it should be selectable after luks decryption. This can give the illusion that windows is encrypted while not really being so to an advanced user. There is nothing preventing you from mounting windows as its not really encrypted, just the way grub loads Luks before OS selecton. If I remember correctly systemd-boot loads OS selection before luksopen giving no appearance of encryption till after your OS selection, you should be able to boot windows without the false sense of drive decryption.

        • gpstarmanOP
          link
          fedilink
          arrow-up
          2
          ·
          2 months ago

          So, it’s not possible on rEFInd too, right? Similiar to systemd-boot?

          I like rEFInd’s appearance but it seems that grub2 has lots of tech support also theming (still will prefer rEFInd for looks)