this post was submitted on 22 Jul 2023
30 points (91.7% liked)

Linux

47237 readers
3343 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 5 years ago
MODERATORS
 

Linux noob here. Usually in Windows if I have a 1TB SSD, I make a 250GB partition for Windows and all of its things and I use the rest for a second partition where I install my stuff and store my files.

Usually in case Windows decides to go belly up, I still have my files. In more than 20 years it has never happened but I've always done it like that. I mean if Windows goes bad, I can still remove the drive and insert it into a different PC and copy my files away.

Should I shrink Partition 3 and make another one? Or keep it as it is? If I would, I read that I need to boot with a live usb to be able to shrink it. What kind of partition would I make?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

I usually make 3 partitions:

  • /boot
  • EFI GPT
  • LVM or LUKS+LVM

With the LVM partition, you can carve that up and easily resize/reallocate space as needed. If it's the last partition on the drive you can easily increase the size of you clone to a larger drive later.

LUKS is off you also want encryption (which in my case I do, with the unlock key in the EFI or TPM).

It usually ends up looking like

  • sda1: /boot
  • sda2: [EFI GPT]
  • sda3: [LUKS] -->LVM with rootfs, var, home, tmp volumes