How bad is my partitioning?
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.
Gagootron
in reply to Tenderizer78 • • •like this
osaerisxero likes this.
Tenderizer78
in reply to Gagootron • • •Gagootron
in reply to Tenderizer78 • • •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.
krolden
in reply to Tenderizer78 • • •Tenderizer78
in reply to krolden • • •utopiah
in reply to Tenderizer78 • • •Tenderizer78
in reply to utopiah • • •utopiah
in reply to Tenderizer78 • • •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
in reply to utopiah • • •utopiah
in reply to Tenderizer78 • • •Tenderizer78
in reply to utopiah • • •asudox
in reply to Tenderizer78 • • •Tenderizer78
in reply to asudox • • •krolden
in reply to Tenderizer78 • • •Can emulate TPM
also kernel level anti cheat is for video games
krolden
in reply to Tenderizer78 • • •Can emulate TPM
also kernel level anti cheat is for video games
krolden
in reply to Tenderizer78 • • •Tenderizer78
in reply to krolden • • •NewNewAugustEast
in reply to Tenderizer78 • • •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
in reply to NewNewAugustEast • • •fushuan [he/him]
in reply to Tenderizer78 • • •You just got a new laptop and it has 250 GB of disk space?? Are you mad???
My Pendrive has 256 GB!
Tenderizer78
in reply to fushuan [he/him] • • •rjek
in reply to Tenderizer78 • • •rirus
in reply to rjek • • •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.
stewarpt
in reply to Tenderizer78 • • •like this
gonzo-rand19 likes this.
Tenderizer78
in reply to stewarpt • • •CrackedLinuxISO
in reply to Tenderizer78 • • •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.
Tenderizer78
in reply to CrackedLinuxISO • • •monovergent 🛠️
in reply to Tenderizer78 • • •Are you able to install a second SSD in your laptop? If you really need to keep it around, it's best practice to have Windows on its own physical drive.
Or if it's feasible, make your old laptop your dedicated Windows machine.
Tenderizer78
in reply to monovergent 🛠️ • • •My old laptop doesn't have a TPM or Secureboot (or a working CTRL key). So that idea's out.
I'll try and put it on a VM, not sure whether that'll preserve my key though.
IsThisLoss [comrade/them]
in reply to Tenderizer78 • • •Tenderizer78
in reply to IsThisLoss [comrade/them] • • •IsThisLoss [comrade/them]
in reply to Tenderizer78 • • •Tenderizer78
in reply to IsThisLoss [comrade/them] • • •igemnace
in reply to Tenderizer78 • • •None are game-breaking! You can just note these down for next time you have the itch to tinker.
Swap - ArchWiki
wiki.archlinux.orgTenderizer78
in reply to igemnace • • •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.
mio
in reply to Tenderizer78 • • •Tenderizer78
in reply to mio • • •entropicdrift
in reply to Tenderizer78 • • •Tenderizer78
in reply to entropicdrift • • •entropicdrift
in reply to Tenderizer78 • • •gonzo-rand19
in reply to Tenderizer78 • • •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?
like this
gonzo-rand19 likes this.
Tenderizer78
in reply to gonzo-rand19 • • •brax
in reply to Tenderizer78 • • •gonzo-rand19 likes this.
Tenderizer78
in reply to brax • • •brax
in reply to Tenderizer78 • • •Again, so you don't plan on installing anything extra or downloading stuff off the web? Lol.
I tried running arch in about 115GB of space, it wasn't too bad but I had my /home directory on a separate drive. There's no way I could get away with my OS+Home Directories on something as laughably small as that, unless I was just testing for a few weeks.
Tenderizer78
in reply to brax • • •brax
in reply to Tenderizer78 • • •gonzo-rand19
in reply to Tenderizer78 • • •I would seriously advise you to double it to 50 GB each if you're intending to use these installs for more than web browsing and simple tasks using the packages that came with the distro. The exception to this would be if you have external drives/partitions that you're mounting into system directories (like your 20 GB of shared storage) because that data is obviously stored elsewhere.
The minimum requirements are for the installation and basic use of the operating system as-is; actually using the system and installing other packages will generally require more space.
Tenderizer78
in reply to gonzo-rand19 • • •gonzo-rand19 likes this.
SitD
in reply to Tenderizer78 • • •Tenkard
in reply to Tenderizer78 • • •verdigris
in reply to Tenderizer78 • • •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
in reply to verdigris • • •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
in reply to Tenderizer78 • • •Tenderizer78
in reply to verdigris • • •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.
Amju Wolf
in reply to Tenderizer78 • • •Why would you clone it first? Just nuke it if you don't plan on using it. It has no value. You can always install it from scratch.
Tenderizer78
in reply to Amju Wolf • • •data1701d (He/Him)
in reply to Tenderizer78 • • •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.