105
submitted 3 months ago* (last edited 2 months ago) by Tenderizer78@lemmy.ml to c/linux@lemmy.ml

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.

top 50 comments
sorted by: hot top controversial new old
[-] phanto@lemmy.ca 85 points 3 months ago

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

[-] Tenderizer78@lemmy.ml 7 points 3 months ago

The laptop it's replacing also bad just 256gb of storage.

[-] eager_eagle@lemmy.world 55 points 3 months ago* (last edited 3 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.ml 4 points 3 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.

[-] smegger@aussie.zone 8 points 3 months ago

Get a bigger drive. Swapping them out on modern laptops is often quite easy. Grab a copy of the manual or search for videos if you want to know more. Replacement 1tb nvme drives can be quite cheap these days, 2tb ones aren't especially price prohibitive either.

[-] Tenderizer78@lemmy.ml 3 points 3 months ago

Why would I get a larger drive when I have zero need for more space? That'd be like buying a huge American-style car because other cars make me feel insecure.

[-] data1701d@startrek.website 2 points 2 months ago* (last edited 2 months ago)

This is less like buying a bigger car and more like upgrading the stereo in the car - 256GB in 2025 is somewhat akin to having only AM radio, and I've found it gets annoying real fast when doing anything serious.

I would hesitate to put anything smaller than 1 TB in something that's supposed to be a daily driver.

load more comments (2 replies)
[-] rirus@feddit.org 2 points 3 months ago

This is the way, there were instances where M$ updates removed the Linux Boot options. So its better to keep them separated. Also a Malware on one system could infect the others.

[-] Tenkard@lemmy.ml 37 points 3 months ago

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

[-] gagootron@feddit.org 17 points 3 months ago

I recommend that you take a look at LVM. It can help you manage your partitions without much planning beforehand.

[-] Tenderizer78@lemmy.ml 2 points 3 months ago

I'm averse to installing things that don't come with my distro. More software means more risk of a malicious update (which is the greatest security threat I face). Also seems a bit hacky so I'd be worried it'd cause instability. Plus I'm just not that technical.

[-] gagootron@feddit.org 15 points 3 months ago

Well, good news then: lvm comes with most modern linux distros. In fact, it is an option you can enable when installing linux mint.

I use it on every system that I run (workstations and servers) and never had any issues.

It really just makes partition management way easyer: With normal partitions you cannot grow any partition without moving all other partitions after it. LVM can do it without touching anything else.

The best case for semthing like this is when you buy bigger ssd. You can copy the data with dd and then grow any and partitions that you want without hassle.

[-] igemnace@lemmy.zip 15 points 3 months ago
  • 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.

load more comments (1 replies)
[-] krolden@lemmy.ml 14 points 3 months ago

Why don't you delete windows

[-] Tenderizer78@lemmy.ml 7 points 3 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 9 points 3 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.

[-] Tenderizer78@lemmy.ml 3 points 3 months ago

I got this laptop

I guess I could reinstall Windows, I really hate the idea of running the Windows 11 installer though.

Tbh I will usually simply swap out the OEM drive for a bigger and faster (and typically cheaper than the OEM upgrade option, per size) one the second I unbox it (optionally, go through the setup process before taking it out, so it’s ready to go next time you want to plug it in). This lets you not waste space on that “rainy day” contingency (which I’ve almost never actually needed). The one exception (and I keep a dedicated laptop around for this) is automotive diagnostic suites with proprietary USB hardware - I’ve got an old thinkpad still running windows 7. XP would honestly be better, because a lot of that shit doesn’t like “new” versions of windows.

[-] Tenderizer78@lemmy.ml 2 points 3 months ago

I do not need more space. I need 25GB per Linux system and 64GB for Windows (which I'm going to backup anyway), plus 20GB of data.

I may keep Windows 10 on my Desktop too. It's nowhere near as scary as Windows 11.

load more comments (1 replies)
load more comments (1 replies)
[-] utopiah@lemmy.ml 6 points 3 months ago
[-] Tenderizer78@lemmy.ml 2 points 3 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 4 points 3 months ago* (last edited 3 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.

load more comments (3 replies)
[-] krolden@lemmy.ml 2 points 3 months ago

Can emulate TPM

also kernel level anti cheat is for video games

[-] asudox@lemmy.asudox.dev 2 points 3 months ago

Why would they require TPM??? Or kernel level anti cheat? This isn't a game.

load more comments (1 replies)
load more comments (1 replies)
[-] otter@lemmy.ca 4 points 3 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.ml 2 points 3 months ago* (last edited 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.

load more comments (2 replies)
[-] data1701d@startrek.website 13 points 2 months ago

Scared

On a more serious note, as others have said, you'll probably burn through these weird storage limitations quickly.

Also, what do you mean by "sensitive matters" on Mint? Because almost any way you spin it, I feel like it's not a great idea:

  • If you're talking professional, confidential work with clients, keeping it on the same device where you do anything personal sounds like a terrible idea, and it's probably worth it to shell out for a dedicated device just for this.
  • If it's more personal things like government documents, medical records, and other things I'll neglect to name here, running a separate operating system just for those just feels like unnecessary paranoia and will cause you unnecessary trouble. If you're careful, it shouldn't be a problem - the major browsers prevent file access through protections against cross-site scripting.

Also, as I said in another comment here, please upgrade that drive before you put a lot of data on it. If you don't and you run out of storage later (a near-certainty on 256GB), you'll have to go through the effort of getting everything copied, which may include equipment purchases and several hours of your time when you could jut do it right now while your important files are still small enough to fit on a flash drive right now. Save yourself the future trouble.

Anyhow, I wish you happy Linux usage.

[-] stewarpt@sh.itjust.works 11 points 3 months ago

Why keep the windows partition if you don't use it?

[-] Tenderizer78@lemmy.ml 3 points 3 months ago

In case I need it in some scenario which I can't even conceive of.

[-] CrackedLinuxISO@lemmy.dbzer0.com 4 points 2 months ago

The pain of keeping it around will outweigh the pain of needing it and not having it.

Quick boot into windows to help a friend test something on your machine?

  • Twenty-five bajillion updates since you never logged in
  • Windows "helpfully" cleaning up your Linux bootloader
  • Any shared NTFS partition between windows and Linux is almost guaranteed to be left in a "dirty" state when windows shuts down, meaning you have to run ntfsfix before Linux will mount it again

And suddenly, that's where you'll be spending the whole afternoon. I agree with the others who say a VM is probably good enough.

load more comments (1 replies)
[-] AndrewZabar@lemmy.world 2 points 2 months ago* (last edited 2 months ago)

Virtual Machine.

My laptop came with Windows 11, I nuked it and installed Linux before even booting lol.

load more comments (3 replies)
load more comments (4 replies)
[-] fushuan@piefed.blahaj.zone 10 points 3 months ago* (last edited 3 months ago)

You just got a new laptop and it has 250 GB of disk space?? Are you mad???

My Pendrive has 256 GB!

[-] Tenderizer78@lemmy.ml 10 points 3 months ago* (last edited 3 months ago)

I was looking for: Cheap, used, 1920p display, AMD CPU, 16gb RAM, presence of SSD, Linux bluetooth drivers, at least 2 USB ports, and a non-American brand. Storage capacity is something I'd only really care about on my gaming computer (or if I was still engaging in piracy).

[-] SitD@lemy.lol 8 points 3 months ago

nuke it 😎

[-] gonzo-rand19@moist.catsweat.com 7 points 3 months ago

I really don't think 60 GB will be enough for daily use unless you have your home folder on a separate drive, which it doesn't seem is the case from your screenshot.

I have mine on a separate drive and my system partition (150 GB) is half-full. Is there a reason for your 25 GB per Linux installation rule?

load more comments (10 replies)
[-] just_another_person@lemmy.world 6 points 3 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.

load more comments (1 replies)
[-] NewNewAugustEast@lemmy.zip 4 points 3 months ago* (last edited 3 months ago)

I too think you should remove windows. But if you don't want to, take a clonezilla image of your hard drive now. Store it somewhere else of course. You then can always recover if this scheme gets weird.

Its the first thing I do when I get a new laptop. Then wipe windows. Then install Linux. If I have hardware issues I can simply restore windows for warranty.

In any case, I would pick one of those two Linux to be a primary. You don't want to get rid of mint or make it a VM. Ok third option: distrobox it.

[-] Tenderizer78@lemmy.ml 2 points 3 months ago

I probably should somehow get rid of Windows 11. It doesn't deserve to stay installed just because I might need it and have to reluctantly use it in 2027-2028. I'm not gonna change the partitioning system anytime soon unless the swap partition position is problematic.

[-] mio@lemmy.mio19.uk 3 points 3 months ago

Is the swap space unencrypted? If so it could potentially weaken overall system encryption

[-] Tenderizer78@lemmy.ml 2 points 3 months ago

Nope. I'm just now realizing that I need to do that.

[-] rjek@feddit.uk 3 points 3 months ago

You have swap, which is pointless in this day and age, and will just burn a hole in the flash and delay the OOM killer doing its work. Look at ntfsresize to shrink that Windows partition down to the minimum. Then maybe image the partitions and obliterate them from the SSD. Use LVM instead to give yourself future flexibility. 1TB NVMe SSDs are so cheap these days they might as well put them in boxes of cereal.

[-] rirus@feddit.org 5 points 3 months ago* (last edited 3 months ago)

You can set the swappiness so that RAM gets filled before SWAP. You need it if your RAM isn't large enough for the stuff you want to do. You also need it for Hibernation to be the same or larger size like your RAM. Without it you can only suspend. You MUST use encrypted SWAP if you want to be really secure since otherwise your encryption key might be written onto your Nvme.

[-] patatahooligan@lemmy.world 4 points 3 months ago

The common misconception that swap is pointless stems from misunderstanding what it's supposed to do. You shouldn't be triggering the OOM killer frequently anyway. In the much more normal case where you're only using some of your RAM for running applications, the rest is used as a filesystem cache/buffer. Having swap space available gives your OP the option to evict stale application memory from RAM rather than the filesystem cache when that would be the optimal choice to make.

This page explains it detail: https://chrisdown.name/2018/01/02/in-defence-of-swap.html

load more comments
view more: next ›
this post was submitted on 29 Jul 2025
105 points (100.0% liked)

Linux

59212 readers
405 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