I really don't know anything about programming language or so. I was trying to edit a usb pen drive partition but accidentally cleared ubuntu system disk partition. I later tried to boot the system and it kept failing to boot. I have a dvd which I used to install ubuntu 18.04 in the first place but it doesn't seem to work now. I tried many ways and found out two errors, swap/swapfile error and dependancy error. I don't have any idea how to fix it. Please help me. I have an important exam in about a month. I cannot afford a pc now.


Use GParteD, but, you may first want to enable recovery function on this application,

also you can try to install gparted if not is installed using software

"sudo apt update" && "sudo apt install gparted -y"

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.