My partition dev/sda2 almost ful 79Gbl, when extend, I mistakenly resize the partition to very large size (1TB). Successfully the partition extended to 1TB. Then I continue tried to delete the partition and resize it shrink back to previous size using fdisk. I follow the start sector number and end sector number followed from both previous number (I record it before extend)
However, after reboot, the server repeating show initramfs mode. "Bad geometry bla bla bla, block number exceed than device boock number". Also I cannot use any command such as fdisk, fsck n etc. The output show "not found". I dont know how to fix it. Can someone help me?
My OS is Ubuntu 18.4