Linux Storage: Avoid These Common Mistakes When Working on Partitions

  Рет қаралды 21,842

SavvyNik

SavvyNik

Күн бұрын

Пікірлер: 30
@DV-ml4fm
@DV-ml4fm Жыл бұрын
I use LVM. You can expand or decrease on the spot. Plus do snapshots of your lvm.
@skelebro9999
@skelebro9999 Жыл бұрын
really needed video. when installing arch i forgot to create a swap partition. this video will help a lot!
@SavvyNik
@SavvyNik Жыл бұрын
Glad it helped remind
@IwishIcanFLighT
@IwishIcanFLighT 14 күн бұрын
Excellent video, straight to the point! I managed to increase my Debian VM partition size successfully! One thing I'll add, though: once increased, I noticed that the VM took way longer to boot than before the increase. I noticed the error "Gave up waiting for suspend/resume device" during boot. Also, the free command said that swap size was 0. So something wasn't right. Turns out that because I removed and replaced the swap partition, its UUID had changed, and the OS was looking for the old UUID. I had to do the following: 1. As root, run blkid to get the new UUID of the swap partition 2. Change the UUID of swap in /etc/fstab 3. Change the UUID in /etc/initramfs-tools/conf.d/resume 4. Run update-initramfs -u 5. Reboot. Hoping it helps someone down the line!
@kalitsiadischaritos4685
@kalitsiadischaritos4685 8 күн бұрын
Verry nice. Just to say that gparted allows you to move swap partition once is off. No need to delete it and remake i. Just switch it off and move it at the end of unallocated space
@D.von.N
@D.von.N 3 ай бұрын
Now, I have a lmde in LVM on half of my disk and want to install ubuntu into the remaining part. Why does that installer warn me it will overwrite LVM and swap, when only the partition for ubuntu is ticked, format set up for exr4 journalling system and root defined by /? Even colours ditinguish the partitione for ubuntu separately from everything else, in the installer as well as in gparted. I cannot get my head around it. I just installed lmde mint cinnamon, resized it, created another partition for ubuntu and ubuntu wants to overwrite other parts too? I don't get it.
@MrGrummpy
@MrGrummpy 8 ай бұрын
Thank you. This helped me avoid some big errors. 😀
@unklebonehead
@unklebonehead Жыл бұрын
I've tried using gparted in Pop!_OS to change a partition that was created on install of Ubuntu 23.04 that it could not write the changes. I had to boot into a live Ubuntu 23.04 to change any partitions on 23.04. I think I remember it saying something about the GPT tables.
@SavvyNik
@SavvyNik Жыл бұрын
Thanks! Yes, most distros will require you to boot into a live image to make changes to the partitions / storage.
@unklebonehead
@unklebonehead Жыл бұрын
@@SavvyNik I meant it wouldnt do it from a Pop!_OS live image. I had to go burn a new Ubuntu 23.04. Even an Ubuntu 22.04 wouldnt do it. Something is changed on gparted between 22.04 and 23.04.
@SavvyNik
@SavvyNik Жыл бұрын
Well I can't say I've ran into that issue before.
@randomguychannel39
@randomguychannel39 6 ай бұрын
How to deal with encrypted partitions since gpartes sees it as occupying the whole partition
@AgentTex13
@AgentTex13 Ай бұрын
My Boot partition is too full for my Arch Linux system. Thank you for this video I'm going to boot into a GParted iso so I can then give myself more than the standard 20Gb That just doesn't cut it in today's age.
@caseyriley1014
@caseyriley1014 Жыл бұрын
What if my efi is in between system storage, and unallocated space?
@SheikhAmeen
@SheikhAmeen 5 ай бұрын
Dont mess it up. It's to boot your OS.
@Ballissle
@Ballissle 5 ай бұрын
I'm having this same issue. But it's on a laptop I'm not too concerned about so will see what happens when the move is completed. Just moving the efi to the left. If it breaks and is not repairable I will just have to completely format the drive and reinstall I guess. I made a backup anyway of files and app manifest.
@jonathankrimer
@jonathankrimer Жыл бұрын
Why and what? Why do we need a partition? Why would we change the size?
@sharonlima8913
@sharonlima8913 Жыл бұрын
Thank you SavvyNik You saved me hours of time waste! Summary This video provides guidance on avoiding common mistakes when working with Linux partitions, particularly for beginners. It emphasizes the use of GParted, handling swap space, and understanding the Linux partitioning scheme. Highlights 💡 Use GParted for efficient partition management. 💡 Be cautious when handling swap space; it may need to be disabled before making changes. 💡 Understand the Linux partitioning scheme and ensure there's no data behind the partition you're extending. 💡 Avoid making changes to EFI partitions or any areas with existing data. 💡 Consider using a live image or disk for partition edits to avoid issues with mounted systems. 💡 Enable swap space after designating it to ensure your system recognizes and uses it. 💡 Linux beginners should follow these guidelines to prevent common pitfalls when working with partitions.
@SavvyNik
@SavvyNik Жыл бұрын
Glad to hear it. Thanks for the summary!
@alexstone691
@alexstone691 Жыл бұрын
I appreciate these videos, although they are not for me they will certainly help other people as you explain pretty clearly
@Evgen13Great
@Evgen13Great 5 ай бұрын
But you can move swap partition to the end of your disk, can't you?
@SavvyNik
@SavvyNik 5 ай бұрын
Sure but if it used to be at the front you’re going to have incongruent space because there will be a gap between partitions.
@1q3er5
@1q3er5 18 сағат бұрын
@@SavvyNik why do we even need swap partition - why doesn't linux handle it internally
@isihlokotv
@isihlokotv 11 ай бұрын
Informative
@BitsOfTruth
@BitsOfTruth 7 ай бұрын
Where is Boot partition?
@SheikhAmeen
@SheikhAmeen 5 ай бұрын
EFI
@guilherme5094
@guilherme5094 Жыл бұрын
👍!
@stricarzi
@stricarzi Жыл бұрын
been there, done that
@SavvyNik
@SavvyNik Жыл бұрын
haha
@adityaaarya4535
@adityaaarya4535 8 ай бұрын
saved me
5 Mistakes to Avoid as a New Linux User
11:49
Learn Linux TV
Рет қаралды 129 М.
Linus Torvalds: Speaks on the Rust vs C Linux Divide
8:54
SavvyNik
Рет қаралды 375 М.
Чистка воды совком от денег
00:32
FD Vasya
Рет қаралды 6 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 14 МЛН
How to Store Your Personal Home Files on a Separate Disk on Linux
23:59
Switching to Linux: Drives & Partitions
17:11
ExplainingComputers
Рет қаралды 60 М.
Why Are Arch Linux Users So TOXIC?
12:32
Eric Murphy
Рет қаралды 564 М.
Linus is NOT Allowing this in the Linux Kernel..
9:01
SavvyNik
Рет қаралды 13 М.
LVM | Logical Volume Management | Combining Drives Together
19:40
Chris Titus Tech
Рет қаралды 114 М.
Do You Need A Separate /home Partition for Linux?
46:11
Joe Collins (EzeeLinux)
Рет қаралды 60 М.
How Does Linux Boot Process Work?
4:44
ByteByteGo
Рет қаралды 718 М.
10 Common Linux Issues and How to Fix Them
23:45
Learn Linux TV
Рет қаралды 89 М.
Move Your Home Directory To A Second Drive
14:00
DistroTube
Рет қаралды 64 М.
Debian 12 Bookworm Minimal Install w/BTRFS
24:34
JustAGuy Linux
Рет қаралды 72 М.
Чистка воды совком от денег
00:32
FD Vasya
Рет қаралды 6 МЛН