LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Boot Loader - error 15 (https://www.linuxquestions.org/questions/linux-newbie-8/boot-loader-error-15-a-925263/)

rpaigavan 01-23-2012 09:34 AM

Boot Loader - error 15
 
Hi all,
I have installed Ubuntu 11.10 on my system, previously i was using Windows XP.
I have installed Ubuntu on the same drive where XP was.
Now I have only one OS i.e. Ubuntu.

The problem is that,
whenever i boot, i get an boot loader error 15.

i have searched for the solution,
so i came to know about /boot/grub/menu.lst file, which is not present on my machine.

Please, help me to repair current boot loader settings, or
tell me how to re-install boot loader.

Thanks
Rahul.

bigrigdriver 01-23-2012 10:08 AM

The grub2 manual has this to say about your problem:
Quote:

File Not Found (Error 15)

This error is the result of a GRUB 2 installation to /boot but a Master Boot Record ( MBR ) that points to a different partition/location that contains Grub Legacy. This can happen if you don't select your drive when running sudo upgrade-from-grub-legacy. Shortly after starting this command the user will be asked to select the device (sda, sdb, etc). Highlight the drive and press the space bar to select it when presented with this screen. Failure to select a drive will result in an Error 15.

Reinstalling Grub2 and allowing the MBR to be changed so that it points to the partition containing Grub2 can easily remedy this problem.

To recover from this error, GRUB 2 must be reinstalled. Go to Reinstalling from the LiveCD for instructions.
You can find the grub2 manual here: https://help.ubuntu.com/community/Grub2

Aagam 01-23-2012 10:29 AM

what you can do is
Code:

sudo apt-get install grub2
sudo update-grub2

this will install grub2 on your device and add entries to menu.lst....
anyone correct me if i am wrong...plz :)

bsat 01-23-2012 11:46 PM

@agam, that would be possible only if you have system up and running which I don't think is the case with OP. You will have to follow the steps to do it using a live cd as given in the link by bigrigdriver

Aagam 01-24-2012 03:59 AM

i agree bsat


All times are GMT -5. The time now is 06:47 AM.