[Bug 1079482] Re: Windows 7 Not Booting after Grub installed to bootsector

Michael robohead456 at gmail.com
Thu Dec 20 15:47:26 UTC 2012


Grub2 may have been fixed to prevent installing on any windows
partition, but it is still installed on my windows partition. I didn't
select to install grub on the windows partition, I chose to install
Ubuntu alongside windows. It did not specify where it would install the
grub, and there was no option to chose where it installed. I have tried
using the fixboot command from my windows recovery disc, but there was
nothing then (as stated in an above post).Would the instructions from
https://help.ubuntu.com/community/BootSectorFix , using the TestDisk
steps be able to fix my windows boot problem?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1079482

Title:
  Windows 7 Not Booting after Grub installed to bootsector

Status in “grub2” package in Ubuntu:
  Invalid

Bug description:
  My computer came with Windows 7 installed on it. I wanted to try
  Ubuntu, so I installed it alongside Windows 7 and everything was fine.
  I needed more space on my Windows 7 partition, so I deleted the Ubuntu
  partition from the hard drive. When I went to restart I got a blank
  screen. I reinstalled Ubuntu allongside Windows 7 and was able to
  restart and boot Windows. The next day I got the same blank screen, so
  I reinstalled Ubuntu over Ubuntu, leaving the Windows 7 partition
  alone. After that, when I try to boot Windows 7 it keeps sending me
  back to the select an OS page. I get an error that says:

  The NTFS partition is hibernated. Please resume and shutdown Windows
  properly, or mount the volume read-only with the 'ro' mount option, or
  mount the volume read-write with the 'remove_hiberfile' mount option.
  For example type on the command line:

              mount -t ntfs-3g -o remove_hiberfile /dev/sda3 /media/OS

  whenever I try to access the Windows OS portion of the hard drive.

  When I try the command it does not work and I get a message saying
  that "only root can do that"

  I can not resume Windows to shut it down properly though, because I
  must first unhibernate Windows.

  I believe this may be a bug.

  This is what the bootinfoscript reports, showing that Grub has overwritten the bootsector, which prevents Windows from booting:
  sda2: __________________________________________________________________________

      File system: ntfs
      Boot sector type: Grub2 (v1.99)
      Boot sector info: Grub2 (v1.99) is installed in the boot sector of sda2
                         and looks at sector 1456312560 of the same hard drive
                         for core.img. core.img is at this location and looks
                         for (,msdos6)/boot/grub on this drive. No errors found
                         in the Boot Parameter Block.
      Operating System:
      Boot files: /bootmgr /Boot/BCD

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1079482/+subscriptions




More information about the foundations-bugs mailing list