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.

I attempted to upgrade from 12.04 to 12.10 last night. Installation seemed to go fine, and this morning I had a message like "restart now to complete installation". So I restart, get an initial "Loading Operating System ..." message, followed by "error: file not found. Then it kicks into "grub rescue>" mode.

Previously I have this running as a dual boot (window 7) and I just ran the upgrade to 12.10 via the update manager in ubuntu. Any ideas on what is going on here, or what the error means? I know my way around the command line, but this is above my pay grade. Thanks for any advice.

share|improve this question
1  
Try to use the boot-repair tool to fix the problem. It wants only a boot from LiveCD/DVD/USB of Ubuntu and "Try Ubuntu" and then apply 2 commands in terminal. Follow the instructions. –  NikTh Dec 14 '12 at 21:45
    
Awesome, thanks NikTh, need to get my hands on a boot disk and I'll give this a try. Thanks! –  Greg Dec 14 '12 at 22:54

3 Answers 3

Personally I've never had any luck upgrading Ubuntu. Its always best to do a clean install. The problem is grub and the mbr (I think, can someone confirm this). A good tip is to have /home on a different partition so you don't lose much if you have to nuke you OS. Back to your original question one of the best tools for fixing grub is rescatux. This will almost all grub issues.

To you rescatux:

  1. Burn to usb of dvd
  2. Boot the device
  3. Follow the on screen instructions to fix grub
  4. Reboot
share|improve this answer

It looks like you might just have a UUID problem. So it might be a good idea to try this by booting from USB including live Ubuntu, Parted Magic, Rescatux, etc. (see, for example, http://liveusb.info/), starting Gparted to check the UUID of your Ubuntu partition against the value in the file /etc/fstab in that Ubuntu partition on your hard disk. If UUID values are the same, you can then move on to "boot-repair" and then "rescatux" as mentioned.

share|improve this answer
    
Thanks so much for the response Sadi. I ended up trying what NikTh recommended and it worked great. I booted into a USB thumbdrive, installed boot-repair and it fixed my grub issue. –  Greg Dec 15 '12 at 18:11
up vote 0 down vote accepted

All of these answers were helpful, in the end I used the boot-repair tool to fix my issues.

share|improve this answer

Your Answer

 
discard

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.