[Bug 1079482] Re: Windows 7 Not Booting
Michael
robohead456 at gmail.com
Thu Nov 22 14:00:46 UTC 2012
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos7)/boot/grub on this drive.
sda1:
__________________________________________________________________________
File system: vfat
Boot sector type: Dell Utility: FAT16
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /DELLBIO.BIN /DELLRMK.BIN /COMMAND.COM
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
sda3:
__________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe
sda4:
__________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5:
__________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 2. But according to the info from fdisk,
sda5 starts at sector 1086939136.
Operating System:
Boot files: /bootmgr
sda6:
__________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda7:
__________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 12.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
============================ Drive/Partition Info:
=============================
Drive: sda
_____________________________________________________________________
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 63 80,324 80,262 de Dell Utility
/dev/sda2 * 81,920 41,627,647 41,545,728 7 NTFS / exFAT / HPFS
/dev/sda3 41,627,648 1,086,938,758 1,045,311,111 7 NTFS / exFAT / HPFS
/dev/sda4 1,086,939,134 1,953,523,711 866,584,578 f W95 Extended (LBA)
/dev/sda5 1,086,939,136 1,514,351,122 427,411,987 7 NTFS / exFAT / HPFS
/dev/sda6 1,936,949,248 1,953,523,711 16,574,464 82 Linux swap / Solaris
/dev/sda7 1,514,352,640 1,936,941,055 422,588,416 83 Linux
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 5450-4444 vfat DellUtility
/dev/sda2 8AC0DAE5C0DAD693 ntfs RECOVERY
/dev/sda3 FC48DD7748DD315E ntfs OS
/dev/sda5 0A6E7C1C6E7C02AD ntfs
/dev/sda6 e0d7ff12-66a8-4d99-bd72-5e2ac5ad8afa swap
/dev/sda7 6e660563-98a8-4830-a658-e59ef17bdae8 ext4
================================ Mount points:
=================================
Device Mount_Point Type Options
/dev/sda7 / ext4 (rw,errors=remount-
ro)
=========================== sda7/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root 6e660563-98a8-4830-a658-e59ef17bdae8
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root 6e660563-98a8-4830-a658-e59ef17bdae8
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 3.2.0-33-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root 6e660563-98a8-4830-a658-e59ef17bdae8
linux /boot/vmlinuz-3.2.0-33-generic root=UUID=6e660563-98a8-4830-a658-e59ef17bdae8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-33-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-33-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root 6e660563-98a8-4830-a658-e59ef17bdae8
echo 'Loading Linux 3.2.0-33-generic ...'
linux /boot/vmlinuz-3.2.0-33-generic root=UUID=6e660563-98a8-4830-a658-e59ef17bdae8 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-33-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 3.2.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root 6e660563-98a8-4830-a658-e59ef17bdae8
linux /boot/vmlinuz-3.2.0-29-generic root=UUID=6e660563-98a8-4830-a658-e59ef17bdae8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-29-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root 6e660563-98a8-4830-a658-e59ef17bdae8
echo 'Loading Linux 3.2.0-29-generic ...'
linux /boot/vmlinuz-3.2.0-29-generic root=UUID=6e660563-98a8-4830-a658-e59ef17bdae8 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-29-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root 6e660563-98a8-4830-a658-e59ef17bdae8
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root 6e660563-98a8-4830-a658-e59ef17bdae8
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root 8AC0DAE5C0DAD693
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sda7/etc/fstab:
================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda7 during installation
UUID=6e660563-98a8-4830-a658-e59ef17bdae8 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=e0d7ff12-66a8-4d99-bd72-5e2ac5ad8afa none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda7: Location of files loaded by Grub:
====================
GiB - GB File
Fragment(s)
= boot/grub/core.img 1
= boot/grub/grub.cfg 1
= boot/initrd.img-3.2.0-29-generic 2
= boot/initrd.img-3.2.0-33-generic 2
= boot/vmlinuz-3.2.0-29-generic 1
= boot/vmlinuz-3.2.0-33-generic 1
= initrd.img 2
= initrd.img.old 2
= vmlinuz 1
= vmlinuz.old 1
========= Devices which don't seem to have a corresponding hard drive:
=========
sdb
=============================== StdErr Messages:
===============================
xz: (stdin): Compressed data is corrupt
xz: (stdin): Compressed data is corrupt
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
sda3 is the windows 7 I am trying to boot
sda5 is the windows 8 enterprise edition that I tried to install to fix the boot problems, but there was a missing file so it does not work.
--
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
Status in “grub2” package in Ubuntu:
Incomplete
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 mat be a bug.
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