You are not logged in.

#1 2013-12-29 20:46:16

knowNothing23
Member
Registered: 2013-08-25
Posts: 33

Arch & Windows 8 Dual Boot -- Windows Boot Loader loads grub-rescue

Arch works fine,but as it always happens Windows boot went down. Both OS are EFI.
Note that boot secure and fast boot were disabled for Windows 8.

I used os-prober, but did not fix anything; so, I removed it. I tried to hack things out using boot-repair from Ubuntu, but it requires a repository, grub-efi, from Ubuntu that Arch doesn't have.
I am trying to modify files in grub.d and grub.cfg and hopefully fix something.

Exact description:
- archgrub loads and shows 3 entries. Two for Arch that load the sys succesfully and one for Windows 8 that fails.
- When I try to execute Windows from grub, it brings me to a grub rescue>
  and shows error /boot/grub/x86_64-efi/normal.mod not found
  As far as I am concerned this .mod is from Linux, so I don't know why it is being called into Windows loading procedures.
----------------------------------------------------------------------------------------------------------------------------------------------------------
lsblk returns:

[jav@localhost ~]$ lsblk          
NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda       8:0    0 931.5G  0 disk 
|-sda1    8:1    0  1000M  0 part 
|-sda2    8:2    0   260M  0 part 
|-sda3    8:3    0  1000M  0 part 
|-sda4    8:4    0   128M  0 part 
|-sda5    8:5    0 605.3G  0 part 
|-sda6    8:6    0   5.4G  0 part /boot/efi
|-sda7    8:7    0    25G  0 part 
|-sda8    8:8    0    20G  0 part 
|-sda9    8:9    0 244.1G  0 part /
`-sda10   8:10   0  29.3G  0 part 
sr0      11:0    1  1024M  0 rom  

Here's the output of fdisk. Another weird thing is that sometimes ubuntu would show on my terminal. See the first line below, "jav@ubuntu"?!

 
[jav@ubuntu ~]$ sudo fdisk -l
[sudo] password for jav: 

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: [i deleted this]

Device            Start          End   Size Type
/dev/sda1          2048      2050047  1000M Windows recovery environment
/dev/sda2       2050048      2582527   260M EFI System
/dev/sda3       2582528      4630527  1000M unknown
/dev/sda4       4630528      4892671   128M Microsoft reserved
/dev/sda5       4892672   1274335231 605.3G Microsoft basic data
/dev/sda6    1847777280   1859151871   5.4G EFI System
/dev/sda7    1859151872   1911580671    25G Microsoft basic data
/dev/sda8    1911580672   1953523711    20G Windows recovery environment
/dev/sda9    1335775232   1847777279 244.1G Linux filesystem
/dev/sda10   1274335232   1335775231  29.3G Microsoft basic data

And, bootinfoscript output:

                  Boot Info Script 0.61      [1 April 2012]


============================= Boot Info Summary: ===============================

 => No boot loader is installed in the MBR of /dev/sda.

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:        

sda2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 7: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi 
                       /efi/ubuntu/grubx64.efi

sda3: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 7: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi 
                       /efi/ubuntu/grubx64.efi /bootmgr /boot/bcd

sda4: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''

sda5: __________________________________________________________________________

    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

sda6: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.02 ... :..(:,:0:4:8:....D:H:L:[.T:[.\:`:d:[.l:p:t:x:|:.:.:.:.:.:.:.:.....................
    Boot sector info:  Syslinux looks at sector 99102 of /dev/sda6 for its 
                       second stage. SYSLINUX is installed in the /syslinux 
                       directory. No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /grub/grub.cfg /syslinux/syslinux.cfg 
                       /syslinux/ldlinux.sys

sda7: __________________________________________________________________________

    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:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda9: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Arch Linux ()
    Boot files:        /etc/fstab

sda10: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048     2,050,047     2,048,000 Windows Recovery Environment (Windows)
/dev/sda2       2,050,048     2,582,527       532,480 EFI System partition
/dev/sda3       2,582,528     4,630,527     2,048,000 -
/dev/sda4       4,630,528     4,892,671       262,144 Microsoft Reserved Partition (Windows)
/dev/sda5       4,892,672 1,274,335,231 1,269,442,560 Data partition (Windows/Linux)
/dev/sda6   1,847,777,280 1,859,151,871    11,374,592 EFI System partition
/dev/sda7   1,859,151,872 1,911,580,671    52,428,800 Data partition (Windows/Linux)
/dev/sda8   1,911,580,672 1,953,523,711    41,943,040 Windows Recovery Environment (Windows)
/dev/sda9   1,335,775,232 1,847,777,279   512,002,048 Data partition (Linux)
/dev/sda10  1,274,335,232 1,335,775,231    61,440,000 Data partition (Windows/Linux)

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        CE62D9F062D9DCF1                       ntfs       WINRE_DRV
/dev/sda10       150a8788-6049-45ed-85af-ded92a2c0801   ext4       
/dev/sda2        16DC-8816                              vfat       SYSTEM_DRV
/dev/sda3        7CDD-0403                              vfat       LRS_ESP
/dev/sda4                                                          
/dev/sda5        40E4E0CFE4E0C7EC                       ntfs       Windows8_OS
/dev/sda6        9C3F-2A9E                              vfat       
/dev/sda7        7240E43740E40427                       ntfs       LENOVO
/dev/sda8        422CE5EA2CE5D945                       ntfs       PBR_DRV
/dev/sda9        1a765403-f251-43d8-8edf-c191475d3837   ext4       

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sda6        /boot                    vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda6        /boot/efi                vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda9        /                        ext4       (rw,relatime,data=ordered)


============================= sda6/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 ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

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 ext2
set root='hd0,gpt9'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9  1a765403-f251-43d8-8edf-c191475d3837
else
  search --no-floppy --fs-uuid --set=root 1a765403-f251-43d8-8edf-c191475d3837
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
fi
terminal_input console
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-1a765403-f251-43d8-8edf-c191475d3837' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt 
	insmod fat
	set root='hd0,gpt6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  9C3F-2A9E
	else
	  search --no-floppy --fs-uuid --set=root 9C3F-2A9E
	fi
	echo	'Loading Linux core repo kernel ...'
	linux	/vmlinuz-linux root=UUID=1a765403-f251-43d8-8edf-c191475d3837 rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initramfs-linux.img
}
menuentry 'Arch Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-1a765403-f251-43d8-8edf-c191475d3837' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt 
	insmod fat
	set root='hd0,gpt6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  9C3F-2A9E
	else
	  search --no-floppy --fs-uuid --set=root 9C3F-2A9E
	fi
	echo	'Loading Linux core repo kernel ...'
	linux	/vmlinuz-linux root=UUID=1a765403-f251-43d8-8edf-c191475d3837 rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initramfs-linux-fallback.img
}

