Linux and Windows dual boot - resize partitions with GParted
HTML-код
- Опубликовано: 11 сен 2024
- More on the blog: bit.ly/3thfR0C
Increase partition size for Linux, when Linux and Windows are installed on the same harddisk or SSD.
We use GParted to repartition the harddisk and change the partition sizes for Windows and Linux.
Hi Andy, I was searching for this after creating a dual boot machine. I rarely have to do any work with partitions (even less so with Linux), so this video was 100% what I needed.
I followed your instructions and now my Linux partition is double the size. Thank you for such a great video!
Thanks for the feedback. 🙂
As a begginer ubuntu user, I had no idea what I was doing when I allocated 28 gigs for my linux sys partition. Just like
balgxmr I was searching for a fix like this and here we are. Problem solved. You are the best! Kudos!
Im a developer who is new to linux and i was so scared to lose all my projects, thanks to you!!! Everything works amazing :}
Thats the trust i felt sir :P Thank you a lot again.
goat adam
In my case (Lenovo Legion Y7000) i had choose "other modes of gparted live " then "gparted live (safe graphic settings vgo=normal). Thank you so much for this video
Thanks for the comment! I had to use the same option for my dell 5570
Same here on a Lenovo ideapad gaming 3.
So underrated. I was searching a lot for this fix! Thank you very much, appreciate the time and effort, straight to the point and very well explained ;). Like and sub.
I went through some videos with no results, but yours helped me a lot, clear and well explained. Big thanks to you sir. Keep up
I finally did it, it's 23:23 here and I spent the whole day investigating about this. Thank you so much!!
Concise complete explanation . Thanks for this.
Saved it! I never comment on RUclips videos but this one is soo good. Keep up the good work boss!!
So straightforward and yet thorough. Great job, I will keep an eye on the rest of your work. Greetings from ARG ;)
Thank you so much for the tutorial, went perfectly well. The only thing that I think it lacked on commenting was when exiting the Gparted, we need to choose the option 'Reboot'. Besides that, solid tutorial, the best one I could find!!
Thanks for the feedback, yes you are right. But in general you can just reset / shutdown your computer after the operations with Gparted are done. Gparted runs from memory, so there is no harm doing that.
Thankyou so much. Very simple and easy steps to follow. For those who are saying it didn't worked try doing it in AHCI mode instead of RAID On in BIOS SATA Hard drive controller.
Thank you very much - this solved my exact problem. I first freed up space on the windows side because I was worried GParted wouldn't play nice with Windows. Thanks for clarifying the confusing key table option during start up. I did not have to reinstall Grub/dual boot either. I took out the USB too soon after exiting GParted, causing all sorts of error messages, but nothing was affected.
I had suffered for 1 week. I just came across this tutorial and it worked so damn fine. Thank you. More love ❤️❤️❤️ from Africa
Worked as it should! In my case I had to use MBR but everything else was as on the video. Thank you for clear and detailed tutorial.
Thanks a lot.... I gained real confidence after watching your video, followed the steps and now I a lot of storage on my ubuntu partition....
to prevent windows from wondering where the space went when you free it up in gparted, you can firstly shrink your windows volume in windows disk manager and it will be already prepared to be resized for the linux partition
this helped me.. it kept failing in gparted until i tried this out and it worked fine afterwards
Worked for me after troubleshooting some chkdsk issues when initially running the Gparted bootable disk. Dropped a like and thanks for the video!
Thank you so much! I was frustrated for days until I found this video.
Thank you sir. After watching your video i was able to extend my linux partition without any flaws! Windows 11 and linux both boot!
Precise and straightforward. Just what I wanted. Thanks
I found that there was 50gb allocated to neither, thank you so much!
50GB for free xD
The screen stuch after slecting gparted live (default settings) with a background image of disks, I made my pendrive formatted fat32, 512bytes size and flashed the diskarted live completed succussfully without any error though?
Same as me
Thanks for the straight forward tutorial. It helped heaps. I will definately keep the iso on the usb for later use.
Many thanks for this complete and clear explanation which allowed me to extend my Linux partition in a straigthforward way. Pascal
informative and right to the point, thank you!
Did you lose your data?
@@nembilwiwamashudu7692 No
Excellent presentation. Thank you. It has cleared up some questions I had. Cheers
Thank you very much. This video helped me to increase the size of the Ubuntu partition after dual boot. Keep it up.
Worked perfectly for me. I'm using garduda dual boot with Windows 11. Thank you!
Well, it didn't work in my case using Gparted. The Linux slider box gave no room on either side to move into the unallocated Windows space. I could move the slider handles, but not the box itself. I had no luck inside Windows 10 either. So, I discovered a partition tool called *Easus* *Partition* *Master* (free version) that allowed me to expand the Linux partition right within Windows 10 itself. It was so simple and easy like the name says. It uses the slider handle to just slide left over the gray unallocated space gaining size as it moves. So glad I found it!
Thanks bro, life saving comment
ohh thx
Thank you so much for this simple, quick, and easy to follow tutorial 🖤
I had to use the recommended setting, as the DD setting you showed did not work for some reason🙏
I followed every step, but I could not expand the Linux partition, it is greyed out.
Thank you so much for this clear and precise tutorial!
Thank you very much. This is simple and perfect demonstration.
Thank you so much for this. I managed to increase size of my Ubuntu 22.04 on dual boot.
Gparted default setting not showing anything its stuck with single underscore .what should i do?
At what point of the video?
@@ekiwi-blog-englishsame for me at 4:36
Did the exact same steps and have a black screen with just one underscore
@@ekiwi-blog-englishafter testing this out, i had to click on «other modes» and start without graphics
after watched many indians finally white man helped me
I had an error where gparted said that "ntfsprogs/ntfs-3g" was missing. I solved it by changing the windows partition from ntfs to fat32 -> apply, then resizing partitions as needed and switching the windows partition back to ntfs -> apply. This is probably not the recommended way of solving that issue but i thought I might share anyway.
this was awesome. previously I try using another method which use live ubuntu to acces gparted and resize windows partition from windows but that give me some error, with this there is no error and can run smoothly
THANK YOU MAN YOU ARE A LIFE SAVER THANK YOU SO MUCH!!!!!!
everything that could go wrong, went wrong.
first of all, i have a /boot partition that i have to delete because i cannot move it. i copied it to somewhere in linux , hopefully if i make a new boot partition and copy paste it later, it will work properly!
second, when i launch it, it says "unable to open display" - the visual mode just lags and never shows anything besides debian linux cli where i cannot do anything besides press ctrl +alt + delete to reboot my pc. i tried command line mode but guess what. i can't even type reboot or shutdown, it says it cannot connect to the bus!
i am afraid to break anything but i still do that. i will keep trying for a bit and i will stop trying eventually
Best way to do so. after couple monthes of suffering of leak of space finally made to increase it. Thank you so much
Hi.. I did exactly the same.. But while restarting pc, I don't see any gparted option in boot menu.. I simply got ubuntu, windows options only.. What to do?
You need to enter the UEFI/BIOS menu: typically every computer producer has its own dedicated key to be pressed at boot time to enter BIOS. Look up for your manufacturer info and you should be able to do it.
legend, thank you so much for the simple instructions
If I could give you more likes I would 😭. You have saved me❤
thank you, figured i needed to load the USB version of Manjaro live disk instead of in either windows or Linux.
Tried this but usb doesn't boot (computer just starts like always). What am i doing wrong?
Nevermind, repeated the same thing again and now my Linux is three times its previous size. Time to fill that bad boi up with code!
Fantastic video! Very helpful
Thanks mate. Its so helpful
Thank you very much 🙏 It was really helpful and simple guide. Once again thank you
Note to self: remember to boot from a disc.
Thank you. I found this to be very useful. 😀
Good job, thanks you
IN MY CASE (lenovo thinkpad) i had to choose "other modes of gparted live" then "gparted live (safe graphics settings, vga=normal) then it worked. In my case there were also a partition between the one i wanted to extent and the free space so i had to move the partition who was between at the end.
Thank you. In my case this is working only by this
Thanks for the video! Works perfect!
Thanks for keeping it post
Great tutorial, worked for me
Thank you very much this video was very very helpfull
On point. Very much helpful. Thank You! 😊
That halped me about my problem sir,I Soo love you🗿
Thank you so much! Worked well
I could only increase my Windows partition using GParted from a Mint live pre install USB Drive. Now Windows 10 and Mint both still work.
Thank you so much for this tutorial❤❤❤❤❤
used rufus to get the iso file onto the usb drive, plugged it in, spammed esc to enter bios and went to boot menu, but i can't find gparted there, just ubuntu (mint) and windows, how do i fix this?
I assume you have Mint and Windows installed and it does not recognize the USB drive? One option is to try again with different settings, use MBR instead of GPT or vice versa.
Thank you so much sir, you helped me out loads
You can safely move your efi and swap file if available too
Thanks, finally i can increase my Ubuntu's root ✨
hi not sure why i cannot acces to go into the gparted after done
There is an additional partition in between my newly created unallocated partition and Linux partition. Thus unable to merge unallocated to Linux...what to do
How big is the partition? Does the partition have a name or file system type?
@@ekiwi-blog-english the partition in between them is of 600MB
@@saurabhtripathi2598 Hard to tell why that is the case, its only 600 MB so maybe it is best to just ignore the partition and leave it as it is.
Thank you for the excellent guide, but I have a problem, when I boot with flash that has live gparted I get error: set_second_stage() failed: Invalid Parameter
Something has gone seriously wrong: shim_init() failed: Invalid Parameter , I tried several variants on rufus but did not help, any suggestions? I also have dual boot with grub, Kali Linux and WIn 10, maybe I can just use gparted in Kali or there's a chance to break stuff?
You can try another tool for creating the USB flash drive: unetbootin.github.io/
Thats the only idea I have right now.
excellent explanation 🔥
Very helpful, thank you
At 5:18 when I hit enter I get stuck at this screen forever. Any idea how to fix?
You can try different start options in first menu:
imgur.com/a/W0Jpy2y
In my case, it sometimes takes an awful lot of time before anything happens. Just did a test on one of my computers here, it took over 10 minutes.
Good luck.
Wow very nice video, thanks ! Is it the same to reduce the space from the Linux partition ?
Sorry for the late response, I tried it out, it works the same way:
ekiwi-blog.de/en/23824/windows-and-linux-dualboot-shrink-linux-partition-with-gparted/
@@ekiwi-blog-english thank you very much
Worked for me fine! ❤
thanks a lot for this video !!!
Thank you bro
Thx. That helped me ;)
5:26 that unllocated 2 MB why is that? I also have that but it's 10MB...
Edit: Is it possible that this is GPT table backup?
Answer von ChatGPT 🙂
The small unallocated space you’re seeing, whether it's 2 MB or 10 MB, is a common occurrence on modern hard drives or SSDs. This space is typically reserved by the system and can serve various purposes depending on the configuration and the disk's partitioning scheme.
Reasons for Unallocated Space:
Partition Alignment:
This small unallocated space is often created to ensure proper alignment of partitions, which can improve performance, especially on SSDs.
In some cases, disk management tools or operating systems create this unallocated space during the partitioning process to align partitions on specific boundaries.
GPT Partition Table:
If your drive is using the GPT (GUID Partition Table) scheme, a small amount of space (usually a few MBs) might be reserved to store the GPT itself or for backup purposes. GPT stores two copies of the partition table (one at the beginning of the disk and one at the end), which might leave a small unallocated space.
System Reserved or OEM Partitions:
Sometimes, OEM manufacturers or operating systems leave a small unallocated space for potential future use, like system recovery or special tools.
GPT Table Backup:
Your hypothesis about this being related to the GPT table backup is plausible. The GPT partitioning scheme does indeed reserve space for a backup of the partition table. However, typically this backup does not require 10 MB. It's more common for this space to be in the range of 1 to 2 MB, but variations can occur depending on how the disk was partitioned.
I got an error “Could not resolve symbol _TZ.THRM._SCP.C” and “invalid config param 0014”.
Can anyone please help?
At what point of the video are you getting the error?
@@ekiwi-blog-english nvm i resolved it
how did you solve it? i have the same problem
@@astroflexx82
at 6:24 i can't move my ubuntu dist to the left even though it's already next to it. any help?
Is available free space on the left side of the ubuntu partition?
@@ekiwi-blog-englishyes, but it doesn't show up when I click on resize
Thank you so much!!
Can i use this for home to root partition
Dude Thank You!! ❣️
Nice explanation, thank you. Do you think it will work if my linux (debian) partition is encrypted?
Sorry no idea, never tried that.
Question: Is the 100mb boot/efi/
partition enough? I let Linux choose the ubuntu partitions itself.
Never had any problems with the partition or this size. So I recommend leave it as it is.
@@ekiwi-blog-english Thank you!!
i have a problem, because i need to do the opposite; i need to make the windows partition bigger and the linux partition smaller but idk how
It is very similar, check out our newest video:
ruclips.net/video/rGnLEl8E5GI/видео.html
Thanks it works
Worked for me
Thanks for the video ! I would like to resize the linux part to allocate more space for the windows part. Why we can't resize the linux part directly on ubuntu partition thanks to Gparted app which is already installed on my ubuntu ? Thanks ;)
It is best, when the partition is not in use.
@@ekiwi-blog-english thanks for your reply. In my case what can i do ?
@@user-nt8ok Like shown in my video, create a USB drive, boot from it and change your partitions.
@@ekiwi-blog-english thanks sir !
Thanks a lot 🙏 it's worked for me..
after choosing the mode where you click enter, it showed some stuff just like in the video but the screen suddenly turned black with nothing. can anyone help?
Try a different video mode. There should be something with safe video mode. Maybe this works better.
Huge thanks!
This works with any Linux distribution, yes? I am currently using Ubuntu.
Yes, this should work with every Linux.
While starting gparted live i get an error cannot open /dev/mem operation not permitted
Sorry, no idea, I never got this error.
@@ekiwi-blog-english i figured it out. had to update my bios and turn off secure boot 🤣
@@djuka8121 Oh that is interesting, good to know.
I have 2.25GiB unallocated. Can this be added to my EFI System Partition/boot partition?
Hard to tell from here, it depends where the unallocated space is. If its next to the system partition the system partition usually can be expanded. This should also be possible in Windows directly if the space is directly on the right hand side of the system partition.
is it possible to put linux partitions inside windows extended partition ? it seems that linux installer reporting 4 primary partitions as max for my fs (i have 2 hidden/system partitions + drive C primary/boot + drive D extended/logical)
This should be possible according to this forum thread:
askubuntu.com/questions/136035/can-i-install-ubuntu-on-a-logical-partition-what-will-be-the-advantage-or-disa/136064#136064
@@ekiwi-blog-english Great, thanks for the link and for the video tutorial.
Dude, I just spent about a week looking for an alternative to acronis. I tried 2 other programs... EASEUS... and I forgot the other one. But, they didn't partition and format my old hard drive. When you install windows it puts those small system partitions on the disc. Neither one of those worked..and I'm sick of acronis..acronis runs 12 + processes in the back ground and it's just too much. I downloaded the ISO burned it and I have my old hard drive back.... WOW thanks linux :)
Thanks... Man.....🙌🏻🙌🏻 i did it😇