0

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

  • " Also I cannot use any command such as fdisk, fsck" these are not initramfs commands. – guillermo chamorro Jul 3 at 16:27
  • " continue tried to delete the partition and resize it " You deleted the partition? No point on resizing, the data is lost. Use gparted, create anew partition altogheter – guillermo chamorro Jul 3 at 16:29
  • If you have valuable data first try testdisk to recover partition before going any further. – WinEunuuchs2Unix Jul 3 at 17:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.