### END /etc/grub.d/10_linux ###


## Attempt at fixing grub
## 
#	insmod fat
#	set root='hd0,gpt6'
#
### BEGIN /etc/grub.d/30_os-prober ###
#menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-16DC-8816' {
#	insmod part_gpt 
#	insmod fat
#	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  16DC-8816
#	else
#	  search --no-floppy --fs-uuid --set=root 16DC-8816
#	fi
#	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
#}
menuentry "Windows 8 UEFI" {
	set root='(hd0,gpt2)'
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### 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  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
--------------------------------------------------------------------------------

========================= sda6/syslinux/syslinux.cfg: ==========================

--------------------------------------------------------------------------------
# Config file for Syslinux -
# /boot/syslinux/syslinux.cfg
#
# Comboot modules:
#   * menu.c32 - provides a text menu
#   * vesamenu.c32 - provides a graphical menu
#   * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
#   * hdt.c32 - hardware detection tool
#   * reboot.c32 - reboots the system
#
# To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
# If /usr and /boot are on the same file system, symlink the files instead
# of copying them.
#
# If you do not use a menu, a 'boot:' prompt will be shown and the system
# will boot automatically after 5 seconds.
#
# Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
# The wiki provides further configuration examples

DEFAULT arch
PROMPT 0        # Set to 1 if you always want to display the boot: prompt 
TIMEOUT 50
# You can create syslinux keymaps with the keytab-lilo tool
#KBDMAP de.ktl

# Menu Configuration
# Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux 
UI menu.c32
#UI vesamenu.c32

# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
MENU TITLE Arch Linux
#MENU BACKGROUND splash.png
MENU COLOR border       30;44   #40ffffff #a0000000 std
MENU COLOR title        1;36;44 #9033ccff #a0000000 std
MENU COLOR sel          7;37;40 #e0ffffff #20ffffff all
MENU COLOR unsel        37;44   #50ffffff #a0000000 std
MENU COLOR help         37;40   #c0ffffff #a0000000 std
MENU COLOR timeout_msg  37;40   #80ffffff #00000000 std
MENU COLOR timeout      1;37;40 #c0ffffff #00000000 std
MENU COLOR msg07        37;40   #90ffffff #a0000000 std
MENU COLOR tabmsg       31;40   #30ffffff #00000000 std

# boot sections follow
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sda3 rw
    INITRD ../initramfs-linux.img

LABEL archfallback
    MENU LABEL Arch Linux Fallback
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sda3 rw
    INITRD ../initramfs-linux-fallback.img

#LABEL windows
#        MENU LABEL Windows
#        COM32 chain.c32
#        APPEND hd0 1

LABEL hdt
        MENU LABEL HDT (Hardware Detection Tool)
        COM32 hdt.c32

LABEL reboot
        MENU LABEL Reboot
        COM32 reboot.c32

LABEL poweroff
        MENU LABEL Poweroff
        COM32 poweroff.c32
--------------------------------------------------------------------------------

=================== sda6: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


================= sda6: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)


