PDA

View Full Version : [ubuntu] Error in GRUB



sbratna14
October 23rd, 2012, 11:28 AM
Dear user,
My Ubuntu Linux was working fine. I have upgraded my Linux today but it couldn't boot after I restarted the machine. I tried most of the options but didn't get any success. Now, after restarting my PC, it directly goes to "GRUB" window with cursor blinking.
Could you please suggest how can I reboot my PC successfully.
At least the previous version of Linux is also OK for me.
I am realizing that it was a mistake to upgrade though everything was working fine with the previous version.
I am eagerly waiting for your reply.
SBR

Bucky Ball
October 23rd, 2012, 11:32 AM
You upgraded from 12.04 to 12.10 using the Update Manager method?

sbratna14
October 23rd, 2012, 11:45 AM
Thanks for your reply. I don't remember exactly the last version I used. The last time I upgraded was a year ago. Today I have upgraded online the current version. Yes, i used "Update manager" method.
Thanks.
SBR

Bucky Ball
October 23rd, 2012, 11:53 AM
You might try using Boot Repair. You can boot from a LiveCD and install it via Synaptics (yes, even in a live environment) or download the ISO, make a disk, and boot from that.

Run Boot Repair and see if it fixes but remember to post the report it creates if not.

sbratna14
October 23rd, 2012, 12:25 PM
Hi,
Thanks for your reply. As, I don't have boot repair live CD, I used Ubuntu live CD and I tried to repair the GRUB in command mode using the information from http://howtoubuntu.org/how-to-repairrestorereinstall-grub-2-with-a-ubuntu-live-cd/

Now, I restarted my PC and found different GRUB screen. I checked that the "grub.cfg' file is available inside /boot/grub/ directory. However, I am not able to boot my PC.

My present GRUB screen appears with the following information.

GNU GRUB version 1.99-21ubuntu3.4
Minimal BASH-like editing is supported......
Grub>

Could you please tell me how to proceed further.

Thanks.
SBR

YannBuntu
October 23rd, 2012, 12:47 PM
Hello
Please indicate your Boot-Info URL (https://help.ubuntu.com/community/Boot-Info).

dino99
October 23rd, 2012, 12:53 PM
the problem is that 12.10 use grub 2.0, and that one is so different that previous 1.99 and are not compatible.
so, when you are booted, open synaptic to purge ALL the grub installed packages, then reinstall grub-pc. Thats the first step, as the installed grub is 1.99 now.
Then boot on 12.10, and redo the above command, to get grub 2.0 installed.
Take care to let that grub 2.0 as the master bootloader if you also have some other distros with a non grub 2.0 installed.

sbratna14
October 23rd, 2012, 01:14 PM
@yannbuntu
Hi, Thanks for your reply. I shall try the boot repair and let you know the Boot-info URL.

Regards
SBR

sbratna14
October 23rd, 2012, 01:19 PM
@dino99
Hi, Thanks for your reply and suggestions. I am trying to follow but couldn't understand properly.
1) so, when you are booted....
Is this booting of my default Linux PC or with Live CD

2) open synaptic to purge ALL the grub installed packages, then reinstall grub-pc....
Could you please elaborate what exactly I need to do. Is this in GRUB command or Live CD.

Is this possible without Boot-repair.

Thanks.
SBR

YannBuntu
October 23rd, 2012, 01:44 PM
the problem is that 12.10 use grub 2.0, and that one is so different that previous 1.99 and are not compatible.

I don't have such problem on my system. Any bug report please?

sbratna14
October 24th, 2012, 05:59 AM
Dear All,
Thanks for your kind help and suggestions. I could successfully boot my PC using the 'boot repair' live CD.

Sincerely
SBR

Bucky Ball
October 24th, 2012, 09:03 AM
Excellent news and you're welcome. If all fixed please mark as 'Solved' to help others, from 'Thread Tools' at top right.