PDA

View Full Version : [ubuntu] Grub stage1 error



Felix Lionheart
April 2nd, 2009, 02:31 PM
Grub recently stopped detecting my Windows partition and whenever I try to reinstall Grub I get error code 15. It seems I'm missing stage1.



grub> find /grub/stage1

Error 15: File not found

grub>


Edit: Finally got it to reinstall Grub but it still doesn't detect Windows.

dandnsmith
April 2nd, 2009, 04:35 PM
I don't know how you tried to re-install grub, but it needs to be somewhere where it can (during installation) find the stage1 and other files. There is, I think, an option to show what happens during the install process.

The only way grub can find Windows to start it is if the entry exists in the menu.1st or grub.conf which it is using.

Felix Lionheart
April 2nd, 2009, 05:12 PM
I don't know how you tried to re-install grub, but it needs to be somewhere where it can (during installation) find the stage1 and other files. There is, I think, an option to show what happens during the install process.

The only way grub can find Windows to start it is if the entry exists in the menu.1st or grub.conf which it is using.

I've added an entry in menu.lst but when I select windows I get the message "BOOTMGR is missing".

ronparent
April 2nd, 2009, 06:53 PM
So far so good. All your missing BOOTMGT message is telling you is that there is no operating system installed in the drive you are referencing. If you had done a normal install of windows it is probably (hd0,0).

Felix Lionheart
April 2nd, 2009, 07:08 PM
So far so good. All your missing BOOTMGT message is telling you is that there is no operating system installed in the drive you are referencing. If you had done a normal install of windows it is probably (hd0,0).

I originally used (hd0,0).

ronparent
April 2nd, 2009, 07:20 PM
Verify the location of windows and use that location. If verified, then windows might have to be reinstalled or fixed via the original windows install disk. Either process will invalidate the hd0 boot record and you will have to reconfigure grub to access both ubuntu or windows.

Felix Lionheart
April 3rd, 2009, 07:05 PM
Verify the location of windows and use that location. If verified, then windows might have to be reinstalled or fixed via the original windows install disk. Either process will invalidate the hd0 boot record and you will have to reconfigure grub to access both ubuntu or windows.

Thanks for the help. fixing the startup on Windows worked :)