============== sda6: Version of COM32(R) files used by Syslinux: ===============

 syslinux/cat.c32                   :  not a COM32/COM32R module
 syslinux/chain.c32                 :  not a COM32/COM32R module
 syslinux/cmd.c32                   :  not a COM32/COM32R module
 syslinux/config.c32                :  not a COM32/COM32R module
 syslinux/cptime.c32                :  not a COM32/COM32R module
 syslinux/cpuid.c32                 :  not a COM32/COM32R module
 syslinux/cpuidtest.c32             :  not a COM32/COM32R module
 syslinux/debug.c32                 :  not a COM32/COM32R module
 syslinux/disk.c32                  :  not a COM32/COM32R module
 syslinux/dmitest.c32               :  not a COM32/COM32R module
 syslinux/elf.c32                   :  not a COM32/COM32R module
 syslinux/ethersel.c32              :  not a COM32/COM32R module
 syslinux/gfxboot.c32               :  not a COM32/COM32R module
 syslinux/gpxecmd.c32               :  not a COM32/COM32R module
 syslinux/hdt.c32                   :  not a COM32/COM32R module
 syslinux/hexdump.c32               :  not a COM32/COM32R module
 syslinux/host.c32                  :  not a COM32/COM32R module
 syslinux/ifcpu.c32                 :  not a COM32/COM32R module
 syslinux/ifcpu64.c32               :  not a COM32/COM32R module
 syslinux/ifmemdsk.c32              :  not a COM32/COM32R module
 syslinux/ifplop.c32                :  not a COM32/COM32R module
 syslinux/kbdmap.c32                :  not a COM32/COM32R module
 syslinux/kontron_wdt.c32           :  not a COM32/COM32R module
 syslinux/ldlinux.c32               :  not a COM32/COM32R module
 syslinux/libcom32.c32              :  not a COM32/COM32R module
 syslinux/libgpl.c32                :  not a COM32/COM32R module
 syslinux/liblua.c32                :  not a COM32/COM32R module
 syslinux/libmenu.c32               :  not a COM32/COM32R module
 syslinux/libutil.c32               :  not a COM32/COM32R module
 syslinux/linux.c32                 :  not a COM32/COM32R module
 syslinux/ls.c32                    :  not a COM32/COM32R module
 syslinux/lua.c32                   :  not a COM32/COM32R module
 syslinux/mboot.c32                 :  not a COM32/COM32R module
 syslinux/meminfo.c32               :  not a COM32/COM32R module
 syslinux/menu.c32                  :  not a COM32/COM32R module
 syslinux/pcitest.c32               :  not a COM32/COM32R module
 syslinux/pmload.c32                :  not a COM32/COM32R module
 syslinux/poweroff.c32              :  not a COM32/COM32R module
 syslinux/prdhcp.c32                :  not a COM32/COM32R module
 syslinux/pwd.c32                   :  not a COM32/COM32R module
 syslinux/pxechn.c32                :  not a COM32/COM32R module
 syslinux/reboot.c32                :  not a COM32/COM32R module
 syslinux/rosh.c32                  :  not a COM32/COM32R module
 syslinux/sanboot.c32               :  not a COM32/COM32R module
 syslinux/sdi.c32                   :  not a COM32/COM32R module
 syslinux/sysdump.c32               :  not a COM32/COM32R module
 syslinux/vesainfo.c32              :  not a COM32/COM32R module
 syslinux/vesamenu.c32              :  not a COM32/COM32R module
 syslinux/vpdtest.c32               :  not a COM32/COM32R module
 syslinux/whichsys.c32              :  not a COM32/COM32R module
 syslinux/zzjson.c32                :  not a COM32/COM32R module

