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 am using Ubuntu Server as a SMB server at work and two days ago I have tried to upgrade it to 12.04.

After reboot, I got this

grub_xput missing
grub rescue>

and all attempts to start from this prompt failed (missing components, although grub directory is normally set as prefix).

My system sits and boots on an LVM (soft raid-5).

I have read almost all posts in many forums, tried grub rescue, boot-repair, ubuntu-secure-remix with boot-repair but without positive result.

This is the log of my last (and best so far) attempt to fix this system.

Any suggestions? Please help.

share|improve this question


The space before your first partitions is 32.3kB (63 Sectors x 512bytes), which is not enough for GRUB2. You are affected by this bug:


  1. Either increase this space via Gparted from 32.3kB to 1049kB for example, for all your disks (sda, sdb,...). Then use Boot-Repair to reinstall GRUB2 in the MBR of all your disks.
  2. OR use Boot-Repair --> Advanced options --> GRUB options --> GRUB Legacy. This will probably work (because GRUB Legacy needs less space), but i don't recommend it because GRUB Legacy is obsolete.
share|improve this answer
Thanks for you answer! For Nr. 2 solution, I will try it as last resort. For Nr.1, GParted does not (yet) work with LVM. Is there another tool I can use to move the partitions, which supports LVM? Dare I ask for a GUI tool? – Vagelis L Oct 5 '12 at 12:37

And to complete Solution 1, GParted can also be found as a Live CD

(because, you know, LVM and RAID are only on alternate Ubuntu Boot CD, and Gparted is graphical which means desktop Boot CD...)

share|improve this answer
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – hexafraction Oct 14 '12 at 17:06

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.