this post was submitted on 17 Feb 2024
125 points (89.3% liked)

Linux

48364 readers
1503 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
 

Hello I'm Doctor_Rex I'm the OP of this post:

My Windows 10 install broke, but I'm hesitant to switch to Linux.

I'd like to start by thanking everybody who responded to my questions. Your answers have helped a lot when it came to my worries on switching to Linux.

I've taken in a lot of your recommendations: Fedora, Fedora Kinoite, Nobara, Bazzite Linux, VanillaOS,

I've decided on Fedora Kinoite, as it has everything I want from a distro.

It was very kind of you all to answer my questions but after making that post and reading your answers new questions propped up.

These questions are a little more opinionated than the last ones, and a little better thought out, but please take some time to answer them.

Questions:

  • Is Wayland worth using? Especially when you consider all the issues that may come from using an NVIDIA card.

Are there any real noticeable advantages/improvements to using Wayland over Xorg.

  • Does bloat actually matter or is it just a meme?

Does bloat actually have a noticeable negative impact on your system or are people just over reacting/joking.

  • What are some habits I should practice in order to keep my system organized and manageable?

Any habits or standards that I should abide by in order to save myself headaches in the future?

  • Any other resources besides the Arch Wiki that I should be aware of?

Self explanatory.

  • What do you wish you knew when you first started using Linux that would have saved you a headache in the future?

I'm not referring to some skill but instead something pertaining to Linux itself. Feel free to skip this question.

I'll be going to sleep soon, so apologies if I don't reply but please take a moment answer any questions you think you can.

Thank You!

Edit: ~~AUR~~ = Arch Wiki. Fixed a typo

you are viewing a single comment's thread
view the rest of the comments
[–] acockworkorange@mander.xyz 7 points 9 months ago (3 children)

One suggestion I haven't seen addressed: use a filesystem with snapshots such as Btrfs and combine it with Timeshift.

With Timeshift you'll be able to roll back in time on your disk and undo stuff. It can take advantage of the lightning fast snapshots of Btrfs to do that.

On Btrfs, separate your /home into a subvolume @home so that, when you do roll back, your personal files aren't affected.

Configure policies for daily and weekly snapshots on Timeshift. Don't worry about space, they're basically free.

That way you can feel better experimenting with your setup, as long as the system is Bootable.

[–] JustUseMint@lemmy.world 5 points 9 months ago (2 children)

Can you elaborate on the don't worry about space thing? Half of my disks are timeshift snapshots.

[–] acockworkorange@mander.xyz 4 points 9 months ago (1 children)

Sure. So a snapshot in itself doesn't consume more than a few KB. The filesystem has a Copy On Write (COW) behavior, meaning it doesn't overwrite edits on files by default. It moves the pointer to the file to a new location and writes the new version there. If there is nothing still pointing to the old data, that space is now considered free and can be overwritten.

A snapshot basically keeps pointers to data in the past. So it's not entirely free, in the sense that older versions of files will remain and therefore not free up disk space as long as that snapshot exists. But it's free in the sense that no data is copied to create a snapshot. Your filesystem is always only writing the difference to the last snapshot.

If you configure snapshots at small intervals and configure them not to be erased, you'll compile the history for all the changes in all your files since ever. And that will definitely cost you space.

Typical scenarios are a daily snapshot that you keep for a week and a weekly snapshot that you keep for a month. That will cost you very little space (again in typical desktop use cases). If you have a streaming folder, a COW filesystem might not be the best idea. Or at least create a subvolume that doesn't get snapshots.

Snapshots don't replace backups and if you need older data that a month, that's what backups are for.

[–] JustUseMint@lemmy.world 2 points 9 months ago
[–] possiblylinux127@lemmy.zip 2 points 9 months ago* (last edited 9 months ago) (1 children)

Snapshots on btrfs are at the filesystem level and only really are a list of steps to get back to the old state. They are not a complete backup and you can't move them out of the filesystem.

[–] bravemonkey@lemmy.ca 5 points 9 months ago (1 children)

This is one of the reasons I'm using OpenSUSE Tumbleweed. It's been a solid distro for me.

[–] acockworkorange@mander.xyz 2 points 9 months ago

Heard great things about it. Mint doesn't suggest it as default, but if you choose Btrfs during install, it will configure @home subvolume and snapshots for you, which is nice.

[–] scratchandgame@lemmy.ml 0 points 9 months ago* (last edited 9 months ago) (1 children)

Split the filesystem to more partition.

have a 1G /, 500M for /boot, have partitions for /usr, /usr/local (this isn't used on linux so keep it small), /var, /home, and /tmp if you have little ram. Otherwise use memory-based filesystem (tmpfs), for /tmp I allocate less than 1/4 of my RAM.

For partition size, refer to https://man.openbsd.org/disklabel.8#AUTOMATIC_DISK_ALLOCATION

Remember to keep /usr/local small on most distro (perhaps I will allocate 5G), and increase /usr, create /opt too to prevent the disaster and allocate it the size for /usr/local. Don't allocate all disk space, a 200G home is enough for most people and leave the rest unallocated. the formatting and fsck would be faster on smaller filesystem.

And if you find other "cache" location, try log out and rm -rf the location, if login doesn't break, I would mount tmpfs on that cache location too.

[–] acockworkorange@mander.xyz 0 points 9 months ago (1 children)

I actively discourage neophytes from fiddling with multiple partitions. It's a layer of complexity that is unwarranted for them, and most users. Newbies can use a volume for home and another for the rest. Experienced users can split the system volume for the use cases you mentioned. And I don't think having separate fixed size partitions like you suggested is a good idea for anyone on a desktop.

[–] scratchandgame@lemmy.ml 0 points 9 months ago* (last edited 9 months ago) (1 children)

In my opinion newbies should learn what is called sane defaults. It's a pity that almost every installer in the word except OpenBSD's disklabel(8) cannot properly do automatic partitioning.

And I don’t think having separate fixed size partitions like you suggested is a good idea for anyone on a desktop.

UNIX's removable filesystem is a BENEFIT, not a BUG. DOS and then Windows' A: B: C: D: are BUGS.

Why not take advantage of it. Microsoft always wanted a removable filesystem like UNIX. But they simply can't get it.

I would link another article that discuss about using a huge root partition for all: https://www.bsdhowto.ch/hugeroot.html

https://marc.info/?l=openbsd-misc&m=154054091026039&w=3

Avoid corrupting newbies' partition is a way to keep them with Linux.

[–] acockworkorange@mander.xyz 0 points 9 months ago (1 children)
[–] scratchandgame@lemmy.ml 0 points 9 months ago* (last edited 9 months ago) (1 children)

I've updated:

new:

UNIX’s removable filesystem is a BENEFIT, not a BUG. DOS and then Windows’ A: B: C: D: are BUG.

Why not take advantage of it. Microsoft always wanted a removable filesystem like UNIX. But they simply can’t get it.

(Those can't admit this advantage often say "Linux and Windows are almost identical"...)

[–] acockworkorange@mander.xyz 0 points 9 months ago (1 children)

Dude, that has nothing to do with logical volumes vs physical partitions. You're tilting at the wrong windmill.

[–] scratchandgame@lemmy.ml 0 points 9 months ago* (last edited 9 months ago)

You can create either logical volume or physical partition, but make sure you have different partition for different mount point: /, /usr, /usr/local (keep small on linux), /var, /opt (if you use), /tmp (if you have little ram or don't want to use memory filesystem).

What do you mean by your comment.

I haven't said something about logical volumes vs physical partitions.