Ben Barrett |
12-27-2012 04:13 PM |
Quote:
Originally Posted by arubin
(Post 4857731)
You should have a small FAT partition with structure /EFI/BOOT/bootx64.efi. This is what Windows will be using to boot from. Can you check that you have that? Is there a similar set up in the recovery partition?
|
I do indeed have a small FAT partition, though it is hidden so I cannot access it. It is listed in my "parted" lists and I see it listed when I use fdisk, so I'm assuming that this is the partition you speak of. I checked my recovery partition, and the folder was there just like you said. What's the next step?
I also downloaded and ran that program that you guys pointed out to me and I'll post the results below. You may notice a difference between the earlier lists and this one. The "bios_grub" partition is no longer there. I think I may have accidentally erased it while trying to fix the problem myself. It's not there, yet it hasn't made the slightest impact on my computer. It still does the same thing.
One other thing. I tried to fix the computer by paying Microsoft for a Windows 8 disc image, which I burned to DVD and tried to run the repair programs. The repair function doesn't work, generates an error, and none of the recovery or rescue options work. So I tried to use it to do a fresh install of Windows, but it also generated an error and told me the product key I was trying to use was invalid, even though I hadn't entered a product key yet. I only pushed the INSTALL button. Very strange.
In any case, when I have the new Windows DVD in the disc drive and don't allow it to boot to Windows Setup, it allows the GRUB loader to load normally, which allows me to get into my Linux installation without the use of Live Media. This is an improvement, but I still can't boot my Windows from it, even though the option is there. When I select Windows or the Windows rescue option in GRUB, the screen goes black like it looks like it wants to load, then it generates an error that it's missing a file called "BOOT\BCD". The weird thing is that I have that file. The BOOT folder is located on the Windows partition, and there are several files like BCD, BCD.LOG, BCD.LOG1, etc. located in the folder.
Anyway, if anyone can do something with this information, I would be eternally grateful. You'll find below the results of "bootinfoscript". Thanks!
Quote:
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
595277824 of the same hard drive for core.img. core.img is at this
location and looks in partition 99 for .
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/Boot/bootx64.efi
sda2: __________________________________________________________________________
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
sda3: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
sda4: __________________________________________________________________________
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 /Windows/System32/winload.exe
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: According to the info in the boot sector, sda5 has
6783192 sectors, but according to the info from fdisk,
it has 7112703 sectors.
Operating System:
Boot files:
sda6: __________________________________________________________________________
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:
sda8: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub2/grub.cfg
sda9: __________________________________________________________________________
File system: LVM2_member
Boot sector type: -
Boot sector info:
vg-lv_swap': ___________________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: unknown filesystem type ''
vg-lv_home': ___________________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
vg-lv_root': ___________________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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 * 1 1,465,149,167 1,465,149,167 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 616,447 614,400 EFI System partition
/dev/sda2 616,448 1,845,247 1,228,800 Windows Recovery Environment (Windows)
/dev/sda3 1,845,248 2,107,391 262,144 Microsoft Reserved Partition (Windows)
/dev/sda4 2,107,392 588,165,119 586,057,728 Data partition (Windows/Linux)
/dev/sda5 588,165,120 595,277,823 7,112,704 Data partition (Windows/Linux)
/dev/sda6 1,423,204,352 1,465,147,391 41,943,040 Windows Recovery Environment (Windows)
/dev/sda8 595,279,872 596,303,871 1,024,000 Data partition (Windows/Linux)
/dev/sda9 596,303,872 1,423,204,351 826,900,480 Logical Volume Manager (LVM) partition (Linux)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/mapper/vg-lv_home b839e9c4-f621-4579-a63e-a8a4b5650a3c ext4
/dev/mapper/vg-lv_root 0b145697-e6c5-4e8e-8116-6bf69da65755 ext4 _Fedora-17-x86_6
/dev/mapper/vg-lv_swap 36f7b567-a153-45e7-9de6-7f10dcd5423d swap
/dev/sda1 682C-71F7 vfat SYSTEM
/dev/sda2 E0D079B8D079958E ntfs Recovery
/dev/sda4 8498A1B098A1A0E2 ntfs OS
/dev/sda5 1A9C8F589C8F2D77 ntfs DATA
/dev/sda6 5694837994835A7F ntfs Restore
/dev/sda8 34767c7e-a0a5-46ac-8ec8-dd23b26a9949 ext4
/dev/sda9 FwuCZJ-RZBI-fVcA-iXwE-xHU3-n9Vy-BiByjL LVM2_member
/dev/sr0 udf ESD-ISO
========================= "ls -R /dev/mapper/" output: =========================
/dev/mapper:
control
vg-lv_home
vg-lv_root
vg-lv_swap
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/mapper/vg-lv_home /home ext4 (rw,relatime,seclabel,user_xattr,barrier=1,data=ordered)
/dev/mapper/vg-lv_root / ext4 (rw,relatime,seclabel,user_xattr,barrier=1,data=ordered)
/dev/sda2 /run/media/Ben/Recovery fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda4 /run/media/Ben/OS fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda5 /run/media/Ben/DATA fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda8 /boot ext4 (rw,relatime,seclabel,user_xattr,barrier=1,stripe=4,data=ordered)
/dev/sr0 /run/media/Ben/ESD-ISO udf (ro,nosuid,nodev,relatime,uid=1000,gid=1000,umask=77,iocharset=utf8,uhelper=udisks2)
============================= sda8/grub2/grub.cfg: =============================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="${saved_entry}"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
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 load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod lvm
insmod ext2
set root='lvm/vg-lv_root'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvm/vg-lv_root' 0b145697-e6c5-4e8e-8116-6bf69da65755
else
search --no-floppy --fs-uuid --set=root 0b145697-e6c5-4e8e-8116-6bf69da65755
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora Linux' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0b145697-e6c5-4e8e-8116-6bf69da65755' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 --hint='hd0,gpt8' 34767c7e-a0a5-46ac-8ec8-dd23b26a9949
else
search --no-floppy --fs-uuid --set=root 34767c7e-a0a5-46ac-8ec8-dd23b26a9949
fi
echo 'Loading Linux 3.3.4-5.fc17.x86_64 ...'
linux /vmlinuz-3.3.4-5.fc17.x86_64 root=/dev/mapper/vg-lv_root ro rd.md=0 rd.dm=0 KEYTABLE=us SYSFONT=True rd.lvm.lv=vg/lv_root rd.luks=0 rd.lvm.lv=vg/lv_swap LANG=en_US.UTF-8 rhgb quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.3.4-5.fc17.x86_64.img
}
submenu 'Advanced options for Fedora Linux' $menuentry_id_option 'gnulinux-advanced-0b145697-e6c5-4e8e-8116-6bf69da65755' {
menuentry 'Fedora Linux, with Linux 3.3.4-5.fc17.x86_64' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.3.4-5.fc17.x86_64-advanced-0b145697-e6c5-4e8e-8116-6bf69da65755' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 --hint='hd0,gpt8' 34767c7e-a0a5-46ac-8ec8-dd23b26a9949
else
search --no-floppy --fs-uuid --set=root 34767c7e-a0a5-46ac-8ec8-dd23b26a9949
fi
echo 'Loading Linux 3.3.4-5.fc17.x86_64 ...'
linux /vmlinuz-3.3.4-5.fc17.x86_64 root=/dev/mapper/vg-lv_root ro rd.md=0 rd.dm=0 KEYTABLE=us SYSFONT=True rd.lvm.lv=vg/lv_root rd.luks=0 rd.lvm.lv=vg/lv_swap LANG=en_US.UTF-8 rhgb quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.3.4-5.fc17.x86_64.img
}
menuentry 'Fedora Linux, with Linux 3.3.4-5.fc17.x86_64 (recovery mode)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.3.4-5.fc17.x86_64-recovery-0b145697-e6c5-4e8e-8116-6bf69da65755' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 --hint='hd0,gpt8' 34767c7e-a0a5-46ac-8ec8-dd23b26a9949
else
search --no-floppy --fs-uuid --set=root 34767c7e-a0a5-46ac-8ec8-dd23b26a9949
fi
echo 'Loading Linux 3.3.4-5.fc17.x86_64 ...'
linux /vmlinuz-3.3.4-5.fc17.x86_64 root=/dev/mapper/vg-lv_root ro single rd.md=0 rd.dm=0 KEYTABLE=us SYSFONT=True rd.lvm.lv=vg/lv_root rd.luks=0 rd.lvm.lv=vg/lv_swap LANG=en_US.UTF-8 rhgb quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.3.4-5.fc17.x86_64.img
}
}
if [ "x$default" = 'Fedora Linux, with Linux 3.3.4-5.fc17.x86_64' ]; then default='Advanced options for Fedora Linux>Fedora Linux, with Linux 3.3.4-5.fc17.x86_64'; fi;
### 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_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Recovery Environment (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-E0D079B8D079958E' {
insmod part_gpt
insmod ntfs
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' E0D079B8D079958E
else
search --no-floppy --fs-uuid --set=root E0D079B8D079958E
fi
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Windows 8 (loader) (on /dev/sda4)' --class windows --class os $menuentry_id_option 'osprober-chain-8498A1B098A1A0E2' {
insmod part_gpt
insmod ntfs
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 8498A1B098A1A0E2
else
search --no-floppy --fs-uuid --set=root 8498A1B098A1A0E2
fi
drivemap -s (hd0) ${root}
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 ###
--------------------------------------------------------------------------------
=================== sda8: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
283.876667976 = 304.810251264 grub2/grub.cfg 1
283.889320374 = 304.823836672 initramfs-3.3.4-5.fc17.x86_64.img 2
283.864131927 = 304.796790784 vmlinuz-3.3.4-5.fc17.x86_64 1
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda1
00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 08 5e 1b |.X.MSDOS5.0...^.|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 60 09 00 51 02 00 00 00 00 00 00 02 00 00 00 |.`..Q...........|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 00 29 f7 71 2c 68 4e 4f 20 4e 41 4d 45 20 20 |..).q,hNO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
00000060 7b 8e c1 8e d9 bd 00 7c 88 56 40 88 4e 02 8a 56 |{......|.V@.N..V|
00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.|
00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...|
00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..|
000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...|
000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*|
000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........|
000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...|
000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........|
00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.|
00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....|
00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.|
00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....|
00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V|
00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.|
00000160 82 74 ff 81 c3 00 02 66 40 49 75 94 c3 42 4f 4f |.t.....f@Iu..BOO|
00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 44 69 |..............Di|
000001b0 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 |sk error...Press|
000001c0 20 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 | any key to rest|
000001d0 61 72 74 0d 0a 00 00 00 00 00 00 00 00 00 00 00 |art.............|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 ac 01 b9 01 00 00 55 aa |..............U.|
00000200
Unknown BootLoader on vg-lv_swap'
Unknown BootLoader on vg-lv_home'
Unknown BootLoader on vg-lv_root'
=============================== StdErr Messages: ===============================
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
hexdump: /dev/mapper/vg-lv_swap': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/vg-lv_swap': No such file or directory
hexdump: /dev/mapper/vg-lv_swap': Bad file descriptor
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
hexdump: /dev/mapper/vg-lv_home': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/vg-lv_home': No such file or directory
hexdump: /dev/mapper/vg-lv_home': Bad file descriptor
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
hexdump: /dev/mapper/vg-lv_root': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/vg-lv_root': No such file or directory
hexdump: /dev/mapper/vg-lv_root': Bad file descriptor
mdadm: No arrays found in config file or automatically
|
|