[SOLVED] Can't boot Windows 8 using grub2. invalid EFI file path

English is not my native language. Please excuse typing errors.
I have just successfully installed Arch linux with grub2 as its boot manager. I
followed the arch beginner guide. I've used grub before and I'm familiar with
it, so chose to use grub instead for efistub. I installed os-prober and
ran grub-mkconfig to create the grub.cfg file. The problem now is that I recieve
an error when I try to boot windows 8. I have two drives (/dev/sda and /dev/sdb)
and I believe both are EFI-systems.
However, it's not very important for me to use grub, so if booting into windows
8 is easier using efistub, I will try that.
The computer is ASUS ux32vd with a hybrid disk with 25GB on the SSD and 500GB on
the hard drive. I believe the SSD part is used by Windows.
This is the first error I recieved when I tried to boot windows.
error: can't find command `drivemap'.
error: invalid EFI file path.
Press any key to continue...
Then I tried to follow this post
https://bbs.archlinux.org/viewtopic.php?id=150183 and made a new boot
entry "Windows 82". And I got a new error:
error: unspecified search type.
error: file '/EFI/Microsoft/Boot/bootmgfw.efi' not found
Press any key to continue...
Here are some command line outputs.
~ ᐅ sudo blkid
/dev/sdb1: PARTLABEL="HFS" PARTUUID="4613ee39-4727-4347-8134-173f590f716f"
/dev/sdb2: LABEL="INTELRST" UUID="BA5E-7431" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="304f2630-89b2-4632-a566-e8c6db9df3a9"
/dev/sda1: LABEL="SYSTEM" UUID="90FA-5332" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="5a60fff2-384a-4168-ad7b-7ba25c03c910"
/dev/sda2: LABEL="Recovery" UUID="ECE43E9AE43E674C" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="5da02b32-607a-4c63-88ef-00499bd6e05c"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="6c501a91-71a5-45d8-a9ee-2e2a1c427258"
/dev/sda4: LABEL="OS" UUID="DE4241E84241C5CD" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="6e182189-b0e3-479a-ac74-8e69452d7c66"
/dev/sda5: LABEL="DATA" UUID="B05448EC5448B6BE" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="be7e04ac-fb01-44fd-9571-e0b001652322"
/dev/sda6: LABEL="Restore" UUID="B8D84520D844DDEE" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="4d42c26d-2c85-4ebf-88ec-7a83a4814a61"
/dev/sda7: LABEL="ROOT" UUID="0d63036d-b624-4596-a296-1db457c068d5" TYPE="ext4" PARTUUID="707f4bca-18b4-4340-838f-ec3a39e9338a"
/dev/sda8: UUID="bcaa2c5f-150d-47c9-9a58-9a7b7ec7bed2" TYPE="swap" PARTUUID="1da43668-418c-4883-810b-e1c3dee75e61"
~ ᐅ sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 300M 0 part /boot/efi
├─sda2 8:2 0 600M 0 part
├─sda3 8:3 0 128M 0 part
├─sda4 8:4 0 186.3G 0 part /mnt/windows
├─sda5 8:5 0 190.1G 0 part /mnt/data
├─sda6 8:6 0 20G 0 part
├─sda7 8:7 0 66.5G 0 part /
└─sda8 8:8 0 1.9G 0 part
sdb 8:16 0 22.4G 0 disk
├─sdb1 8:17 0 18.4G 0 part
└─sdb2 8:18 0 4G 0 part
~ ᐅ sudo cat /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 ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
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,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 0d63036d-b624-4596-a296-1db457c068d5
else
search --no-floppy --fs-uuid --set=root 0d63036d-b624-4596-a296-1db457c068d5
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_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-0d63036d-b624-4596-a296-1db457c068d5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 0d63036d-b624-4596-a296-1db457c068d5
else
search --no-floppy --fs-uuid --set=root 0d63036d-b624-4596-a296-1db457c068d5
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=0d63036d-b624-4596-a296-1db457c068d5 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/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-0d63036d-b624-4596-a296-1db457c068d5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 0d63036d-b624-4596-a296-1db457c068d5
else
search --no-floppy --fs-uuid --set=root 0d63036d-b624-4596-a296-1db457c068d5
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=0d63036d-b624-4596-a296-1db457c068d5 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/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/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Recovery Environment (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-ECE43E9AE43E674C' {
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 ECE43E9AE43E674C
else
search --no-floppy --fs-uuid --set=root ECE43E9AE43E674C
fi
drivemap -s (hd0) ${root}
chainloader +1
menuentry 'Windows 8 (loader) (on /dev/sda4)' --class windows --class os $menuentry_id_option 'osprober-chain-DE4241E84241C5CD' {
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 DE4241E84241C5CD
else
search --no-floppy --fs-uuid --set=root DE4241E84241C5CD
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.
#menuentry "Microsoft Windows 8 x86_64 UEFI-GPT NTFS" {
#insmod part_gpt
#insmod ntfs
#insmod search_fs_uuid
#insmod chain
#search --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 DE4241E84241C5CD
#chainloader /EFI/Microsoft/Boot/bootmgfw.efi
menuentry "Windows 8" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --no-floppy --fs--uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 90FA-5332
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
menuentry "Windows 8-2" --class windows --class os $menuentry_id_option 'osprober-chain-ECE43E9AE43E674C' {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --no-floppy --fs--uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 90FA-5332
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
### 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 ###
~ ᐅ sudo grub-probe --target=fs_uuid /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
90FA-5332
~ ᐅ sudo grub-probe --target=hints_string /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
--hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1
bootinitscript
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/arch-grub/grubx64.efi /efi/Boot/bkpbootx64.efi
/efi/Boot/bootx64.efi /efi/ubuntu/grubx64.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: No errors found in the Boot Parameter Block.
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:
sda7: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Arch Linux ()
Boot files: /boot/grub/grub.cfg /etc/fstab
sda8: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: unknown filesystem type ''
sdb2: __________________________________________________________________________
File system: vfat
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 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 976,773,167 976,773,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 392,816,639 390,709,248 Data partition (Windows/Linux)
/dev/sda5 392,816,640 791,449,599 398,632,960 Data partition (Windows/Linux)
/dev/sda6 934,809,600 976,773,119 41,963,520 Windows Recovery Environment (Windows)
/dev/sda7 791,449,600 930,902,015 139,452,416 Data partition (Windows/Linux)
/dev/sda8 930,902,016 934,809,599 3,907,584 Swap partition (Linux)
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 24.0 GB, 24015495168 bytes, 46905264 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 1 4,294,967,295 4,294,967,295 ee GPT
/dev/sdb1 ends after the last sector of /dev/sdb
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sdb1 8,392,704 46,903,295 38,510,592 -
/dev/sdb2 2,048 8,390,655 8,388,608 -
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 90FA-5332 vfat SYSTEM
/dev/sda2 ECE43E9AE43E674C ntfs Recovery
/dev/sda3
/dev/sda4 DE4241E84241C5CD ntfs OS
/dev/sda5 B05448EC5448B6BE ntfs DATA
/dev/sda6 B8D84520D844DDEE ntfs Restore
/dev/sda7 0d63036d-b624-4596-a296-1db457c068d5 ext4 ROOT
/dev/sda8 bcaa2c5f-150d-47c9-9a58-9a7b7ec7bed2 swap
/dev/sdb1
/dev/sdb2 BA5E-7431 vfat INTELRST
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 /boot/efi vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda4 /mnt/windows fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda5 /mnt/data fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda7 / ext4 (rw,relatime,commit=600,data=ordered)
=========================== 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 ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
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,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 0d63036d-b624-4596-a296-1db457c068d5
else
search --no-floppy --fs-uuid --set=root 0d63036d-b624-4596-a296-1db457c068d5
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_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-0d63036d-b624-4596-a296-1db457c068d5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 0d63036d-b624-4596-a296-1db457c068d5
else
search --no-floppy --fs-uuid --set=root 0d63036d-b624-4596-a296-1db457c068d5
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=0d63036d-b624-4596-a296-1db457c068d5 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/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-0d63036d-b624-4596-a296-1db457c068d5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 0d63036d-b624-4596-a296-1db457c068d5
else
search --no-floppy --fs-uuid --set=root 0d63036d-b624-4596-a296-1db457c068d5
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=0d63036d-b624-4596-a296-1db457c068d5 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/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/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Recovery Environment (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-ECE43E9AE43E674C' {
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 ECE43E9AE43E674C
else
search --no-floppy --fs-uuid --set=root ECE43E9AE43E674C
fi
drivemap -s (hd0) ${root}
chainloader +1
menuentry 'Windows 8 (loader) (on /dev/sda4)' --class windows --class os $menuentry_id_option 'osprober-chain-DE4241E84241C5CD' {
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 DE4241E84241C5CD
else
search --no-floppy --fs-uuid --set=root DE4241E84241C5CD
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.
menuentry "Windows 8" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --no-floppy --fs--uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 90FA-5332
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
menuentry 'Windows 82' --class windows --class os $menuentry_id_option 'osprober-chain-ECE43E9AE43E674C' {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --no-floppy --fs--uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 90FA-5332
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
### 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 ###
=============================== sda7/etc/fstab: ================================
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda7 LABEL=ROOT
UUID=0d63036d-b624-4596-a296-1db457c068d5 / ext4 rw,relatime,data=ordered 0 1
# /dev/sda1 LABEL=SYSTEM
UUID=90FA-5332 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
LABEL=DATA /mnt/data ntfs-3g uid=sighol,gid=users,dmask=022,fmask=133 0 0
LABEL=OS /mnt/windows ntfs-3g uid=sighol,gid=users,dmask=022,fmask=133 0 0
=================== sda7: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown GPT Partiton Type
5850cbb887c11947baf0379ca2d4c97e
Unknown GPT Partiton Type
dee2bfd3af3ddf11ba40e3a556d89593
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 01 29 32 53 fa 90 4e 4f 20 4e 41 4d 45 20 20 |..)2S..NO 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 |{......|[email protected]|
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 |[email protected]|
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 sdb2
00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 08 2e 20 |.X.MSDOS5.0.... |
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 00 80 00 e9 1f 00 00 00 00 00 00 02 00 00 00 |................|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 00 29 31 74 5e ba 4e 4f 20 4e 41 4d 45 20 20 |..)1t^.NO 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 |{......|[email protected]|
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 |[email protected]|
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
========= Devices which don't seem to have a corresponding hard drive: =========
sdc {
=============================== StdErr Messages: ===============================
cat: /tmp/BootInfo-wSbit3X4/Tmp_Log: No such file or directory
/dev/sdc: open failed: No medium found
No volume groups found
mdadm: No arrays found in config file or automatically
EDIT:
I gave up trying to make grub work, so I uninstalled grub and deleted all the grub files I could find.
# pacrem grub-efi-x86_64
# rm -fr /boot/grub
That last one I came to regret later on. So I installed rEFInd using the archlinux beginners guide. When I then tried to boot into windows It told me that /boot/grub/x86_64-efi/normal.mod was not found. I then reinstalled grub-efi-x86_64 and copied /usr/lib/grub/x86_64 to /boot/grub. Now everything works fine.
Last edited by sighol (2013-06-08 21:47:49)

sighol wrote:However, it's not very important for me to use grub, so if booting into windows
8 is easier using efistub, I will try that.
The EFI stub loader is a Linux-only boot loader; however, it is possible to use the EFI stub loader in conjunction with a separate boot manager, such as rEFInd or gummiboot. In such a configuration, you'd use the boot manager to select the OS to boot (Windows or Linux, and possibly the specific Linux kernel), and the boot loader (the Windows loader or the EFI stub loader built into a specific kernel) will then take over booting the OS. In Arch, this is often easier to configure than is GRUB, since GRUB is very complex and its automated tools to help with setting things up often get it wrong.
This is the first error I recieved when I tried to boot windows.
error: can't find command `drivemap'.
error: invalid EFI file path.
Press any key to continue...
The "drivemap" command in GRUB is generally used when booting a BIOS-mode boot loader, and in fact your "Windows Recovery Environment (loader) (on /dev/sda2)" and "Windows 8 (loader) (on /dev/sda4)" GRUB entries are both built as for BIOS-mode Windows installations -- but the fact that your disks both use GPT means that Windows won't boot in BIOS mode on your computer. (This is one of the many things that the GRUB setup scripts can get wrong.)
Then I tried to follow this post
https://bbs.archlinux.org/viewtopic.php?id=150183 and made a new boot
entry "Windows 82". And I got a new error:
error: unspecified search type.
error: file '/EFI/Microsoft/Boot/bootmgfw.efi' not found
Press any key to continue...
Both your "Windows 8" and "Windows 82" entries refer to an EFI boot loader file called EFI/Microsoft/Boot/bootmgfw.efi on your EFI System Partition (ESP). This should be correct, but your Boot Info Script output doesn't show any evidence of such a file. Sometimes Boot Info Script misses such things, so you may want to check it just to be sure. Your ESP is /dev/sda1, and it looks like it's being mounted at /boot/efi by default, so check for the /boot/efi/EFI/Microsoft directory tree, and for /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi in particular. If that file isn't present, then something is wrong -- perhaps you mistakenly erased the ESP when you installed Linux, thus wiping out the Windows boot loader; or perhaps the file was accidentally deleted somewhere along the way. (Note that on FAT, which the ESP uses, case is irrelevant, and in fact case varies between the filenames reported by Boot Info Script and what's recorded in your configuration files.)
You do have another boot loader file that may be a duplicate of the Windows boot loader: EFI/BOOT/bkpbootx64.efi. This filename is generally created by Ubuntu's "Boot Repair" tool, which IMHO can do as much harm as good, especially on a system that's not booting Ubuntu. If you ran this tool, though, it's conceivable that bkpbootx64.efi is a copy of the Windows boot loader, so copying it to EFI/Microsoft/Boot/bootmgfw.efi might get things working. OTOH, the Windows boot loader relies on other files to do its job, so if they're not present, copying the Windows boot loader to its original location won't be sufficient.
If you can't get things working based on the preceding suggestions, I recommend you run a Windows repair tool. These are accessible from a Windows recovery disc. Such disc images are readily available on the Internet, but I don't happen to have any links handy. Try Microsoft's own site; images obtained from random third-party sites might contain malware. Once you've done this, chances are the computer will boot directly into Windows. You'll then need to either restore GRUB as the default boot loader or install another boot loader or boot manager.  You can use the Windows "bcdedit" command to do the former, as in:
bcdedit /set {bootmgr} path \EFI\arch-grub\grubx64.efi
You'll need to type this from an Administrator Command Prompt window.

Similar Messages

  • Invalid EFI file path when dual boot

    I'm trying to dual boot arch linux with windows 7.
    I have windows 7 and my plan for partition is
    sda 4:0 128g <- SSD
    ├─sda1 4:1 0 70g 0 part <- windows 7 already installed.
    ├─sda2 4:2 0 4g 0 part <- /swap
    ├─sda3 4:3 0 500m 0 part <- /boot
    ├─sda4 4:4 0 40g 0 part <- /, /usr, /usr/local, /opt
    sdb 2:0 500g <- HDD
    ├─sdb1 2:1 0 150g 0 part <- windows D drive
    ├─sdb2 2:2 0 350g 0 part <- /var, /home, /tmp
    Also, my motherboard supports UEFI boot.
    Following Beginner's guide, I formatted sda2, sda3, sda4, sdb2 typing
    # mkfs.ext4 /dev/sda2
    # mkfs.vfat -F32 /dev/sda3
    # mkfs.ext4 /dev/sda4
    # mkfs.ext4 /dev/sdb2
    and I mounted /boot on sda3.
    After installing grub,  I typed
    # grub-mkconfig -o /boot/grub/grub.cfg
    Then to make windows7 menu on grub, following Linux menu entry , I modified /etc/grub.d/40_custom file as
    #!/bin/sh
    exec tail -n +3 $0
    # Windows 7
    menuentry "Windows 7" {
    set root="(hd0,1)"
    chainloader +1
    Finishing arch installation and rebooting,  I could see the windows 7 section  on grub boot menu,
    but if I choose windows7, it prints error
    error: invalid EFI file path
    press any key to continue...
    Actually, there was one more error message at first line,
    but seeing this error message and reinstalling again and again,
    I think something was twisted, and now I can't boot windows either...
    So I'm reinstalling windows.
    What is the correct way to dual boot windows and arch?
    Last edited by hermite (2015-02-04 00:54:00)

    It looks like your Windows system was booting in non-EFI mode and so does not have a bootloader on the EFI system partition.
    When you have re-installed Windows, check the partition table from the Arch ISO (`parted -l`) -- if there is no EFI system partition (type EF00) then you should install Arch in non-EFI mode (don't use FAT for /boot) and install GRUB using:
    # grub-install --target=i386-pc --recheck /dev/sda
    https://wiki.archlinux.org/index.php/Be … therboards

  • [SOLVED] Unable to Boot Windows 7 from GRUB

    I recently reinstalled Arch onto my laptop (Lenovo Thinkpad t520) and have been having problems with Grub. For the last week I've been having trouble getting it to run grub at boot at all, only being able to run windows 7 by flagging it as the bootable drive. The other day I finally got it to boot into grub, and from grub I can boot into Arch. However, I can not boot into windows 7 through grub. When I attempt to, it throws an error:
    Invalid EFI file path
    I'm somewhat new to arch, and especially new to efi bootloading and such. Right now the only way I can get into windows is either booting from the arch install disk > boot other os and specifying partition 2 (where I have windows installed) or by pressing f12 at boot. When I do this (not sure what the term is, if anyone knows please tell me), it brings up a menu asking where I want to boot with "arch_efi" "cd drive" "Hard drive" etc. I choose hard drive and it will then boot to windows by default. Booting normally takes me to grub where I can boot into arch but not windows. If there's any more info you need please let me know and I'll try to provide it. Thanks in advance.
    Also, here is my current partition setup
    /dev/sda1 /boot/efi
    /dev/sda2 Windows7
    /dev/sda3 Extended partition containing sda 5,6, & 7
    /dev/sda4 swap
    /dev/sda5 /boot
    /dev/sda6 /
    /dev/sda7 /home
    UPDATE
    Terminator seems to be right (still on a roll!), so I wiped the partition I had grub on, removed grub, and installed syslinux. Now I have another problem that I'm hoping can be solved in the same thread to avoid another. It boots to syslinux no problem, and I can boot to windows from there all good, but when I select arch I get:
    Root device mounted successfully but /sbin/init does not exist
    I haven't been able to look for solutions too much on my own, but any help would be appreciated, thank you.
    Last edited by IamFuzzles (2012-08-22 04:20:56)

    Terminator wrote:If I understand it correctly, what you are trying is impossible: you are trying to boot windows using UEFI on a disk with MBR partitioning. Windows 7 only supports UEFI on discs with GPT partitioning but AFAIK, extended partitions only exist in MBR partitioning.
    i also saw this in the arch wiki, but i have a brand new lenovo ideapad y570 running windows 7 64-bit that i'm in the process of setting up for someone, and it has what i think is an efi system partition but the disk uses mbr partitioning.  does anyone know why this might be, or is there a way i can verify that the system is actually being booted via bios-mbr?
    Last edited by e_tank (2012-08-21 11:56:15)

  • Can't boot Windows 8.1 using refind

    Hello,
    I just installed arch on my computer that has an existing installation of windows 8.1 and am having trouble booting windows using refind.
    I've configured refind so that arch loads fine and windows should be autodetected from what I've read, but it isn't. So I tried adding a manual entry for windows but that isn't working either. I think the problem is that windows is installed onto another drive and refind is having trouble seeing it. It may be that I don't have a refind driver for ntfs partitions, but I couldn't find one. Any help would be greatly appreciated. Let me know if I left anything out.
    Here's the relevant info from refind.conf
    I did try changing the path to the windows loader to have a leading '\' and also to point to bootmgr.efi instead of bootmgfw.efi
    menuentry "Windows 8" {
    icon /EFI/refind/icons/os_win.png
    volume BootDrive
    loader Microsoft\Boot\EFI\bootmgfw.efi
    enabled
    blkid:
    /dev/sda1: LABEL="Data" UUID="C840F3D640F3C968" TYPE="ntfs" PARTUUID="16ffade3-01"
    /dev/sda2: LABEL="BootDrive" UUID="01CED745C5CEC220" TYPE="ntfs" PARTUUID="16ffade3-02"
    /dev/sdd1: LABEL="Backups" UUID="4A12067412066573" TYPE="ntfs" PARTUUID="08000000-01"
    /dev/sdb1: UUID="5925-3349" TYPE="vfat" PARTLABEL="EFI System" PARTUUID="9e20dce9-15c2-4a53-bce2-f40a7a8c219f"
    /dev/sdb2: UUID="8243215c-a01e-4757-bfe3-40122f8cabfe" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="f74457e4-9560-4e0f-849b-4b0c6238f863"
    /dev/sdb3: UUID="b3b3056e-8bc3-4914-ac9d-7b1d1ec689bf" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="b647f85d-e705-4b10-b28c-475e710eb236"
    /dev/sdb4: UUID="9ff2d12c-5c8e-47dd-8c99-ce6ff0fd24b1" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="d1496b09-b0fd-45c2-9d5b-85eed5ba6598"
    /dev/sdc1: LABEL="Storage" UUID="4050EC8F50EC8D4A" TYPE="ntfs" PARTUUID="a08512f9-01"
    lsblk:
    sda 8:0 0 232.9G 0 disk
    ├─sda1 8:1 0 100M 0 part
    └─sda2 8:2 0 232.8G 0 part
    sdb 8:16 0 111.8G 0 disk
    ├─sdb1 8:17 0 300M 0 part /boot
    ├─sdb2 8:18 0 10G 0 part /
    ├─sdb3 8:19 0 10G 0 part /var
    └─sdb4 8:20 0 91.5G 0 part /home
    sdc 8:32 0 931.5G 0 disk
    └─sdc1 8:33 0 931.5G 0 part
    sdd 8:48 0 465.8G 0 disk
    └─sdd1 8:49 0 465.8G 0 part
    sr0 11:0 1 1024M 0 rom

    It is best to share ESP with windows and mount it on /boot.
    If you didn't then do this
    # mkdir /tmp/ESP && mount /dev/sdb1 /tmp/ESP
    # find /tmp/ESP -iname bootmgfw.efi
    If you want the things going smoothly, consider to mount win8 ESP in Arch /boot and make sure that the old /boot content is copied into the new location. You should need to install the package dosfstools, if not available.
    It looks like you hadn't have enough time to read the wiki

  • HT4818 I have installed bootcamp that worked properly.  Then I have partitioned the OS X 10.8.2 and installed another OS X 10.8.2 and I have got two MAC boot options and Bootcamp disappeared from the Option menu. How can I boot Windows again and keep both

    I have installed bootcamp by the bootcamp assistant and worked properly.
     Then I have partitioned the OS X 10.8.2 and installed another Mountain Lion System and I have got two MAC boot options and Bootcamp disappeared from the Option menu. However, Bootcamp still remained in the Startup Disk in the System Preferences. When I tried to boot Bootcamp using the Startup Disk it did not boot and received a message that there is no bootable device. I have not lost any data and can read Bootcamp partition from both OS X systems. Please advise how can I boot Windows / Bootcamp again? Thank you. 

    Recommendation 1: Use a VM for this. It's essentially a giant C.F. to do this with native booting, and is potentially fragile.
    But if you're going to ignore that and do this anyway, realizing that it can break anytime in particular with OS upgrades, and that it's very difficult to impossible to resize the three volumes once you've installed the systems:
    1. create three partitions, setting each to be the size for OS X copy 1, copy 2, and Windows respectively. The Windows partition needs to be set to MS-DOS format (actually FAT32) which later in the Windows installer you'll reformat as NTFS. Do not use Boot Camp Assistant to resize/partition the disk, it simply won't work for this use case.
    2. install OS X copy 1
    3. install OS X copy 3
    4. Use gdisk (available at sourceforge) which is a command line only application, to create a new hybrid MBR adding only the last partition (Windows) to the hybrid MBR and setting it to be bootable. As a concequence you will not be able to see/share either OS X volume from within Windows. The Windows NTFS volume will be visible from within OS X.
    5. Install Windows to the only partition its installer should see (confirm size), you'll need to format it NTFS first, and I suggest using the fast format option if available.

  • Bootmgr problem - can't boot windows

    Hi.
    Please help me with my boot problem. I cannot access my computer, windows will not boot.
    I am running windows 7.
    Upon starting up my laptop, I get the message "bootmgr is compressed - press ctrl alt del to restart"
    I have searched for the problem around the internet, and it seems to be due to people compressing their hard drive to save space and cancelling half way through.
    I have not done this- I was playing around with a SLIC Loader program and installed it by mistake, now I can't boot windows.
    I have tried using my windows 7 DVD to repair the startup but it didn't work.
    I have also tried to restore but I did not set any restore points.
    I have tried using some command prompt bootmgr reset procedures which also did not work.
    Can I somehow get a backup of bootmgr and restore it?
    Please help
    Thanks

    Hi
    I assume your boot manager is damage. Probably by installing the SLIC Loader program
    My idea was simply; boot from Win 7 disk and then try to get into the command console.
    There you could use the command FIXMBR
    But if this will not help then you should take your Windows disk or Toshiba recovery disk and should reinstall the whole system again.

  • I can't boot windows in my iMac late 2011 as my internal cd reader does not work

    i can't boot windows in my iMac late 2011 as my internal cd reader does not work

    Which copy or version of Windows? and how where was it purchased?
    my window installed itself perfectly on another computer.
    One copy and you want to activate on two computers?
    With 16GB, it will try to create 16GB hibernation file, 24GB page file, and need 20-30GB for the OS, plus room for temp, cache, applications, 9GB just temp to install SP1 update(s). 
    did you create 80GB or larger partition?
    also, some macs with ssd + hard drive have issues, and of course you need Windows 7 64-bit home premium (Pro to use more).
    OWC has up to 32GB, not cheap.
    http://eshop.macsales.com/shop/memory/iMac/2010/DDR3_21.5_27
    Crucial is usally very helpful, try email cs.

  • Can you boot up using time machine

    can you boot up using time machine? have continuous grey screen at startup.

    Time Capsule TC = hardware router and hard disk designed to work with Time Machine.
    Time Machine TM = software in the computer designed to run background backup.
    What you buy is a Time Capsule..
    And yes, that is the whole point of the TC..
    Its fundamental design is a backup device for laptops over wireless so they do not need to be plugged in to do backups.
    You are using it exactly for the intended use.

  • Can 'GUI_UPLOAD'  to be used to upload excel file lonely?

    Hi experts,
    I wonder that can 'GUI_UPLOAD'  to be used to upload excel file lonely. I tried and use 'asc' as the L_FILETYPE, but the data uploaded contain many '###yyy'. But if I save the excel file as a txt file,
    the data can be uploaded by 'GUI_UPLOAD' correctly. So what is the problem?

    Excel files be can't uploaded using "GUI_UPLOAD".
    Use the FM "ALSM_EXCEL_TO_INTERNAL_TABLE"
    Try this code:
    * Upload data direct from excel.xls file to SAP
    REPORT ZEXCELUPLOAD.
    PARAMETERS: filename LIKE rlgrap-filename MEMORY ID M01,
                begcol TYPE i DEFAULT 1 NO-DISPLAY,
                begrow TYPE i DEFAULT 1 NO-DISPLAY,
                endcol TYPE i DEFAULT 100 NO-DISPLAY,
                endrow TYPE i DEFAULT 32000 NO-DISPLAY.
    * Tick don't append header
    PARAMETERS: kzheader AS CHECKBOX.
    DATA: BEGIN OF intern OCCURS 0.
            INCLUDE STRUCTURE  alsmex_tabline.
    DATA: END OF intern.
    DATA: BEGIN OF intern1 OCCURS 0.
            INCLUDE STRUCTURE  alsmex_tabline.
    DATA: END OF intern1.
    DATA: BEGIN OF t_col OCCURS 0,
           col LIKE alsmex_tabline-col,
           size TYPE i.
    DATA: END OF t_col.
    DATA: zwlen TYPE i,
          zwlines TYPE i.
    DATA: BEGIN OF fieldnames OCCURS 3,
            title(60),
            table(6),
            field(10),
            kz(1),
          END OF fieldnames.
    * No of columns
    DATA: BEGIN OF data_tab OCCURS 0,
           value_0001(50),
           value_0002(50),
           value_0003(50),
           value_0004(50),
           value_0005(50),
           value_0006(50),
           value_0007(50),
           value_0008(50),
           value_0009(50),
           value_0010(50),
           value_0011(50),
           value_0012(50),
           value_0013(50),
           value_0014(50),
           value_0015(50),
           value_0016(50),
           value_0017(50),
           value_0018(50),
           value_0019(50),
           value_0020(50),
           value_0021(50),
           value_0022(50),
           value_0023(50),
           value_0024(50),
           value_0025(50),
           value_0026(50),
           value_0027(50),
           value_0028(50),
           value_0029(50),
           value_0030(50),
           value_0031(50),
           value_0032(50),
           value_0033(50),
           value_0034(50),
           value_0035(50),
           value_0036(50),
           value_0037(50),
           value_0038(50),
           value_0039(50),
           value_0040(50),
           value_0041(50),
           value_0042(50),
           value_0043(50),
           value_0044(50),
           value_0045(50),
           value_0046(50),
           value_0047(50),
           value_0048(50),
           value_0049(50),
           value_0050(50),
           value_0051(50),
           value_0052(50),
           value_0053(50),
           value_0054(50),
           value_0055(50),
           value_0056(50),
           value_0057(50),
           value_0058(50),
           value_0059(50),
           value_0060(50),
           value_0061(50),
           value_0062(50),
           value_0063(50),
           value_0064(50),
           value_0065(50),
           value_0066(50),
           value_0067(50),
           value_0068(50),
           value_0069(50),
           value_0070(50),
           value_0071(50),
           value_0072(50),
           value_0073(50),
           value_0074(50),
           value_0075(50),
           value_0076(50),
           value_0077(50),
           value_0078(50),
           value_0079(50),
           value_0080(50),
           value_0081(50),
           value_0082(50),
           value_0083(50),
           value_0084(50),
           value_0085(50),
           value_0086(50),
           value_0087(50),
           value_0088(50),
           value_0089(50),
           value_0090(50),
           value_0091(50),
           value_0092(50),
           value_0093(50),
           value_0094(50),
           value_0095(50),
           value_0096(50),
           value_0097(50),
           value_0098(50),
           value_0099(50),
           value_0100(50).
    DATA: END OF data_tab.
    DATA: tind(4) TYPE n.
    DATA: zwfeld(19).
    FIELD-SYMBOLS: <fs1>.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR filename.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
           EXPORTING
                mask      = '*.xls'
                static    = 'X'
           CHANGING
                file_name = filename.
    START-OF-SELECTION.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
           EXPORTING
                filename                = filename
                i_begin_col             = begcol
                i_begin_row             = begrow
                i_end_col               = endcol
                i_end_row               = endrow
           TABLES
                intern                  = intern
           EXCEPTIONS
                inconsistent_parameters = 1
                upload_ole              = 2
                OTHERS                  = 3.
      IF sy-subrc <> 0.
        WRITE:/ 'Upload Error ', SY-SUBRC.
      ENDIF.
    END-OF-SELECTION.
      LOOP AT intern.
        intern1 = intern.
        CLEAR intern1-row.
        APPEND intern1.
      ENDLOOP.
      SORT intern1 BY col.
      LOOP AT intern1.
        AT NEW col.
          t_col-col = intern1-col.
          APPEND t_col.
        ENDAT.
        zwlen = strlen( intern1-value ).
        READ TABLE t_col WITH KEY col = intern1-col.
        IF sy-subrc EQ 0.
          IF zwlen > t_col-size.
            t_col-size = zwlen.
    *                          Internal Table, Current Row Index
            MODIFY t_col INDEX sy-tabix.
          ENDIF.
        ENDIF.
      ENDLOOP.
      DESCRIBE TABLE t_col LINES zwlines.
      SORT intern BY row col.
      IF kzheader = 'X'.
        LOOP AT intern.
          fieldnames-title = intern-value.
          APPEND fieldnames.
          AT END OF row.
            EXIT.
          ENDAT.
        ENDLOOP.
      ELSE.
        DO zwlines TIMES.
          WRITE sy-index TO fieldnames-title.
          APPEND fieldnames.
        ENDDO.
      ENDIF.
      SORT intern BY row col.
      LOOP AT intern.
        IF kzheader = 'X'
        AND intern-row = 1.
          CONTINUE.
        ENDIF.
        tind = intern-col.
        CONCATENATE 'DATA_TAB-VALUE_' tind INTO zwfeld.
        ASSIGN (zwfeld) TO <fs1>.
        <fs1> = intern-value.
        AT END OF row.
          APPEND data_tab.
          CLEAR data_tab.
        ENDAT.
      ENDLOOP.
      CALL FUNCTION 'DISPLAY_BASIC_LIST'
           EXPORTING
                file_name     = filename
           TABLES
                data_tab      = data_tab
                fieldname_tab = fieldnames.
    *-- End of Program

  • Problem in Loading - Invalid Report File Path

    Post Author: a_Mohammad
    CA Forum: .NET
    Im using CR which came as a bundle with VS2005. I deployed my ASP.NET project on online server. Sometimes, When users try to load the reports, they got an error says "Invalid Report File Path" appears at the top of the report, and no data shown. If i reset the IIS, it return to work fine again.
    Usually i got this error when there is a lot of hits on the server and reports..
    Can you plz advice on that???

    Hello ,
    The formula must always return some value. When a conditional test produces no result and this code is responsible for the RETURN in a formula, the error occurs. Make sure that the condition returns a value in all cases (trap errors).
    Example:
    Problem code
    function CF_1Formula return Number is
    begin
    if :deptno = 10 then
    return(10);
    end if;
    end;
    If deptno is not 10 , this does not return any value .
    Correct code
    You can write the function as:
    function CF_1Formula return Number is
    begin
    if :deptno = 10 then
    return(100);
    else
    return(200);
    end if;
    end;
    Thanks
    The Oracle Reports Team

  • Invalid Report File Path Error

    I have included several Crystal Reports as embedded resources in a Visual Studio 2010 C# project.  When I try to run the application on a client PC I receive an invalid report file path error.  Why am I receiving this error if the rpt is embedded in the manifest?

    The following code now works on my development machine.  It obtains the server name and database name from the configuration file.  When I run on my client PC, however, it prompts me to log into the database.  It provides the correct server name but the database name is blank and integrated security is not checked.  The database name field is not enabled so I cannot provide a value.
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine; //jp
    using CrystalDecisions.Shared; //jp
    namespace WindowsFormsApplication1
        public partial class FormRptArtist : Form
            private CrystalReport1 crReportDocument = new CrystalReport1();
            public FormRptArtist()
                InitializeComponent();
                ToolTip toolTip = new ToolTip(); toolTip.SetToolTip(btnHelp, "Flash Video Training / Help");
                helpProvider1.HelpNamespace = GlobalClass.gb_help;
            private void FormRptArtist_Load(object sender, EventArgs e)
                TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();
                TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
                ConnectionInfo crConnectionInfo = new ConnectionInfo();
                Tables CrTables;
                bool repeat = true;
                while (repeat)
                    try
                        crConnectionInfo.ServerName = Properties.Settings.Default.CrystalServer;
                        crConnectionInfo.DatabaseName = Properties.Settings.Default.CrystalDatabase;
                        crConnectionInfo.IntegratedSecurity = true;
                        CrTables = crReportDocument.Database.Tables;
                        foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
                            crtableLogoninfo = CrTable.LogOnInfo;
                            crtableLogoninfo.ConnectionInfo = crConnectionInfo;
                            CrTable.ApplyLogOnInfo(crtableLogoninfo);
                        crystalReportViewer1.ReportSource = crReportDocument;
                        crystalReportViewer1.Refresh();
                        break;
                    catch (Exception exp)
                        MessageBox.Show(exp.Message);
                        DialogResult result1 = MessageBox.Show("Try Again?", "Database Connection Error",
                            MessageBoxButtons.RetryCancel);
                        if (result1 == DialogResult.Retry)
                            FormCrystalParms newWindow = new FormCrystalParms();
                            newWindow.ShowDialog();
                        else
                            repeat = false;
            private void CrystalReport11_InitReport(object sender, EventArgs e)
            private void btnHelp_Click(object sender, EventArgs e)
                GlobalClass.displayflashhelp(this, "formrptartist");     
            private void crystalReportViewer1_Load(object sender, EventArgs e)

  • Invalid report file path.

    I have a .NET C# Web App with embedded Crystal Reports (version 10.2.3600) running on Windows Server 2003 Standard Edition (Service Pack 2). Every few days the reports generate errors and we have to restart IIS to get them to run again. I cannot figure out what is causing the system to lock up. The error I am getting is 'Invalid report file path.' Do you know what would cause this to happen?

    this is the C# code we used to fix this issue:
    private ReportDocument CrystalRpt;
        //Declaring these here and disposing in the Page_Unload event was the key.  Then the only other issue was the
        // limitations of Crystal 11 and simultaneous access to the rpt file.  I make a temp copy of the file and use that in the
        // method.  Then I delete the temp file in the unload event.
        private ReportDocument mySubRepDoc;
        private ReportClass ReportObject;
        private string tmpReportName;
        protected void Page_UnLoad(object sender, EventArgs e)
    Try
                CrystalReportViewer1.Dispose();
                CrystalReportViewer1 = null;
                CrystalRpt.Close();
                CrystalRpt.Dispose();
                CrystalRpt = null;
                mySubRepDoc.Close();
                mySubRepDoc.Dispose();
                mySubRepDoc = null;
                ReportObject.Close();
                ReportObject.Dispose();
                ReportObject = null;
                GC.Collect();
                File.Delete(tmpReportName);
    catch
    { ...Error Handler }
    protected void Page_Load(object sender, EventArgs e)
            CrystalRpt = new ReportDocument();
            ConnectionInfo CrystalConn = new ConnectionInfo();
            TableLogOnInfo tblLogonInfo = new TableLogOnInfo();
            ReportObject = new ReportClass();
            TableLogOnInfo CrystalLogonInfo = new TableLogOnInfo();
            ParameterField CrystalParameter = new ParameterField();
            ParameterFields CrystalParameters = new ParameterFields();
            ParameterDiscreteValue CrystalParameterDV = new ParameterDiscreteValue();
            TableLogOnInfo ConInfo = new TableLogOnInfo();
            SubreportObject mySubReportObject;
            mySubRepDoc = new ReportDocument();
            //Report name is sent in querystring.
            string ReportName = Request.QueryString["ReportName"];
            // I did this because Crystal 11 only supports 3 simultaneous users accessing the report and 
            // we have up to 60 at any time.  This copies the actual rpt file to a temp rpt file.  The temp rpt
            // file is used and then is deleted in the Page_Unload event
            Random MyRandomNumber = new Random();
            tmpReportName = ReportName.Replace(".rpt", "").Replace(".ltr", "") + MyRandomNumber.Next().ToString() +".rpt";
            File.Copy(ReportName, tmpReportName, true);
            CrystalRpt.Load(tmpReportName);

  • Invalid Report File Path (URGENT)

    Post Author: a_Mohammad
    CA Forum: Publishing
    Im using CR which came as a bundle with VS2005. I deployed my ASP.NET project on online server. Sometimes, When users try to load the reports, they got an error says "Invalid Report File Path" appears at the top of the report, and no data shown. If i reset the IIS, it return to work fine again.
    Usually i got this error when there is a lot of hits on the server and reports..
    Can you plz advice on that???
    Thx in Advance

    Hello Shweta,
                       Thanks for responding.  I load the report using the Report.Load(Filepath) command.  The reports are located on a seperate machine within the network.  The error occurs after the form has been loaded, parameters have been determined and margins have been set, but before the report actually gets displayed on the screen.
    Here is the last breakpoint I can find before the error occurs.
    Private Sub _RptLoad(ByVal sender As Object, ByVal e As System.EventArgs)
            If (ReportDoc.HasSavedData) Then
                Me.Close()
                Me.DialogResult = DialogResult.Cancel
            End If
            AddHandler BTNApply.Click, AddressOf _ApplyNewMargins
            AddHandler BTNSave.Click, AddressOf _SaveNewMarginOffsets
            AddHandler UNELeft.ValueChanged, AddressOf _AnyOffsetChanged
            AddHandler UNETop.ValueChanged, AddressOf _AnyOffsetChanged
            AddHandler UNEBottom.ValueChanged, AddressOf _AnyOffsetChanged
            AddHandler UNERight.ValueChanged, AddressOf _AnyOffsetChanged
            Me.BTNApply.Enabled = False
            Me.BTNSave.Enabled = False
            RaiseEvent ReportLoaded(Me, Nothing)
        End Sub
    Everything here runs fine, but if I F11 from the END SUB I get the error and cannot figure out where its going from there or what's throwing the error.
    Thank you for your time,
    Dennis

  • Invalid report File path-crystal report

    Hi Every one,
    I created Crystal Layout for GRPO PLD.When I am trying to import it is showing 'Invalid report file path',But it is working fine in another server.
    Please suggest.
    Thanks and Regards
    DEV

    Hi,
    Not sure below SAP note related to above issue:
    1710613 - CR_Multiple Data Sources Not Recognized After Importing
    Multi-Database Crystal Reports
    1668274 - Print Draft with Crystal Layout
    Thanks & Regards,
    Nagarajan

  • Aperture using 3 week old file paths for referenced files after Rebuild

    I recently had major problems with some Nikon D60 files (the referenced files switched original files). I had to re-import everything a start again. Having sorted everything out, I then relocated the files with new files names (thinking that the original file names may have caused the problems).
    This was 3 weeks ago. However, when I Rebuilt the library today, these renamed images went offline because Aperture has kept the original file paths (with the original names).
    Does anyone know how to update file paths to the current ones? (rather than some random previous one).

    Thanks for the reply. I will check out the links.
    I should have mentioned that all renaming/moving of files was done from within Aperture. Aperture is not updating its own file paths.
    The process is this. Having moved/renamed the images (using Aperture's Relocate Masters) I am able to use the software, close it down, restart etc and the images will be found correctly with few/no 'lost' images. It is when I use 'Rebuild' that the file paths revert to an old, previously used version that is no longer valid. It is as though there are two preference files, each with a different file path information. There was a post sometime ago that mentioned using Terminal commands to force Aperture to update to the correct files paths/directories. I haven't been able to find the post yet though.
    These particular files (Nikon D60) are not from my own camera so I am not sure why I have had such an issue. Normally I am using a Canon 5D MK2 or a Phaseone digital back. However, even with my own equipment I do regularly have to 'Reconnect' one or two image files that have become lost which is annoying. So I am keen to get to the bottom of this issue.

Maybe you are looking for

  • Error while running the rdf using concurrent program

    Hi All, I am facing the following error when i try to run the concurrent program REP-0736: There exist uncompiled program unit(s). REP-1247: Report contains uncompiled PL/SQL. I am using a package in the program units. when i ues it the database its

  • Count Distinct employees between two dates

    I'm having a headache trying to figure this out and I can't seem to find the correct way of doing it. Any help would be greatly appreciated. I'm needing to get a distinct number count of weekly employees by month that have worked or received pay for

  • Scan to email blues...

    When I attept to scan to email on my all in one printer, it tells me there is no email associated with the printer. How, oh how, do I associate an email adress with it. Have been over, and over my settings, and have found nothing. Thanks in advance f

  • Just upgraded to iPhoto 11.  slideshow does not work. just is black.

    I just upgraded to iPhoto 11.  I am on a MacPro desktop. Slideshow does not work for either the existing slideshows or to create new one. Just a black screen.  When you click on the slideshow button it fades for a microsecond like it is going to go t

  • File size too large

    I've begun scanning all of my medium format (6 x 4.5) slides, and Lightroom was strongly recommended as a great tool for working with photo images (I also have CS2, but am not very proficient yet with it). I've been scanning my better images at 6400d