[Bug 1079482] Re: Windows 7 Not Booting after Grub installed to bootsector
bcbc
1079482 at bugs.launchpad.net
Mon Mar 4 18:23:39 UTC 2013
Phillip Susi,
There seem to many a number of issues here, but the fact is that Grub
installed itself over the windows boot sector, not the MBR. Wiping out
the partition boot sector prevents Windows from booting, whereas
replacing the bootloader in the MBR is normal (obviously). The bug I
reported was supposed to *PREVENT* grub from ever installing to the
Windows partition (this used to be offered in the drop down box as the
target for Grub2 while installing - in Ubiquity) but should not be
offered now. But if it's not offered, then the question is how does Grub
get installed to the Windows partition? The only way I know is to
manually do it with grub-install /dev/sda1 --force but clearly new users
are not doing this. Therefore my point about the possible regression.
Running FIXMBR won't do a thing in this case. Until the bootsector is
repaired Windows cannot boot.
--
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