Comment 3 for bug 1564576

Revision history for this message
Elbarbudo (patricearnal) wrote :

That is NOT the matter :
The code in 30_osprober is much too complicated and seems to be run on each boot to end in failure....
It would be much more effective to run it once when generating grub.cfg and just keep the result.

The code in 30_osprober is shipped with the distribution and is bugged!

I wrote the code in 15_winxp using a grub manual, and it works...

Basically I think that the "chainloader" called at the end of 30_osprober is the problem.

I ran directly ntldr /ntldr directly :

### BEGIN /etc/grub.d/15_winxp ###

menuentry "Windows XP" {
 insmod ntfs
 search --set=root --label XP --hint hd0,msdos2
 ntldr /ntldr
}
### END /etc/grub.d/15_winxp ###