No video

Resize or Extend a Linux Partition/Volume/Disk (Swap - Ubuntu - Gparted)

  Рет қаралды 190,877

SavvyNik

SavvyNik

Күн бұрын

Пікірлер: 209
@sharonlima8913
@sharonlima8913 10 ай бұрын
In this tutorial, the author explains how to resize a Linux partition using GParted when you have unallocated space on your hard drive. They demonstrate the process using an Ubuntu system, covering steps from creating a bootable live image to resizing the root file partition and managing swap. Highlights 📟 To resize Linux partitions, create a bootable live image using tools like Balena Etcher. 🖥 Boot into the live environment and use GParted, a disk management tool, to make the changes. 💾 Carefully select the correct disk to avoid making changes to the wrong one. 🔄 If you have a swap partition, turn off swap, resize or move it, and turn it back on. 📊 Extend the root file partition to utilize unallocated space. 🔒 Always back up your data before making changes to your disks. 🚀 After completing the process, restart your system and ensure the changes took effect.
@SavvyNik
@SavvyNik 10 ай бұрын
Thanks for sharing the useful details!
@SavvyNik
@SavvyNik 10 ай бұрын
pinned
@DamianAI9
@DamianAI9 2 ай бұрын
💀a.i.
@CasJarAI
@CasJarAI Жыл бұрын
Man!!! I wasted my day looking for how to do that, and you solve so easy!!! Thanks for sharing. The best video!
@SavvyNik
@SavvyNik Жыл бұрын
No problem glad you found it
@Phoenix-jf2rx
@Phoenix-jf2rx Жыл бұрын
Yeah. Finally I did it. I was reading articles about it, but really didn't want to do it through the terminal. They said Gparted only will work if free partition is on the right, but it did work for me. Thank you!
@SavvyNik
@SavvyNik Жыл бұрын
No problem glad you were able to get it done
Жыл бұрын
Thank you! I've looked at many videos on this topic and you just nailed it with the safest and easiest way to achieve this. I really appreciate it!
@SavvyNik
@SavvyNik Жыл бұрын
Glad to hear it. No problem
@ryanbezuhly1337
@ryanbezuhly1337 Жыл бұрын
Thank you very much! I’ve resized partitions many times in the past, I had the issue where I shrunk one partition to add onto another, and my unused space wound up on /dev/sda9, but I couldn’t figure out how to move it over, you covered this topic very well, unlike everyone else!
@programmer6548
@programmer6548 Жыл бұрын
Thank you! I was searching for hours to know how to do this
@SavvyNik
@SavvyNik Жыл бұрын
You're welcome
@swellequation2861
@swellequation2861 2 жыл бұрын
Thanks for the clear and easy to follow tutorial! Helped me a lot
@SavvyNik
@SavvyNik 2 жыл бұрын
You're welcome! Glad you liked it.
@atMagnusKnight
@atMagnusKnight Жыл бұрын
Thank you for this! I couldn't figure out why I couldn't resize my partition, and it was because other partitions were in the way. I moved those one by one and then I could resize the one I wanted.
@BlindManBert
@BlindManBert Жыл бұрын
Great video… saved me a bunch of time in transferring three Linux systems to larger 1TB drives. I’ve been using gparted for years, but in such specific ways that I didn’t realize the move/resize function existed, much less would be so easy to use. Truly the Swiss Army knife of Linux partitioning utilities, and together with Balena Etcher or other ‘dd’-based to clone partitions you really can do what you want without too much hassle (not counting the time required to move very large partitions). I use a custom script to do the dd work, but only because Balena Etcher is hardwired to run only a single verification pass. For older drives, and especially older SSD drives, I prefer four to six verification passes just to be on the safe side, but that’s just me. It’s not so important if you’re Etching a temporary boot drive, as in this video, but it might make a difference if you’re cloning truly vital data that you want to assure isn’t corrupted. Thanks for posting this video!!
@BlindManBert
@BlindManBert Жыл бұрын
My one criticism of the video is that it dives into the weeds quickly, showing how you can’t move/resize a mounted partition, and then showing the steps to create a temporary bootable system so you can work in gparted with the target partitions unmounted. That’s a bit like burying the lead story, how gparted will be used in the end. It might have been helpful to describe the overall steps broadly before diving into the weeds right off. But that’s just me… I like to understand the overall path before thinking about individual steps. And really that’s just my one and only criticism. Very helpful!!
@efosabeloved2918
@efosabeloved2918 2 жыл бұрын
Easy and straight to the point. Nice video
@xGasPer
@xGasPer 6 ай бұрын
You saved me from having to format my work laptop, you're a legend!
@SavvyNik
@SavvyNik 6 ай бұрын
Love to hear it
@sirflappington2484
@sirflappington2484 Жыл бұрын
This really helped me. I need to move ubuntu server from a 2tb hdd to a 1tb ssd and i needed to downsize the partition in order to do that.
@chibuikeoffu
@chibuikeoffu 2 жыл бұрын
I suffered all round the internet till I met this. Freaking legend
@SavvyNik
@SavvyNik 2 жыл бұрын
Haha well thanks :)
@user-eq1er5lh3d
@user-eq1er5lh3d Жыл бұрын
Thank you! It worked out for me! you r the only one who showed this trick!!!!!))
@nikolairose2739
@nikolairose2739 Жыл бұрын
For any one dual booting. When Linux is to the right of the free space. You can move it all the way to the left. Then simply move it all the way to the right while in your fake Linux(I used the USB) and call it a day.
@mchi2214
@mchi2214 10 ай бұрын
Thank you again Nik! My disk looks great and uncluttered.
@QuackerJack09
@QuackerJack09 2 жыл бұрын
God dammit, watched so many tuts and every time the same nonsense and no solution. And finally... i found yours. Thanks man! Helped me out - pretty easy to solve if you know what do to :D. Moving swap fixed it. Couldnt expand main drive.
@SavvyNik
@SavvyNik 2 жыл бұрын
Awesome to hear! Glad you liked it.
@Clanps
@Clanps Жыл бұрын
Used the gparted live usb with a desktop so I could quickly expand my arch installation. Thank you for showing me the sliding, that's where I got stuck.
@Limyang11
@Limyang11 2 жыл бұрын
This work for me And without any those ads third party tool Thanks
@SavvyNik
@SavvyNik 2 жыл бұрын
Glad to hear that, you're welcome!
@parikshitsinghrathore9167
@parikshitsinghrathore9167 Жыл бұрын
It took hardly 10 min to understand. Thank you so much!!!
@SavvyNik
@SavvyNik Жыл бұрын
np, glad you liked it
@baba_tj6352
@baba_tj6352 3 ай бұрын
Thanks a lot brother, I have been wondering so long for this solution but nowhere found this great solution
@mikeyfoofoo
@mikeyfoofoo 2 жыл бұрын
So much easier to boot to the live desktop disk and resize than the command line. I've done both for ubuntu server. It's a time saver.
@angganarotama
@angganarotama 20 күн бұрын
Only this tutorial that actually works, other just recommend a lot of useless commands
@BrendanClements
@BrendanClements 10 ай бұрын
Thank you. I tried watching a few videos before that just dragged on very slowly without saying anything and at the end my question wasn't even answered. Thank you!!!
@SavvyNik
@SavvyNik 10 ай бұрын
No problem
@ivansavchenco5636
@ivansavchenco5636 Жыл бұрын
OMG you bios is like a windows)))) I am using Ubuntu just in case)
@jaimee8054
@jaimee8054 Жыл бұрын
Incredibly useful and clear! Great video!
@Unknown88851
@Unknown88851 2 ай бұрын
I LOVE YOU THANK YOU FINALLY SOEMTHING THAT WORKED
@bouabahmed3525
@bouabahmed3525 2 жыл бұрын
Perfect !!! Just what i was looking for
@SavvyNik
@SavvyNik 2 жыл бұрын
Glad you found it!
@immortalbeings563
@immortalbeings563 Жыл бұрын
Exactly
@NeilCorke
@NeilCorke Жыл бұрын
Thanks for posting this - did exactly what I needed!
@SavvyNik
@SavvyNik Жыл бұрын
No problem
@lionelguaregua820
@lionelguaregua820 2 жыл бұрын
Excellent video, I had days looking for a solution, ty
@SavvyNik
@SavvyNik 2 жыл бұрын
You're welcome!
@Rigual
@Rigual Жыл бұрын
thank you! had to look for this video since I'm no longer dual booting my steamdeck and wanted the space back for steamos, than you again :)
@sach2274
@sach2274 Жыл бұрын
Works like a charm! Thank you brother! You saved my day!
@SavvyNik
@SavvyNik Жыл бұрын
Glad to hear it :)
@astroflexx82
@astroflexx82 10 ай бұрын
Thanks a lot ❤ Very nice and easy to follow tutorial. Worked well for me 😊
@SavvyNik
@SavvyNik 10 ай бұрын
Np, glad to hear it
@mohsenazimi8692
@mohsenazimi8692 Жыл бұрын
The training was complete and practical, thank you 🙏
@SavvyNik
@SavvyNik Жыл бұрын
Glad you liked it!
@vadimsarthannel4565
@vadimsarthannel4565 Жыл бұрын
Helped a lot! October 2022 ubuntu 20.0
@waltermitty4132
@waltermitty4132 2 жыл бұрын
Superb video, as usual. One question: In a dual-boot situation, if Windows is at /sda2, can I use your method to shrink Windows, then extend Linux to the left instead of the right? I need to increase the space for Linux, but my unused space is at to the left of the Linux partition, not the right.
@SavvyNik
@SavvyNik 2 жыл бұрын
Not as easy to do, you maybe able to move the partition up into the unallocated space but I haven't had much luck with this in the past.. what I normally have to do is clone the partition up to the new space which is tricky as well. They didn't make that scenario easy. LVM's however make this process much easier.
@waltermitty4132
@waltermitty4132 2 жыл бұрын
@@SavvyNik Thanks, Nik. I was concerned that GRUB would not be able to find the new starting location for the Linux partition. Apparently it is even more complicated than what I had considered. Appreciate the prompt reply you rendered.'
@justsomerandompersononthei2595
@justsomerandompersononthei2595 2 жыл бұрын
It is possible as long as you use gparted, but you have to boot into a live USB. Otherwise, it will not let you extend the linux partition as it is mounted.
@hector-m-carrillo
@hector-m-carrillo 2 жыл бұрын
For any people from the future, in the words of Tom Howard, "It just works" In gparted, you can move Linux to the left and then extend it right. Nothing more to it
@waltermitty4132
@waltermitty4132 2 жыл бұрын
@@hector-m-carrillo Did it, and it worked! Thanks to all who replied.
@victortesla2935
@victortesla2935 Күн бұрын
I have window and ubuntu i have a SSD and the partition are like this Efi | window | 40gb | ubuntu / | ubuntu home | swap Now I want to get 20 space from window and add it to 40 gb which is easy so now it will look like this Efi | window | 60gb | ubuntu / | ubuntu home | swap I can do this easy but my question is can I remove 20 gb from my ubuntu home and move it over ubuntu / so that my 60 becames 80 gb Step-1 Efi | window | 60gb | ubuntu / | 20gb | ubuntu home | swap Step-2 Efi | window | 80gb | ubuntu / | ubuntu home | swap Do you think this will break the system i didn't made any changes to efi partion so I think this should be fine
@abaneyone
@abaneyone 8 ай бұрын
Thank you for this excellent tutorial, helped me tremendously!
@SavvyNik
@SavvyNik 8 ай бұрын
Glad it helped!
@boo9oob
@boo9oob 6 ай бұрын
you are a f***cking hero!
@prodigyfreeman3935
@prodigyfreeman3935 2 жыл бұрын
Dual boot process works. U should most certainly be able to do it even if the unallocated space is in front of the partition.
@mohamedamrali1993
@mohamedamrali1993 2 жыл бұрын
How did you manage that? Can you clarify? I have 1) windows, 2) ubuntu. I shrink the windows by 20 Gb, and I end up with the unallocated space right in the middle. How do I expand the Ubuntu partition to the left? Thanks!!
@Visionist
@Visionist 2 жыл бұрын
Worked fine for me.
@olgermannik1830
@olgermannik1830 Жыл бұрын
It worked for me.
@abderrahmanesebaa7638
@abderrahmanesebaa7638 Жыл бұрын
Thank you, your video was very helpful for me. Keep up the good work.
@SavvyNik
@SavvyNik Жыл бұрын
No problem, thanks for the support
@miguelpereira9095
@miguelpereira9095 3 ай бұрын
Great video, but how is the preocess if the unallocated space is before the ubuntu partition? how to use that space and merge it with linux partition?
@kloboucek
@kloboucek Жыл бұрын
Great tutorial, thanks Nik!!
@SavvyNik
@SavvyNik Жыл бұрын
Glad you liked it!
@Kartik_9512
@Kartik_9512 Жыл бұрын
Thanks mate, I learnt something amazing today.
@SavvyNik
@SavvyNik Жыл бұрын
Glad to hear it
@MOHAMMADNOORI-wx6lq
@MOHAMMADNOORI-wx6lq 6 ай бұрын
Thanks a lot. It works successfully for me!
@americandad_8881
@americandad_8881 Жыл бұрын
Working flawlessly! Thank you.
@SavvyNik
@SavvyNik Жыл бұрын
No problem, glad things worked out
@boulerice-archives
@boulerice-archives 2 жыл бұрын
Thank you! This was clear and helpful
@SavvyNik
@SavvyNik 2 жыл бұрын
You’re welcome!
@bojackhorsingaround
@bojackhorsingaround 4 ай бұрын
BTW a very handy video.. thank you! Amazing channel.. so many utility uploads. Subscribed!
@frankkolmann4801
@frankkolmann4801 4 ай бұрын
The hardest part for me was creating the bootable USB then updating the BIOS to put USB boot first. UBUNTU has a Startup Disk Creator.
@michealowen8144
@michealowen8144 2 жыл бұрын
Thanks for the tutorial, it works really well!!!
@SavvyNik
@SavvyNik 2 жыл бұрын
You're welcome! Glad you liked it.
@TheAloyz
@TheAloyz 3 ай бұрын
Hello, thank you for this guide, he helped me a lot. However, I have a problem, because after enlarging of the partition , the system (Openmediavault) boots noticeably longer. What could be the reason?
@Shikayou-iv8os
@Shikayou-iv8os Жыл бұрын
You are awesome my man!
@LuzKramer
@LuzKramer 9 ай бұрын
After i did this i can't select where download files from my browsers and i can't select where is the default download location. I tried in brave,opera and firefox.
@Cart1416
@Cart1416 Жыл бұрын
I have the efi in the way so how do I fix that?
@sexypai2005
@sexypai2005 4 ай бұрын
Same for me
@romanbykov5922
@romanbykov5922 2 жыл бұрын
Thanks. The big 100-dollar question is what can you do if the EFI partition is in between two partitions and you want to resize one of them and move the EFI partition elsewhere.
@SavvyNik
@SavvyNik 2 жыл бұрын
Good luck, that involves cloning between partitions. Typically there's not enough space for that so it has to be cloned between disks.
@AHMEDADEL-qx2ip
@AHMEDADEL-qx2ip 2 жыл бұрын
You're the best man!
@SavvyNik
@SavvyNik 2 жыл бұрын
:)
@themikecaselles
@themikecaselles 5 ай бұрын
My filesystem still shows the same size. What do I do to extend the file system to use the fully allocated space?
@tutti9745
@tutti9745 Жыл бұрын
Very helpfull indeed! Keep up the great work
@SavvyNik
@SavvyNik Жыл бұрын
Thanks :))
@geraldandres2224
@geraldandres2224 Жыл бұрын
I had a dual boot with Linuxmint 20.3 and Win 7. The Win 7 has died, how can I reclaim the partition to add back to Linuxmint?
@manofmartin
@manofmartin 8 ай бұрын
You were useful. Here's a like. Here's a sub.
@akhmadali5064
@akhmadali5064 8 ай бұрын
I accidentally create swap partition way higher than i need when installing linux, and i would like decrease the swap partition and make home partition the rest of it. is there any way to create home partition in gparted?
@formynews
@formynews Жыл бұрын
Exactly what I need!
@sama7496
@sama7496 5 ай бұрын
Hey I tried this but I am getting an error to update e2fsck can you help me with this. I am using gparted on linux mint and changing files of arch linux.
@heshamhassan2907
@heshamhassan2907 2 жыл бұрын
It felt like you're awesome!
@SavvyNik
@SavvyNik 2 жыл бұрын
Haha thanks!
@sama7496
@sama7496 5 ай бұрын
I am using arch right now and want to extend the size of root partition. Can i do it with ubuntu as you've shown in your video?
@somnathdas8922
@somnathdas8922 3 ай бұрын
Hey, you don't know Ubuntu disks? Maybe it's available in the newer version.
@Ballissle
@Ballissle Ай бұрын
So my problem is the efi partition is right in the middle of my unallocated space and ext4 system files partition.... So my only option is to move the efi partition to the left of it all and then grow the filesystem into the unallocated space. If I have to reinstall or repair ah well. Better than having hardly any space.
@direwolfesp6366
@direwolfesp6366 23 күн бұрын
I have the same problem rn, how did it go for you?
@Ballissle
@Ballissle 23 күн бұрын
It actually went totally fine. I moved the efi partition to the far left and then extended the main space into the unallocated. No issues.
@direwolfesp6366
@direwolfesp6366 23 күн бұрын
@@Ballissle Thanks for answering so fast man, good to hear that everything went ok i might try to do the same 🙏
@hrudaynandantudu3233
@hrudaynandantudu3233 Жыл бұрын
Thanks bro. You saved me☺
@user-sq3xg7mb8m
@user-sq3xg7mb8m Жыл бұрын
i extracted the ubuntu file and some "discks" showed up. i can i delete them?? also a lot of file showed up. i cant delete them either!
@Pranav69420
@Pranav69420 11 ай бұрын
I have zorin os and the storage is shown as 16gib, but the disk i put is 240 gib.
@vapa7065
@vapa7065 Жыл бұрын
You are a star. Thank you
@SavvyNik
@SavvyNik Жыл бұрын
You're welcome!
@gwdipesh19
@gwdipesh19 Жыл бұрын
Thank you sir
@Nalla-perumal
@Nalla-perumal Ай бұрын
In love mode, my wifi adapter and bluetooth adapter are not working Nik. Any idea ? @anybody !
@aman.40399
@aman.40399 Ай бұрын
Thanx learned a lot
@noobdotx
@noobdotx Жыл бұрын
Hey Everything is working fine now ! BUT my booting had become slow, what to do?
@MarMBxxbalxver
@MarMBxxbalxver 3 ай бұрын
Can I use live ubuntu while using arch on my disk?
@coria6231
@coria6231 Жыл бұрын
Question, if I already have the bootable disk with my linux distro on, can I just skip the 3 steps and just go to gparted step or still have to do all the 4 steps?
@bbnCRLB
@bbnCRLB Жыл бұрын
I have a Home Partition different from root partition. Can I shrink the home and allocated the space to the root partition using this method?
@fpdomain
@fpdomain Жыл бұрын
still have one unallocated space that I cannot attribute to the linux partition
@pcglorious3183
@pcglorious3183 Жыл бұрын
how i can make a raid partion mirror or strip and cash speace in this system
@alisjs4584
@alisjs4584 2 жыл бұрын
Thanks, helped a lot
@SavvyNik
@SavvyNik 2 жыл бұрын
You're welcome! Think about subscribing for more :)
@viddeshk8020
@viddeshk8020 6 ай бұрын
I have a question 🤔 Does EFI System partition has to be in /dev/sda1 only? I have mine in /dev/sda2. I now have /dev/sda1 unallocated. /dev/sda2 by EFI file system partition. /dev/sda3 Linux distribution. How can I add that first partition to my 3 partition?
@viddeshk8020
@viddeshk8020 6 ай бұрын
Nevermind 😊 it worked 🎉❤
@user-vx3wg4jd6y
@user-vx3wg4jd6y Жыл бұрын
Can i do the same steps for Kaali Linux..?
@bishop316
@bishop316 2 жыл бұрын
Hi, i was just wondering if it possible to extend the boot partition? I heard you said not to mess with that partition, but is it ok to only extend it? Thanks
@SavvyNik
@SavvyNik 2 жыл бұрын
Typically no, especially when it's the first partition because that would require moving the root partition which is a mess.
@AlinaKlein953
@AlinaKlein953 Жыл бұрын
please help!!! My flash drive accidentally got removed when i was gparting what should i do
@ratulxy
@ratulxy 2 жыл бұрын
It works wonders!!
@SavvyNik
@SavvyNik 2 жыл бұрын
:)
@afuckingnameplz
@afuckingnameplz 2 жыл бұрын
thank you, really useful
@SavvyNik
@SavvyNik 2 жыл бұрын
Glad it was helpful! You're welcome :)
@richardson2287
@richardson2287 Жыл бұрын
you are the man!!!!
@SavvyNik
@SavvyNik Жыл бұрын
Thanks :)
@spideyyedips6109
@spideyyedips6109 2 жыл бұрын
Can we do this if it is encrypted?
@SavvyNik
@SavvyNik 2 жыл бұрын
I assume you have encryption setup with an lvm which is a different method - help.ubuntu.com/community/ResizeEncryptedPartitions
@spideyyedips6109
@spideyyedips6109 2 жыл бұрын
@@SavvyNik thanks
@lucchi9633
@lucchi9633 2 жыл бұрын
thanks it worked!!
@SavvyNik
@SavvyNik 2 жыл бұрын
You're welcome!
@stmobama3357
@stmobama3357 2 жыл бұрын
Does this method cope well with dual boot? I'm currently using Windows 11 and Ubuntu 22.04, will it damage my Window or Ubuntu system?
@SpicinDmitry
@SpicinDmitry Жыл бұрын
You cool man! Thank you.
@SavvyNik
@SavvyNik Жыл бұрын
Glad you enjoyed it
@TuanNguyen-xb5jj
@TuanNguyen-xb5jj Жыл бұрын
Hello thanks for your tutorial! But when i click resize for ext4 then i get alert " Unable to resize read-only file system /dev/nvme0n1p7 " i don know how to fix this. Please tell me. Thanks u so much
@trapOrdoom
@trapOrdoom 2 жыл бұрын
Thank you bro!
@SavvyNik
@SavvyNik 2 жыл бұрын
No problem!
@panosevangeliou9682
@panosevangeliou9682 Жыл бұрын
Great video. Everything worked! Thanks!
@gamedan0857
@gamedan0857 8 ай бұрын
Mil gracias!
@rev_krakken70
@rev_krakken70 Жыл бұрын
Will this remove the files in the existing ubuntu installation?
@oneofusall
@oneofusall Жыл бұрын
Cheers!
@SavvyNik
@SavvyNik Жыл бұрын
🍻
@dennyabbaszain2800
@dennyabbaszain2800 2 ай бұрын
thanks a lot 🤩
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,1 МЛН
Harley Quinn's plan for revenge!!!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 28 МЛН
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 42 МЛН
Bony Just Wants To Take A Shower #animation
00:10
GREEN MAX
Рет қаралды 6 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 172 МЛН
Linus Torvalds: Speaks on Hype and the Future of AI
9:02
SavvyNik
Рет қаралды 153 М.
Linux Crash Course - Formatting & Mounting Storage Volumes
32:28
Learn Linux TV
Рет қаралды 237 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 985 М.
Do You Need A Separate /home Partition for Linux?
46:11
Joe Collins
Рет қаралды 54 М.
LVM | Logical Volume Management | Combining Drives Together
19:40
Chris Titus Tech
Рет қаралды 107 М.
How to clone drives using DD and GParted
14:09
ElectronicsWizardry
Рет қаралды 48 М.
The Clever Way to Count Tanks - Numberphile
16:45
Numberphile
Рет қаралды 914 М.
The Linux Experience
31:00
Bog
Рет қаралды 791 М.
How Does Linux Boot Process Work?
4:44
ByteByteGo
Рет қаралды 604 М.
Why UK 🇬🇧 is going Bankrupt? : Detailed Economic Case Study
20:37
Think School
Рет қаралды 1,3 МЛН
Harley Quinn's plan for revenge!!!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 28 МЛН