Problem:I have a VMware workstation 12 running the latest Kali Linux image, downloaded from offensive-security.com, by default recommended image size is 40GB, but now I have exceeded the memory and I needed to expand the size of the image's disc.While attempting to do so I have encountered a problem running the pvcreate command resulting in the following error: Device /dev/sda3 not found (or ignored by filtering).Research:I have looked online for solutions for this problem, on this forum and other forums but couldn't find the right answer to help me.I have followed the steps in the tutorial given on VMWare's website on how to expand the disc space on the virtual image. The link to the steps suggested:VMWare website linkand followed this tutorial i found on YouTube: YouTube video linkQuestion:How do I resolve this problem and what is causing it?Additional information:I believe I am using ext4 as the filesystem on my kali linux machine, (would be glad if someone specify me the right way to check this, i believe this might cause the problem as the VMWare website mentions the steps were specified for ext3 filesystem).output of lsblk: NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTfd0      2:0    1    4K  0 disk sda      8:0    0  100G  0 disk sda1   8:1    0   38G  0 part /sda2   8:2    0    1K  0 part sda3   8:3    0 1023K  0 part sda5   8:5    0    2G  0 part [SWAP]sr0     11:0    1 1024M  0 rom output of df --print-type:Filesystem     Type     1K-blocks     Used Available Use% Mounted onudev           devtmpfs   1010296        0   1010296   0% /devtmpfs          tmpfs       204856     6736    198120   4% /run/dev/sda1      ext4      39089504 36375684    705144  99% /tmpfs          tmpfs      1024276      376   1023900   1% /dev/shmtmpfs          tmpfs         5120        0      5120   0% /run/locktmpfs          tmpfs      1024276        0   1024276   0% /sys/fs/cgrouptmpfs          tmpfs       204852       16    204836   1% /run/user/132tmpfs          tmpfs       204852       16    204836   1% /run/user/0output of fdisk -l:Disk /dev/sda: 100 GiB, 107374182400 bytes, 209715200 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0xf9fbdc32Device     Boot    Start      End  Sectors  Size Id Type/dev/sda1  *        2048 79693823 79691776   38G 83 Linux/dev/sda2       79695870 83884031  4188162    2G  5 Extended/dev/sda3       79693824 79695869     2046 1023K 8e Linux LVM/dev/sda5       79695872 83884031  4188160    2G 82 Linux swap / SolarisPartition table entries are not in disk order.
Failing to expand disc space running Kali Linux on vmware
linux;kali linux;vmware