this post was submitted on 29 Jul 2025
105 points (94.9% liked)

Linux

56926 readers
486 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] igemnace@lemmy.zip 16 points 4 days ago (2 children)
  • You don't need multiple EFI system partitions! That's why Mint and OpenSUSE don't show up in each other's boot menu (or at least that's the first step, depending on your bootloader). The intention with the ESP is you put all EFI executables for dual-booting (and triple- and beyond) in there.
  • Swap partition is fine anywhere. But as an aside, you can also just use a swapfile. Makes it easy to change the size dynamically. https://wiki.archlinux.org/title/Swap#Swap_file
  • /dev/nvme0n1p6 I'd wonder why that's needed. /boot on /dev/nvme0n1p10 too, that's not strictly necessary.

None are game-breaking! You can just note these down for next time you have the itch to tinker.

[–] Tenderizer78@lemmy.ml 1 points 22 hours ago* (last edited 22 hours ago)

Sorry for the late reply, I didn't have time this week to look into what a swapfile was and I delayed my response until I did. I will definitely be using a swap file since I do not ever use hibernation and encrypting my swap partition seems like a hassle.

I'm currently reinstalling things (after accidentally bricking the Windows partition and finding myself dissatisfied with openSUSE). Hopefully with just 4 partitions total (EFI, Kubuntu encrypted, Mint Xfce encrypted, data). I am removing the /boot from each because unless I'm leaving /boot unencrypted there's no reason to separate it out. Unfortunately encrypting /boot means GRUB doesn't detect it automatically in the Kubuntu installer so I'm still working out how to correct that.

[–] BCsven@lemmy.ca 1 points 3 days ago

You do want windows EFI separate as it occasionally likes to turf the Linux efi entries. With opensuse it will probe foreign OS and add chainloader entries to point to the other EFI bootloaders. You set the OpenSUSE to load first and choose mint or windows from the grub menu