I just got a new laptop and installed Linux on it. I mainly run OpenSUSE.

Getting full encryption on both was a bit of a challenge and I had no idea what I’m doing. Will having the swap partition in the middle break things? Did I really need so many partitions (Mint and OpenSUSE don’t show up in eachother’s boot menu)?

I’m probably not gonna change this layout (because reinstallation seems like a pain) unless the swap partition’s position is a problem. I’m just curious how many mistakes I made.

EDIT: I’m not upgrading my drive capacity. I do not need it.

  • phanto@lemmy.ca
    link
    fedilink
    arrow-up
    38
    ·
    2 months ago

    Never more in my life have I wanted to send a stranger a larger hard drive.

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    21
    ·
    edit-2
    2 months ago

    I think the partitioning itself is fine, but I wouldn’t have 3 operating systems on a 256 GB NVMe, because I’d be running out of space a lot.

    if you won’t ever use Windows, you can nuke it. Then I’d consider making one of the Linux ones a VM - if you’re trying out that distro. That will cut down 12 partitions to 5.

    Lastly, you can look into btrfs to make better use of space between (the current) p11 and p12: you can make them subvolumes that won’t eat up each other’s storage when not in use.

    • Tenderizer78@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      2 months ago

      I’m only have about 20GB of files so I think I’ll be fine on space.

      I’m keeping Windows 11 around in case I need it for … IDK taxes (though I don’t have secureboot enabled because [points to image above]). A VM won’t work for the Mint one, I need it separate for reasons I won’t go into.

      Btrfs was installed in default but I only know how to do full-disk encryption on ext4. Apparently btrfs doesn’t have built-in support for it. I really liked how it was neatly organized into subvolumes but alas.

        • Tenderizer78@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          I’m an accounting graduate, so yes. Most things should be in a browser really, since generally a webpage can’t give you malware.

  • Tenkard@lemmy.ml
    link
    fedilink
    arrow-up
    18
    arrow-down
    1
    ·
    2 months ago

    I would create another couple of efi partitions, just to confuse attackers more

    • Tenderizer78@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      2 months ago

      I am afraid that in the future something I need will require Windows 11. Whether that be interacting with the government or maybe if I go back to university.

      • dallen@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        2 months ago

        Can’t speak to your exact machine but nowadays the license tends to be tied to the hardware.

        If you are capable of manual partitioning then you should be able to reinstall Windows quickly if needed.

      • Otter@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 months ago

        It should be possible to grab the license key before you wipe it. You could also copy it into an external drive and store it away as is

        • Tenderizer78@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          2 months ago

          I’m not sure the refurbisher I got my laptop from even gave Windows a license key. It kept bugging me to create an account to fully activate it or something, I should boot into it to check but the thought of opening up Windows 11 just gives me the creeps.

          EDIT: They did give me a license. It was just Windows being Windows.

        • Tenderizer78@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          Depends whether they’ll start using TPM in combination with kernel-level anti-cheat to ensure you don’t use AI in an exam or something. I don’t know what the future holds and barely understand what a TPM does.

          • utopiah@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            2 months ago

            At some point if they have ridiculous restrictions one might consider … doing the test in person, in a room provided by the actual school or that THEY provide the hardware.

            Anyway IMHO the bigger point is that a lot of my own inaction (I won’t speak for others) came from fear of problems that rarely, if ever, materialized. I would recommend to move on and if the problem does actually arise then consider solutions at that point.

            I uninstalled Windows on my SSD years ago (despite paying for it, forced by OEM deals), didn’t regret it once. In fact, I wear it as a “badge of honor” with pride. When someone tells me I “have” to use Windows for whatever reason, I tell them I can’t and that usually leads to interesting conversations.

            • Tenderizer78@lemmy.mlOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 months ago

              Yeah I’ll probably try to work out how to back it up. Don’t want to have to give Microsoft money though so I’ll clone it and store it on a USB.

              • utopiah@lemmy.ml
                link
                fedilink
                arrow-up
                1
                ·
                2 months ago

                I imagine legally speaking, if you care for that, the license key is enough but depends on your jurisdiction, if you care for this kind of things. That said as the pace OS deprecates doubt it’d be useful.

        • Tenderizer78@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          Looks like it’s included in Ubuntu too, so I think I’ll use that (I’m changing to Kubuntu after yet again needing to find missing packages).

  • verdigris@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    2 months ago

    Is there any reason? You’re effectively wasting half the drive by using that space for OSes you almost never use.

    If you ever happen to need Windows, which I don’t see happening as you yourself can’t imagine an actual use case, you can just go to the library or borrow a friend’s computer or maybe use your phone.

    As for Mint, do you just have it to experiment with? If you’re just trying to try out other distros, a virtual machine or even live USBs are much easier ways to quickly try out new systems without having to clear actual partitions.

    If you had much more storage then sure, waste some of it, but you’re really gonna be missing that 120gb if you use your computer for… basically anything.

    The order of the partitions basically doesn’t matter at this point – I think having a boot partition first used to be important for MBR schemes but I’m pretty sure in the UEFI era you can have them in whatever order. As others have mentioned, you could combine your EFI partitions, but doing so to an already installed system is slightly complex. You also could shrink some of your EFI and boot partitions, I’m not sure of the recommended sizes off the top of my head but I think they could be smaller. On the other hand, your swap partition should probably be bigger – making it the same size as your RAM is a good rule of thumb and will enable hibernation (I think).

    • Tenderizer78@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Yep, gonna clone and delete Windows 11.

      Library might work.

      I’m using Mint for sensitive matters, I want to keep it separate from my daily driver.

      I’ll basically just be using this laptop for web-browsing.

      I don’t really use hibernation. I’ll need to enable swap encryption though.

      • verdigris@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        If you don’t plan to expand the swap partition, I would recommend just deleting the swap partition – you could either make it a new ext4 and use LVM to combine it with the shared storage, or if you’re going to combine your EFI partitions you could grow your Mint partition to include both the SUSE EFI and the swap partition – and using a swap file instead, as another commenter mentioned. You honestly really don’t need swap space regardless with 16gb of RAM if you’re really just using this to run a web browser, but you can easily set up a swap file if you want one.

        • Tenderizer78@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          Some of the responses I got were about how the swap partition is useless, and someone else replied to them that they were wrong. I haven’t responded to these people because I don’t yet understand who’s right. I’ll use a swap file or just no swap altogether once I check for myself if the anti-swap people are nutters. I assume temporary files aren’t saved to swap but instead to temp so I can’t imagine what it’s used for on an SSD.

          I found yet another thing I’d need to manually install with OpenSUSE Leap (and at that point I may aswell use Arch with all it’s documentation glory). I didn’t have any of these issues with Ubuntu-based distros so I’m doing a fresh install with Kubuntu.

          I’m gonna LVM it with two distros and a shared data partition.

  • just_another_person@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    2 months ago

    If it works, it works. Unless you’re working in Espionage, anything is honestly fine as long as your main storage is encrypted. The boot loader exploits still can’t unencrypt things, just allow access to the data, which…still can’t be decrypted as as we know.

    It’s fine.