Expanding Disk Size for Ubuntu in Dual Boot System – Windows + ubuntu

Expanding Disk Size for Ubuntu in Dual Boot System – Windows + ubuntu

Issue: Using windows 10 and Ubuntu 18 Dual boot system. Unfortunately, the disk space for Ubuntu reached 100% and was not allowed to boot Ubuntu.

Error : Started Hold until boot process finishes up.

Assumption: There is enough free space in Windows Partition. And also found disk space in Ubuntu is consumed 100%

Steps involved to Resolve:

  1. Boot using Hiren Boot CD

Download Hiren Boot Media : https://www.hirensbootcd.org/files/HBCD_PE_x64.iso

Burn to USB Flash Disk : https://www.hirensbootcd.org/usb-booting/

Run one of the Partition tools

  • Macrorit Partition Extender  – Used this to shirnk Windows partition
  • AOMEI Partition Assistant – Used this to move the Linux partition right after windows partition

 

Reboot PC

Boot to Ubuntu Recovery Mode

 

Mount root in rw mode (Only if necessary) –

      mount -o remount,rw /

 

Mount all  :: This is necessary if /home

      mount --all

 

run parted tool

Check the partitions by running print command

 

 

 

 

 

To Verify run the print command

 

 

Now run below command to update the file system and restart the system

sudo resize2fs /dev/sdas   

Now you check df -h command and you will see the HDD size is increased.