this post was submitted on 22 Jul 2023
31 points (89.7% liked)

Linux

48186 readers
1144 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
[–] mudeth@lemmy.ca 26 points 1 year ago* (last edited 1 year ago) (4 children)

Feels like good practice to have /home mounted on a separate partition if you want to install a different distro or reinstall but I've never had to test the theory.

[–] Quazatron@lemmy.world 14 points 1 year ago

This. For home use having a separate / and /home (and maybe a swap) formated as ext4 is solid and allows you to distro hop with ease. As you get more comfortable with Linux, you'll learn about the luxury of LVM volumes and more exotic filesystems with compression and other features. What is important is to always keep fresh backups. BorgBackup is your friend, you can find a few graphical front ends for it to simplify things.

[–] nan@lemmy.blahaj.zone 7 points 1 year ago (1 children)

Works well for distrohopping too, I usually would rename my home to oldhome or something and then just move my files to the new one to prevent dotfiles from potentially causing issues.

Also beware Debian installer with a luks encrypted drive. Where most things will unlock a previously-encrypted drive and use it, Debian installer will (or would, it’s been a while) reformat the encryption before it confirms any potential partition layout changes and you can end up with an empty drive before you know it.

[–] CAPSLOCKFTW@lemmy.ml 2 points 1 year ago

Just add a new user when you install a new distro, then you can have a fresh start. If you want to try your old one, just useradd you old user and try it out.

[–] freeman@lemmy.pub 3 points 1 year ago

If you use something like btrfs you can use a single partition and just use sub volumes to achieve similar. Though it’s definately more complex.

[–] atlasraven31@lemm.ee 1 points 1 year ago (1 children)

I've heard the same but I went with the defaults as a n00b. Ubuntu made me create a /swap and other sub directories.

[–] pinchcramp@lemmy.dbzer0.com 1 points 1 year ago

Is the screenshot you posted from Ubuntu or Pop!_OS? Because partition 4 is a swap partition.

But I agree with mudeth, having a system partition and a dedicated /home one is a decent setup.