=============================== sda9/etc/fstab: ================================

--------------------------------------------------------------------------------
#
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# /dev/sda9
UUID=1a765403-f251-43d8-8edf-c191475d3837	/         	ext4      	rw,relatime,data=ordered	0 1

# /dev/sda6
#UUID=9C3F-2A9E      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro	0 2

UUID=9C3F-2A9E	/boot	vfat	defaults	0	2
UUID=9C3F-2A9E	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

============== sda9: Version of COM32(R) files used by Syslinux: ===============

 boot/syslinux/cat.c32              :  not a COM32/COM32R module
 boot/syslinux/chain.c32            :  not a COM32/COM32R module
 boot/syslinux/cmd.c32              :  not a COM32/COM32R module
 boot/syslinux/config.c32           :  not a COM32/COM32R module
 boot/syslinux/cptime.c32           :  not a COM32/COM32R module
 boot/syslinux/cpuid.c32            :  not a COM32/COM32R module
 boot/syslinux/cpuidtest.c32        :  not a COM32/COM32R module
 boot/syslinux/debug.c32            :  not a COM32/COM32R module
 boot/syslinux/disk.c32             :  not a COM32/COM32R module
 boot/syslinux/dmitest.c32          :  not a COM32/COM32R module
 boot/syslinux/elf.c32              :  not a COM32/COM32R module
 boot/syslinux/ethersel.c32         :  not a COM32/COM32R module
 boot/syslinux/gfxboot.c32          :  not a COM32/COM32R module
 boot/syslinux/gpxecmd.c32          :  not a COM32/COM32R module
 boot/syslinux/hdt.c32              :  not a COM32/COM32R module
 boot/syslinux/hexdump.c32          :  not a COM32/COM32R module
 boot/syslinux/host.c32             :  not a COM32/COM32R module
 boot/syslinux/ifcpu.c32            :  not a COM32/COM32R module
 boot/syslinux/ifcpu64.c32          :  not a COM32/COM32R module
 boot/syslinux/ifmemdsk.c32         :  not a COM32/COM32R module
 boot/syslinux/ifplop.c32           :  not a COM32/COM32R module
 boot/syslinux/kbdmap.c32           :  not a COM32/COM32R module
 boot/syslinux/kontron_wdt.c32      :  not a COM32/COM32R module
 boot/syslinux/ldlinux.c32          :  not a COM32/COM32R module
 boot/syslinux/libcom32.c32         :  not a COM32/COM32R module
 boot/syslinux/libgpl.c32           :  not a COM32/COM32R module
 boot/syslinux/liblua.c32           :  not a COM32/COM32R module
 boot/syslinux/libmenu.c32          :  not a COM32/COM32R module
 boot/syslinux/libutil.c32          :  not a COM32/COM32R module
 boot/syslinux/linux.c32            :  not a COM32/COM32R module
 boot/syslinux/ls.c32               :  not a COM32/COM32R module
 boot/syslinux/lua.c32              :  not a COM32/COM32R module
 boot/syslinux/mboot.c32            :  not a COM32/COM32R module
 boot/syslinux/meminfo.c32          :  not a COM32/COM32R module
 boot/syslinux/menu.c32             :  not a COM32/COM32R module
 boot/syslinux/pcitest.c32          :  not a COM32/COM32R module
 boot/syslinux/pmload.c32           :  not a COM32/COM32R module
 boot/syslinux/poweroff.c32         :  not a COM32/COM32R module
 boot/syslinux/prdhcp.c32           :  not a COM32/COM32R module
 boot/syslinux/pwd.c32              :  not a COM32/COM32R module
 boot/syslinux/pxechn.c32           :  not a COM32/COM32R module
 boot/syslinux/reboot.c32           :  not a COM32/COM32R module
 boot/syslinux/rosh.c32             :  not a COM32/COM32R module
 boot/syslinux/sanboot.c32          :  not a COM32/COM32R module
 boot/syslinux/sdi.c32              :  not a COM32/COM32R module
 boot/syslinux/sysdump.c32          :  not a COM32/COM32R module
 boot/syslinux/vesainfo.c32         :  not a COM32/COM32R module
 boot/syslinux/vesamenu.c32         :  not a COM32/COM32R module
 boot/syslinux/vpdtest.c32          :  not a COM32/COM32R module
 boot/syslinux/whichsys.c32         :  not a COM32/COM32R module
 boot/syslinux/zzjson.c32           :  not a COM32/COM32R module

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown GPT Partiton Type
e7afbfbf4fa38a449a5b6213eb736c22

