NOTE: It is a UEFI dual boot with Windows 8 AND Ubuntu GRUB is set as default bootman.

I am looking to do a reinstall of Ubuntu since I accidentally apt-get removed system packages. I cannot drop to Root shell and do sudo apt-get install --reinstall Ubuntu-desktop because it gives me a few errors saying that critical dpkg config files are missing or something like that. If possible, I would just like to reinstall rather than remove and install, as this would save my files (the files have been backed up on a Windows 8 partition.) And if I would need to reinstall, can I just remove the partition and then reinstall via DVD and Ubuntu GRUB would work, or would I have to set Windows 8 as my default UEFI boot manager?



  • I hope someone will correct me if i am wrong, but i thought that with the ubuntu install disc you can also repair a installation of Ubuntu. In that case your files would remain and your installation repaired so it is bootable again. For reinstallation you could remove the partition and reinstall, but you can also simply choose to reinstall from the Ubuntu install disc. You can choose a new installation overwriting your old one. But i would try the repair option first. – Erik Mar 9 '14 at 0:40

First backup your documents onto an external disk (USB or DVDs), then boot on your Ubuntu disk and follow this procedure from the Community Documentation.

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.