Unable to open Win7 on dual boot/dualHD PC
I am unable to open Win7. The system slowly deteriorated over a month and now I can't get Win7 to open except in Safe Mode. A responder in SevenForums suggested a solution but said first uninstall GRUB. When searching for uninstall information I came across the Boot Info Script information and ran it. Here is the resulting file. I have no idea how to read it. Do I have a problem with GRUB?
John in Houston
.......
=======
=> Windows is installed in the MBR of /dev/sda.
=> Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub on this drive.
sda1: _______
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
sda2: _______
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/
sdb1: _______
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
sdb2: _______
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdb5: _______
File system: swap
Boot sector type: -
Boot sector info:
=======
Drive: sda _______
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
/dev/sda2 206,848 976,773,119 976,566,272 7 NTFS / exFAT / HPFS
Drive: sdb _______
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 2,048 599,740,415 599,738,368 83 Linux
/dev/sdb2 599,742,462 625,141,759 25,399,298 5 Extended
/dev/sdb5 599,742,464 625,141,759 25,399,296 82 Linux swap / Solaris
"blkid" output: _______
Device UUID TYPE LABEL
/dev/sda1 15B65CD787291CE0 ntfs
/dev/sda2 4FF44861448FD20B ntfs
/dev/sdb1 2a06ac78-
/dev/sdb5 26be3a47-
=======
Device Mount_Point Type Options
/dev/sdb1 / ext4 (rw,errors=
=======
-------
#
# 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.
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_
set 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_
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='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 2a06ac78-
if loadfont /boot/grub/
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 2a06ac78-
set locale_
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=15
fi
### END /etc/grub.
### BEGIN /etc/grub.
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 2a06ac78-
insmod jpeg
if background_image /boot/grub/
set color_normal=
set color_highlight
else
set menu_color_
set menu_color_
if background_color 44,0,30; then
clear
fi
fi
### END /etc/grub.
### BEGIN /etc/grub.
menuentry 'Ubuntu, with Linux 3.5.0-18-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 2a06ac78-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
menuentry 'Ubuntu, with Linux 3.5.0-18-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 2a06ac78-
echo 'Loading Linux 3.5.0-18-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}
if hwmatch ${prefix}
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
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 2a06ac78-
linux16 /boot/memtest86
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 2a06ac78-
linux16 /boot/memtest86
}
### END /etc/grub.
### BEGIN /etc/grub.
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 15B65CD787291CE0
chainloader +1
}
### END /etc/grub.
### BEGIN /etc/grub.
# 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.
### BEGIN /etc/grub.
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.
-------
=======
-------
# /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/sda1 during installation
UUID=2a06ac78-
# swap was on /dev/sda5 during installation
UUID=26be3a47-
/dev/fd0 /media/floppy0 auto rw,user,
-------
=================== sdb1: Location of files loaded by Grub: =======
GiB - GB File Fragment(s)
= boot/grub/core.img 1
= boot/grub/grub.cfg 1
= boot/initrd.
= boot/initrd.
= boot/initrd.
= boot/vmlinuz-
= boot/vmlinuz-
= boot/vmlinuz-
= initrd.img 2
= initrd.img.old 2
= vmlinuz 2
= vmlinuz.old 2
=======
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
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu grub2 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2013-01-01
- Last reply:
- 2013-01-01
N1ck 7h0m4d4k15 (nicktux) said : | #1 |
Hi ,
you have to Hard Drives. As I can see from boot-info .
dev/sda and /dev/sdb ,
On the first hard drive /dev/sda , Windows are installed to the MBR..
on the second hard drive /dev/sdb , grub is installed to the MBR..
POSSIBLE SOLUTIONS
a) Use boot-repair from a Live Ubuntu CD/DVD/USB.
Boot from Ubuntu Live and choose "Try Ubuntu"
Open a terminal (CTRL+ALT+T) and execute the commands below with order (you can copy-paste from here)
$ sudo add-apt-repository ppa:yannubuntu/
$ sudo apt-get install -y boot-repair && boot-repair
at the opened Window , choose [Recommended Repair] and when finish , reboot your PC. (of course remove the Ubuntu media)
b) Change the BIOS boot order.
Boot into BIOS configuration page and change the boot order. Place first the other HDD.
Thanks
Can you help with this problem?
Provide an answer of your own, or ask JOHN for more information if necessary.