Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Upon trying to install Ubuntu 13.10 x64 in EFI mode on /dev/sda8 over an earlier (also failed) 13.04 64bit partition, I selected the partitioning option:

"Replace existing Ubuntu 13.04 installation"

Thinking that ONLY /dev/sda8 would be wiped, not the entire 500GB disk.

Clearly that was a misunderstanding....a disastrously unclear one, it turned out. Now ALL my other GPT partitions are gone: the OEM Windows 8, all the previous data/programs/user files, system, recovery, boot, 16GB Windows image rollback/restore, boot, EFI, etc.

No more "Windows Bootloader" option after F12 key upon BIOS bootup. Of course, No Ubuntu boot option is present either. Never was, always failed in mid-installation, even with 13.04 and 12.04 64bit versions. (Yet this is a new 6GB AMD laptop with new harddisk, four different USB keys or DVD install disks tested to rule out media failures, etc.)

In Live mode, off a USB key, Gparted only shows three new partitions, automatically made by the Ubuntu installer. The EFI boot area, the Ubuntu main, and swap at end. None of which are important to me in comparison to the old partitions and structure.

Question, How can I roll back to the previous GPT partition table? Where on the disk might be backups stored, and for the previous Windows bootloader too? What could make this recovery process easiest, since I cannot easily remove the harddisk from the laptop, due to the way it's built? Even if 7GB+ of random data might already be damaged.

share|improve this question

1 Answer 1

The short answer: Use your off-disk backups. If you don't have such backups, you now know why you should have them.

The long answer: It's possible that you'll be able to recover some of your partitions with TestDisk or something similar; however, this is far from guaranteed. TestDisk works by looking for the "signatures" of filesystems and creating new partition table entries to match, but these signatures may have been wiped out when Linux was installed -- after all, installing any OS means writing data to the disk, and at least some of that data is likely to overwrite any pre-existing data, thus destroying it. Note the word: destroy. It's precisely accurate. Even if filesystem signatures remain, it's virtually certain that some critical filesystem data structures and/or file contents have been destroyed. If TestDisk fails, or if the recovered partitions are damaged, you may be able to use PhotoRec or something similar to recover some (conceivably even most) of your individual files. This will be a tedious process, though, and you will not be able to recover a bootable Windows system in this way. For that, you'll almost certainly need to acquire a Windows 8 install disc and re-install the OS.

I'm sorry you had to learn it this way, but now you know to keep backups of your critical data.

share|improve this answer
I hadn't barely learned it this way. For years I've been shouting at the top of my lungs, that venders should provide off-harddisk install media, like Windows DVDs!! Microsoft is much to blame too...good luck trying to find 8.1 DVDs to fix the mess their upgrade caused (unable to complete, yet unable to revert back to 8.0, unable to fix automatically either way) –  Marcos Dec 15 '13 at 18:27
Most of my critical data (my entire Docs subfolder) is backed up almost in realtime via the Google Drive service, so at least that's covered. Including revisions. Instead, the real loss here are the countless hours of collecting, installing and tuning programs within the system, their configurations, media files too large to sync to the a cloud, and so on. Usually it's been easier for me to uncover and repair the damage. –  Marcos Dec 15 '13 at 20:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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