Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I change the partion of the system with Geparted in the liveusb, ignoring some warning. Then reboot, 'grub>' appears but I can not find the boot or grub folder anymore. Afterward, I reinstall ubuntu and I pay a high price. Then I want to learn a better way rather than reinstall when one comes into this case.

share|improve this question

One option you could try would be to use a liveCD to restore your /boot directory, however this probably isn't the best idea.

Realistically, I'd save any important files from the disk and reinstall - the /boot folder contains various kernel versions and other important stuff, and if you incorrectly 'repair' it, you could cause even more issues.

share|improve this answer
Thanks! yeah, that is what I did, but it takes heavy price too. So I search for a better choice. – Eden Harder Aug 14 '13 at 7:13

In case you had not written anything on your hard drive you may be able to recover overwritten partitions using testdisk Install testdisk:

Recovering Partition Tables
If you accidentally overwrite your partition table, there is a chance that you might be able to recover it.
The testdisk application is designed to help recover lost partitions. For more information about testdisk, see Gparted help

Please follow the concise step by step guide from the makers of TestDisk to do so.

share|improve this answer
Thanks! It's very helpful. But I can not come into my system before I reinstall it. – Eden Harder Aug 14 '13 at 7:19
TestDisk must be run from a live system. – Takkat Aug 14 '13 at 8:11
what about a livecd or liveusb? – Eden Harder Aug 14 '13 at 9:57

What do you do if you break/lose/delete Grub? Reinstall it! You'll need a LiveCD and the willingness to read some instructions.

There are many alternatives but BootRepair works well and is fairly simple and when that's not enough the chroot method will let you do anything else (and is a very handy technique to know about for future issues).

share|improve this answer
/boot also contains kernels; reinstalling GRUB2 will not restore them--they must also be reinstalled (or their files copied back, if there is a backup). – Eliah Kagan Aug 14 '13 at 9:23
sudo update-initramfs may help here but you'll need to follow the chroot method (as above) until just before you grub-install (so just after step 9). Verify that /boot has been partially restored and then carry on with the grub reinstallation. – Oli Aug 14 '13 at 9:48
@Oli Thank you very much! +1 – Eden Harder Aug 14 '13 at 9:59

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.