========= Devices which don't seem to have a corresponding hard drive: =========

sdb 

=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-p9ML2Cte/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-p9ML2Cte/Tmp_Log: No such file or directory
  /dev/cdrom: open failed: No medium found
  /dev/sdb: open failed: No medium found
  No volume groups found
mdadm: No arrays found in config file or automatically

Any ideas?

Here's my 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 ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

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 ext2
set root='hd0,gpt9'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9  1a765403-f251-43d8-8edf-c191475d3837
else
  search --no-floppy --fs-uuid --set=root 1a765403-f251-43d8-8edf-c191475d3837
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
fi
terminal_input console
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-1a765403-f251-43d8-8edf-c191475d3837' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt 
	insmod fat
	set root='hd0,gpt6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  9C3F-2A9E
	else
	  search --no-floppy --fs-uuid --set=root 9C3F-2A9E
	fi
	echo	'Loading Linux core repo kernel ...'
	linux	/vmlinuz-linux root=UUID=1a765403-f251-43d8-8edf-c191475d3837 rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initramfs-linux.img
}
menuentry 'Arch Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-1a765403-f251-43d8-8edf-c191475d3837' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt 
	insmod fat
	set root='hd0,gpt6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  9C3F-2A9E
	else
	  search --no-floppy --fs-uuid --set=root 9C3F-2A9E
	fi
	echo	'Loading Linux core repo kernel ...'
	linux	/vmlinuz-linux root=UUID=1a765403-f251-43d8-8edf-c191475d3837 rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initramfs-linux-fallback.img
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-16DC-8816' {
	insmod part_gpt 
	insmod fat
	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  16DC-8816
	else
	  search --no-floppy --fs-uuid --set=root 16DC-8816
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### 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  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###

Last edited by knowNothing23 (2013-12-30 00:17:02)

Offline

#2 2013-12-30 17:40:35

srs5694
Member
From: Woonsocket, RI
Registered: 2012-11-06
Posts: 719
Website

Re: Arch & Windows 8 Dual Boot -- Windows Boot Loader loads grub-rescue

You should have a file on one of your two ESPs called EFI/Microsoft/Boot/bootmgfw.efi, but I don't see any evidence of that in your Boot Info Script output. This could be a bug in the script (I've heard of this before), or it could be that you accidentally deleted this file. I recommend you look for it manually, by mounting both /dev/sda2 and /dev/sda6 and looking for the file. If it's absent, you'll need to recover the file from a backup or by using a Windows recovery disc.

The symptom of your getting a GRUB rescue prompt when you launch Windows from GRUB sounds like a problem that can be caused by the Ubuntu Boot Repair tool -- it sometimes replaces bootmgfw.efi with another copy of GRUB, moving the original bootmgfw.efi to another file (typically bkpbootmgfw.efi). The solution is to re-run Boot Repair, enter its Advanced menu, and select the option to restore the backups it created.

You may also want to look into using gummiboot or rEFInd. Both are covered in the Arch wiki and in various other places. Alternatively, look into configuring GRUB 2 manually. Relying on the GRUB 2 configuration scripts is, IMHO, a bad idea with Arch, since Arch is a little odd and the GRUB configuration scripts that come with Ubuntu and other distributions are unlikely to do a good job with Arch's setup.

