How to expand disk on Kali Linux (VMware)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello and welcome to another video from black arab in this video we're gonna i'm gonna be showing you guys how to expand your storage um on your kali linux vm machine so if you like this video on this type of content please like comment share and subscribe and yeah let's get straight into it um i will link my blog that i've written about this in the description but it's just on my website here so yeah we go through the whole process step by step all in here so yeah if you haven't seen this or you prefer the kind of written version instead of listening to my voice then just yeah i'll link this in the description check it out um yeah without further ado let's get started okay first thing you guys want to do is actually go into your vmware just to edit some settings so let me just open a vmware workstation player okay um okay so you want to select your machine and go into edit virtual machine settings um from this screen you want to go to hard disk there so the default here is 80 gigabytes so we're going to expand this to let's say 200 so if you wish to type 200 into here and just click expand it says the disk was successfully expanded you must re-partition the disk and expand the file system from within the guest operating system so we know that's done on the virtual machine side and we just click ok out here now we just need to actually go into the machine and um repartition the disk to make sure it works basically because yeah it's not that easy i wish it was but yeah if we just load up the machine yeah you just sign as normal okay so once you're on here um you need to open a command prompt okay first thing we're gonna do is we're gonna use a command called f disk dash l oh i need to be in pseudo okay so as you can see here these are our partitions um our memory essentially so um the linux swap um swap solaris and the extended are two kind of little partitions that we need to keep um we can't kind of delete these out and just make that bigger we just need to kind of um mess around in g parted which i'll show you in a second to do this as you can see we have 79 gig in this which is basically the 80 gig at this little partition of 975 megabytes but you can see the total we have available up here to say 200 gig um so it's just a case of expanding this to basically fit that so to do this we're going to use a command called g parted like this just g and then parted press enter and it will open up this little menu let's see if it can make this bigger let's get rid of that it's a little bit better okay so the first thing you're going to want to do is the linux swap here we need to turn this off by just clicking swap off um now you'll know that's off because that little kind of circle thing disappears um so as you can see we've got 120 gig of unallocated space which is just the extra space it kind of just added onto there in the vmware settings so what you want to do is you want to go to extended here first um you want to click resize or move and with this part you're just going to want to drag it all the way across like that and then just select that okay so as you can see this is kind of allocated that to the extended bit um that's not exactly what we want right now so we're gonna have to resize and remove the linux swap and this is kind of in the beginning of this unallocated space which is kind of stopping us from directly expanding the 79 gig because we've got this linux swap in the way so if you move this to the end select that you will get a little kind of warning but it's all right just click okay and as you can see that's moved to the end there so this unallocated space now be easy to expand but just before we do that we need to go back into here into the extended um and from here we need to get rid of this space so if we just do this um one thing to remember here is once you've done that you need to select cylinder on this side here and this drop down sorry there we go um and then once that is done you click back into dev sda1 extension 4 which is our original partition and then this should be able to just expand that way there we go and that's essentially done now with this you have these operations are pending so we haven't actually done anything yet we've just kind of told it what to do and we need to click this to apply the operations so let's just click to see if it was successful are you sure i want to apply blah blah blah yes there we go and that's all being done so we know that's been successful um so one thing we're gonna have to do quickly is just reboot so if we just open up our terminal again just type reboot um we'll just wait for that to quickly reboot okay we're on the login screen okay now just to check that's actually been successful we just go back to the fdisk out command and i forgot the permissions again okay f this dash l and there we go so as you can see this has been successful our size has indeed increased um and uh linux swap solar is um everything is still there so which is great so yeah you know that's been successful we now have more space in our linux uh vm machine so yeah if you like this video please like comment share and subscribe and if you haven't seen any other videos we've gone over a few command line basics um how to install how to secure your machine please go and check them out yeah um thank you so much for watching and have a nice day
Info
Channel: Salih Matsemela
Views: 2,352
Rating: undefined out of 5
Keywords: expand disk space, expand disk space kali, expand disk space linux, expand disk space kali linux, how to expand kali linux storage, how to expand kali linux 2020.4 storage, how to partition disk on kali linux, how to partition disk on kali linux 2020.4, kali linux, linux, kali linux 2020.4, partition, partition disk space, repartition disk space, repartition kali linux, repartition kali linux 2020.4, partition vmware, partition kali linux, expand kali linux
Id: NwpzYlfKnrY
Channel Id: undefined
Length: 7min 42sec (462 seconds)
Published: Wed Feb 24 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.