Hello,

Suppose you have a PC with 2 separate SSDs. One is an install of Windows 11. The other is an install of a Linux distro, encrypted at time of installation (for example, with LUKS). Obviously you would only boot into one or the other at a time.

So a dual-boot, but each boot portion is on its own SSD (not sure if this matters, but its a relevant scenario).

Can the Windows 11 portion somehow get through the Linux encryption and access / read data on the Linux portion?

Sorry if this is a stupid or obvious question.

      • @[email protected]
        link
        fedilink
        5
        edit-2
        4 months ago

        Not even if Windows and Linux were on different partitions on the same disk would Windows be able to access the files on the Linux partition without the key.

        Just pointing out that s separate disks doesn’t change anything. The data, in its encrypted form, will be inaccessible without the decryption key.

        • @mayraOP
          link
          14 months ago

          Thank you! Good to know.

  • GloriousGouda
    link
    fedilink
    84 months ago

    Sure you can. Here’s one way that looks similar how I do it using wsl. This assumes you’re on an EXT4 file system.

    https://superuser.com/questions/584883/how-can-i-access-volumes-encrypted-with-luks-dm-crypt-from-windows#936284

    There’s quite a few options for this but this should at least get you closer to your goal.

    I use btrfs on my Linux installs now and there’s a windows driver that is phenomenal for that here.

    https://github.com/maharmstone/btrfs

    Good luck!

    • @mayraOP
      link
      54 months ago

      Thanks for the detailed reply. Just to clarify, I’m asking if the Windows 11 system itself, without my intervention, can access the encrypted Linux portio on its own. Something like a system scan.

      • @[email protected]
        link
        fedilink
        74 months ago

        No, that’s the whole point of using encryption. If the windows boatloader had a means of scanning the content of an encrypted file system, it would have already been exploited to circumvent encryption.

        • @mayraOP
          link
          24 months ago

          Thanks! That makes sense.

  • @[email protected]
    link
    fedilink
    44 months ago

    that would be pretty bad if it could. but no, there are no known ways to break luks encryption afaik.

    never have a Windows partition on the same machine as an unencrypted ext4 partition/drive!! or any other unencrypted drive for that matter. Windows is fully capable of accessing them and sending data about your personal files back to Microdick HQ

  • Lemongrab
    link
    fedilink
    44 months ago

    It can access the encrypted data and any unencrypted startup software that hands things off to the OS after decryption.