LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   just installed Ubuntu 5.10 and it freeze with the message: GRUB.... error 15 (https://www.linuxquestions.org/questions/ubuntu-63/just-installed-ubuntu-5-10-and-it-freeze-with-the-message-grub-error-15-a-450031/)

keiwu 05-30-2006 05:03 PM

just installed Ubuntu 5.10 and it freeze with the message: GRUB.... error 15
 
HI:
Originally my computer has windows XP installed on one partition, I installed Ubuntu 5.10 on the other partition. Everything was fine during the installation and I can go to X-window the first time. Then I want to go back to XP, and I restart the computer and select the XP option so I goes to XP no problem. Then later I shut down the computer and restart the computer again. This time the menu for me to choose which OS to enter is gone, instead I got the message: GRUB missing... errro 15.

What's that? How can I fix it? Thank you!

randell6564 05-30-2006 05:15 PM

'Grub' Is your Boot loader.

I would try reinstalling

craigevil 05-30-2006 05:38 PM

Stage2 errors - GRUB Manual
http://www.gnu.org/software/grub/man...e2-errors.html

Reinstall GRUB either using Ubuntu or a LiveCD like Knoppix.
Mount the partition (provide the correct HD notation for hdax):
# mount -o dev,rw /mnt/hdax

If it's already mounted, remount it like this:
# mount -o remount,dev,rw /mnt/hdax

Now, restore grub like this:
# chroot /mnt/hda1 grub-install /dev/hda

If the chroot method doesn't work, try remounting as outlined above and do:
# grub-install -root-directory=/mnt/hda1 /dev/hda

keiwu 05-30-2006 05:52 PM

I tried to install the Bootloader using the UBuntu 5.10 CD, but it seems that it doesn't have the option for me to choose for installing the bootloader. All I see is a fresh installation. So I can not go into the command line to type the command as mentioned above!

randell6564 05-30-2006 06:02 PM

Thats what I thought.

Thats why I said to try reinstalling.

I believe that you will have the boot loader options towards the end of the ubuntu install.

In any case, I KNOW that ubuntu 5.10 offers grub boot loader options!

You said that you JUST installed ubuntu so you should not have an issue with Reinstalling.

Place grub on your windowz partiton...

good Luck!

keiwu 05-30-2006 06:11 PM

yes, I can install it again.
However, I've done some settup in my first start of the x-windows; I don't want to do it again.
I will check it again to see if I can find the option to install the bootloader.
and I wonder if the Fedora core 3 CD will help in this case because I saw that they have the bootloader option.

randell6564 05-30-2006 06:37 PM

Quote:

Originally Posted by keiwu
yes, I can install it again.
However, I've done some settup in my first start of the x-windows; I don't want to do it again.
I will check it again to see if I can find the option to install the bootloader.
and I wonder if the Fedora core 3 CD will help in this case because I saw that they have the bootloader option.

Not sure about fedora core, But I have recently installed ubuntu 5.10

And there IS a 'BootLoader' option.

Im not sure that I understand...

You DID say that your dual booting correct?

What exactly do you mean when you say, "I've done some setup in my first start of the x-windows..."?

The BootLoader option is towards the end of the install process...

Unless I'm Crazy! Which Is a possibility!

craigevil 05-30-2006 07:53 PM

Do you have the install cd or the livecd of Ubuntu? Or is there any difference anymore?

If its a Livecd just follow the commands in my previous post to reinstall GRUB without having to go through the whole reinstall process. Just make sure you know which partition is the MBR (usually hda)

randell6564 05-30-2006 08:26 PM

Quote:

Originally Posted by craigevil
Do you have the install cd or the livecd of Ubuntu? Or is there any difference anymore?

If its a Livecd just follow the commands in my previous post to reinstall GRUB without having to go through the whole reinstall process. Just make sure you know which partition is the MBR (usually hda)

CORRECT!

The only reason I suggested a reinstall is because you cant have much of ur own files on ubuntu since you JUST installed it AND...

Ubuntu installs pretty fast!

If I am not mistaken 'Craig', Ubuntu will figure out what partition is the MBR.

Then 'Keiwu' can just tell it to install grub to that partition.

AND...

A new install of ubuntu will not affect your windows system!

AND...

If you installed Windows first, (which is always a good idea when dual-booting...

Then your MBR is DEFINATELY on HDA!

keiwu 05-31-2006 12:06 AM

Yes, I have the installation CD of Ubuntu.
And I had XP for years, and this is my first time installing Ubuntu.
I need to find out where is the option of "installing GRUB" located.
Or how to get to the command mode so I can type what you guys just said to fix the problem.
I think I had the problem with Fedora core 3 b4, and they give you the option to choose to just install the boot loader. However, I may just reinstall a whole new version of it.

randell6564 05-31-2006 09:10 AM

that would probably save you some headaches!

I am installing ubuntu on a test box as I type for the purpose of finding the bootloader options!

I will get right back to you with the results!

randell6564 05-31-2006 10:04 AM

'Grub' AND 'Lilo' bootloader options are located at the bottom of the 'Ubuntu installer main menu' which will pop up on its own.

Just wait for it, choose to install Grub or lilo and you will be taken to a screen that gives you the option of installing the bootloader to the MBR.

keiwu 05-31-2006 02:01 PM

let me try it again! Okay, I see the options now. However, it just take me to the partition screen, and it seems that i will need to reinstall the linux again.


All times are GMT -5. The time now is 10:12 AM.