Resize an extended partition with free space

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so what happens if our disk looks something like this and uh notice we have free space but it's not inside of the extended partition so if i try to hit new and say i want to use all that can't we don't have another primary partition so what we need to do is we need to resize the um extended partition so that we can make use of that free space so if you use the parted program and say print free this will show us our partition table and the free space that currently exists the free space that we care about i guess is here so it starts at 75 11 megabytes or whatever 7.5 gb and ends at 10.7 gb we want to change that so that it ends somewhere else so we'll do resize part partition number is four are you sure you want to do this yes where do i want it to end well i'll have it end at 10.7 gb the end of my free space and then as i do um print free it should show yep it's free space let's [Music] go i don't know if that's quite what i wanted but let's go over here to sudo cf disk ah yes now it shows that i have free space there so i can do a new partition and um maybe i'll do 100 meg or something and it automatically is a logical partition nice so then we can write the changes yes quit pseudo part probe reread the partition table and let's just show that okay so i have new sudo mkfs dev sda6 awesome so that's how you could fix it if you don't have any free space in your extended partition
Info
Channel: Dixie joe
Views: 26,746
Rating: undefined out of 5
Keywords: resize, partition, ext4, parted, cfdisk, extended partition
Id: vbZsrXoNZXI
Channel Id: undefined
Length: 2min 20sec (140 seconds)
Published: Fri Jan 15 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.