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 recently dual booted my sony VAIO having pre-installed Windows 8 with Ubuntu 12.04 using a liveCD, and Ubuntu worked fine. (I had done the needful as seen in Installing Ubuntu on a Pre-Installed Windows 8 (64-bit) System (UEFI Supported) and Ubuntu was working perfectly) By the way, I had pre-partitioned my Windows C:drive and during booting I just selected "Install Ubuntu along with Windows 8" and did not ask for any partitioning!. After installation, I even got the option to select windows or ubuntu during startup but windows wouldn't boot on being selected. So I selected 'boot repair' as shown in the link (using recommended settings and all). An option came there to remove grub and reinstall it. Everything went fine and I rebooted only to find:

GRUB loading error: invalid arch independent ELF magic grub rescue>

on typing ls

I get points like (hdX,gptY). I have found my file lies in (hd0,gpt12) but insmod linux does not work. On starting with my liveCD, nothing happens, I cannot boot from it and I get the previous screen only. Please help!

share|improve this question

Here is what you should do now:

  1. Go download boot repair disk from this link.
  2. Put it in USB via Unetbootin. OR you can always burn it to CD.
  3. Boot from the newly created media (USB or CD).
  4. Go through simple steps like selecting language etc. then 'Boot repair' dialog will appear; select 'Recommended Repair' and re-boot your PC.
  5. Now its done.
share|improve this answer

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.