Offline

#3 2013-12-30 18:50:42

HenryP
Member
Registered: 2013-12-30
Posts: 1

Re: Arch & Windows 8 Dual Boot -- Windows Boot Loader loads grub-rescue

Hi,
New to this forum, joined today in anticipation of trying an install of AL...For whatever this may be worth:

I have an HP Pavillion desktop that came with Windows 8 (now 8.1), & has, of course, a UEFI boot system. I tried earlier to install Ubuntu Studio (which I currently run) on the same disk as Windows (/dev/sda), I made (I believe) a huge mistake in trying to install as LVM/ext4... wiped out my Windows install & made the UEFI unavailable... I had to do a complete re-install of Windows (fortunately, I did the recommended system backup, using 4 DVD's!) so then I tried a (non LVM) install on an external usb 3.0, with the Grub 2 on the external disk (great access time, & it worked fine...  IMO)...

One other item: as I have been trying to find the right flavor of Linux for my main purposes, I have been trying various distros. & having to try to learn to negotiate the UEFI, secure/legacy procedures (still learning)... As I was unsure of installing rEFind... I did down load the .iso, burn it to a CD...

http://www.rodsbooks.com/refind/getting.html

& in  legacy mode, found that simply putting it (rEFind CD into the CD/DVD player, which in the UEFI it is labeled something like HP/UEFI CD/DVD), & then launching it, rEFind worked for some other distros...that is, I was able to boot into my Linux distros, even bypassing Grub), as well as having the option of booting Windows. It may seem trivial that I say this (it maybe is), but I have not seen anywhere (I have scoured the internet rather well) this mentioned as a possibility (though it, of course, would not make such a good permanent solution, especially for computers like mine that have only one CD/DVD player).

HenryP

Offline

#4 2014-01-01 23:36:18

knowNothing23
Member
Registered: 2013-08-25
Posts: 33

Re: Arch & Windows 8 Dual Boot -- Windows Boot Loader loads grub-rescue

srs5694 wrote:

You may also want to look into using gummiboot or rEFInd. Both are covered in the Arch wiki and in various other places. Alternatively, look into configuring GRUB 2 manually. Relying on the GRUB 2 configuration scripts is, IMHO, a bad idea with Arch, since Arch is a little odd and the GRUB configuration scripts that come with Ubuntu and other distributions are unlikely to do a good job with Arch's setup.

Thank you rEFInd helped me. I can boot  Windows 8 and Linux. Is it possible to diminish the number of choices that rEFInd gives me upon start. Even Gummiboot choice is in there.

Offline

#5 2014-01-02 00:34:33

srs5694
Member
From: Woonsocket, RI
Registered: 2012-11-06
Posts: 719
Website

Re: Arch & Windows 8 Dual Boot -- Windows Boot Loader loads grub-rescue

knowNothing23 wrote:

Thank you rEFInd helped me. I can boot  Windows 8 and Linux. Is it possible to diminish the number of choices that rEFInd gives me upon start. Even Gummiboot choice is in there.

Yes. The first step is to figure out what the files are. In most cases, rEFInd displays these when you select an option, as in "Boot EFI\foo\bar.efi from 550MiB FAT volume." Once you know what you want to remove (and what you don't want to remove!), you can either:

  • Delete the files for the unwanted boot loaders. The ESP is most likely mounted at /boot or /boot/efi under Linux, so you'd need to add that to the path that rEFInd specifies, as in /boot/EFI/foo/bar.efi or /boot/efi/EFI/foo/bar.efi. Take this action only if you're certain that you don't want to use the boot loader in question ever again (or that you're willing to re-install the boot loader if you change your mind).

  • Edit the refind.conf file and uncomment one or more of the "dont_scan_volumes", "dont_scan_dirs", or "dont_scan_files" option lines. You can then add the volume name(s), directory name(s), or file name(s) for the boot loader(s) you don't want to load. Be careful to specify the name(s) in such a way that you won't affect boot loaders you do want to use. The volume specification is particularly likely to be over-the-top in this respect; you'll probably do better with directories or files.

You can use both methods, if you like -- say deleting duplicate boot loader program files and using "dont_scan_files" to eliminate one or two that you want to leave in place but that are cluttering your menu.

Offline

Board footer

Powered by FluxBB