grub_xputs not found error occurs when grub is installed in any partition other than the MBR. This blog post targets those who upgraded to Ubuntu 10.10 from Ubuntu 10.04 using the software upgrade option and who does not have a live cd with them.
Solve grub-xputs not found error without a live CD
1 Go to Supergrubdisk website and download SuperGrub2 Disk (1.44MB)
2 Burn It to a CD or a USB and boot from that medium.
3 Select default from the options menu that is displayed
you will be booted using the misplaced grub.
Now if you want to know about how I got the error in the first place and how the solution came to me please read on…….
My Story
About 2 weeks after the release of ubuntu 10.10, I decided to upgrade my laptop from Ubuntu 10.04 to 10.10. Even though lifehacker said there were not much ‘must have’ feature in Ubuntu 10.10 I decided to give it a shot.
I have free net access on my 2 Mbps connection from 2 am to 8 am hence I started upgrade at about 4 am when I got up. It downloaded a total of 1.3GB files and took about 2 hrs for installing alone.
The upgrade was completed at 9 am. The long 5 hr installation was contributed by my delay in answering questions put to me by the system ( coz I slept in between).
During the installation I made a foolish mistake, I selected the Linux file system partition as the grub installation point instead of the MBR. The next thing that popped up when I pressed the return key was that “This is a bad Idea”. In fact the whole decision of upgrade was ‘bad idea’ but more on that later. Still the installation completed successfully.
On the reboot my sytem got stuck at a new command prompt which was named grub rescue, after displaying an erro saying that grub_xputs is not found.
As I was upgrading from Ubuntu 10.04 to 10.10 from within the OS I had no live CD with me. So boot up from live CD and reinstalling the grub was out of question at that moment. I tried to download a new Linux installation image from Ubuntu site but it was being downloaded at a staggering rate of 20Kbps at the moment.
I calculated that it will take about 11 hrs to complete the download and reinstall grub.
So I began searching for other solutions, wandered lot in ubuntuforums but most of the options I got was using the live CD to rescue the system.
Then the solution came to me. Supergrubdisk website.
This website offers solutions to boot problems in systems using grub. I had three options there
Option 1. Rescatux
Download size 334 MB (= 5 hrs download). This file is able to repair all boot problems. It can repair, find missing grub and do just about anything on the grub.
Option 2 SuperGrub2 Disk
Download size 1.44MB(Floppy???). This would search and find any missing grub in the system and boot using that grub to an already installed OS. A good option for me as I accidentally misplaced my grub. This option work for Grub2 which is the commonest boot loader now a days
Option 3 Super Grub Disk
Download size 4 MB. This would fix grub(also called legacy grub not used much now) but not grub 2(My grub). but can boot to any system.
I opted for the second one.
Downloaded the 1.44 MB file burned it to a CD and booted from it. An option screen popped up on how to boot, I selected the default boot option. The program searched for the missing grub and booted from it.
After Logging into my system I reinstalled the Grub and on reboot my system was booting up like nothing happened…….ever.
Hello. I had almost the same experience as yours.
ReplyDeleteI used a live cd and chroot into my system. But
using grub-install would not work.
I installed grub2 in the same place as my system did (not MBR).
Could you plz list your operation of grub install?
Thanks.