Grub2: Windows 7 infinite reboot loop

Bug #486499 reported by null
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

NOTE: This only fixed Windows 7 booting up once. I rebooted after reporting this bug and the same problem still persisted. So not even this fixes the problem!

Binary package hint: grub2

This bug is one of the most annoying I've ever run into. There is a work around that I found on Ubuntu. However obviously nothing has been done to fix this problem; so I'm reporting it today so it can be fixed soon :)

This bug is ALWAYS repeatable. If you want to confirm it install Windows 7 (Vista will work) update grub and reboot. Windows will try to start and it'll fail.

NO THE GRUB2 WORKAROUND LISTED IN THE WIKI DOES NOT WORK! (https://wiki.ubuntu.com/Grub2)

The solution can be found in this thread:

http://ubuntuforums.org/showthread.php?p=8363434#post8363434

menuentry "Windows 7 (on /dev/sdb1)" {
      insmod ntfs
      set root=(hd1,1)
      chainloader +1
}
(obviously has to be adjusted according to your Windows partition)

ALSO:

It IS possible to completely remove grub via Synaptic. Reinstall grub add that entry to 40_custom. Update-grub. Then reboot and choose the custom boot menu and Windows 7 will reboot fine. However it booting up fine only occurs one time.

ProblemType: Bug
Architecture: i386
Date: Sat Nov 21 20:26:31 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: grub2 1.97~beta4-1ubuntu4
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: grub2
Uname: Linux 2.6.31-14-generic i686
XsessionErrors:
 (gnome-settings-daemon:1715): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:1715): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:1840): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:1813): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed

Revision history for this message
null (j23423422-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :
Revision history for this message
null (j23423422-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

grub.cfg AFTER doing workaround

Revision history for this message
null (j23423422-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Work around applied

description: updated
description: updated
Revision history for this message
Konrad Materka (kmaterka) wrote :

I have similar problem, but both Windows 7 64bit and Kubuntu are on the same drive - sda1 and sda6 respectively.
Windows reboots after few second when animated logo shows, probably just before loading desktop.

Your workaround never worked for me, I just installed grub1 which works just fine. On another computer with similar configuration (the same Windows and Ubuntu) Grub2 boots windows correctly.

This bug is probably related to bug #402154 which is marked as solved, but shouldn't be.
Another bug concerns Windows XP, but can put some light on this one: bug #454930
Another bug #475881 similar to this, describes the same situation I had.

Changed in grub2 (Ubuntu):
assignee: nobody → null (j23423422-deactivatedaccount-deactivatedaccount)
status: New → Fix Released
Revision history for this message
En (en666) wrote :

None of above solutions worked for me. With these solutions Windows7 boots once, then i have to redo update-grub to make the menuentry work again.
I registered an account here only for comunicate you that I found a definitive solution. I use ubuntu 10.04 but I think that it's ok for all distros.

http://erickoo.wordpress.com/2009/06/14/how-to-add-vista-partition-to-grub-2-ubuntu-9-10-karmic-koala/

Revision history for this message
Jean.c.h (slug71) wrote :

I'm not able to mark this bug as a duplicate for some reason.
This bug is a Duplicate to,

https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/402154

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.