this post was submitted on 29 Jan 2024
51 points (94.7% liked)

Linux

48338 readers
730 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
51
submitted 10 months ago* (last edited 10 months ago) by CMDR_Horn@lemmy.ml to c/linux@lemmy.ml
 

last year when I went back to Arch from Manjaro, I made a critical error. I'm not sure if I was just tired when partitioning things off or what. but I made my root only 20GB instead of the 50 that I had intended. I know in a lot use cases that'll be fine, but in mine, not so much. with steam compat taking up 1-2gb and keeping one version of pacman cache, I'm constantly getting the redline warning.

Tonight I plan on booting to live and resize my luks drive and hopefully not fuck it. and if I do? oh well...Timeshift will hopefully save me.

you are viewing a single comment's thread
view the rest of the comments
[–] Hiro8811@lemmy.world 2 points 10 months ago (10 children)

We'll dunno much but wouldn't the UUID of the drive partition change?

[–] lemmyvore@feddit.nl 3 points 10 months ago (8 children)

If you resize the partition? No, the UUID gets allocated when the partition is created and stays the same for the lifetime of the partition. It only changes if you explicitly change it manually. Which is something that's only needed very rarely.

For example I had to do it when I migrated my root disk to a larger SSD by cat-ing the entire disk to the new one and I wanted to keep both connected for a while (so I can boot into the old one in case anything went wrong). I had to change the UUID of the partition on the new disk but I still ran into some obscure grub issues and had to boot a system rescue live stick into the new disk to update grub properly. Overall it's not a very good idea, in the future I think I'll stick to rsync -avx root into the new partition.

[–] 4am@lemm.ee 1 points 10 months ago (2 children)

Wait you can cat an entire device to another like that? I’ve always been told to use dd

[–] Laser@feddit.de 1 points 9 months ago

You can even use cp of I recall correctly, dd allows to tune some parameters but it's not strictly necessary.

load more comments (1 replies)
load more comments (6 replies)
load more comments (7 replies)