I'm using ubuntu 18.04 LTS in virtual box and has only one partition of dev/sda1 inside vdi
increased the size of vdi from 175GB to 180GB through virtual media manager
booted ubuntu and tried to resize the sda1 using cfdisk command.
checked whether above command resized the partition using df -h command, but it showed old size
So, used fdisk w command & restarted the virtual ubuntu.
As per my understanding it converted the filesystem from ext4 to msdos.
Can someone please help me