Меню

Ошибка invalid efi file path

I just got my new working notebook with Windows 8 pre-installed. After installing Ubuntu 12.10 the grub menu says that there is an «invalid EFI file path» and it won’t boot Windows. Ubuntu works fine…

Is there anything I can do about this?

Braiam's user avatar

Braiam

66.2k30 gold badges174 silver badges262 bronze badges

asked Nov 3, 2012 at 10:56

Patrik's user avatar

3

you should try to add windows as workaround manually to grub.

At first run

sudo blkid

Here you should see the UUID from your windows partition

open /etc/grub.d/40_custom and paste/edit following code but replace
UUID_FROM_WIN8 with your UUID mentioned above.

menuentry "Windows 8 UEFI" {
    search --fs-uuid --no-floppy --set=root UUID_FROM_WIN8
    chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi
}

The chainloader should look the same for all windows versions, as far as i know..

After editing grub files you have to run

sudo update-grub

Please test it first and give me some feedback because it could be possible that the efi file won’t be found.. but i don’t want to give multiple advice in one answer..

hope this helps!

answered Nov 11, 2012 at 22:10

Christopher Jahnke's user avatar

4

From the grub.cfg you posted it looks like you’ve done a lot of messing with grub to try to get this working, I recommend that you start by cleaning all of this up and going back to a default grub configuration (which will probably have no entry for Windows at all in the grub.cfg) and then create a file /boot/grub/custom.cfg with this for contents:

#This entry should work for any version of Windows installed for UEFI booting

menuentry "Windows (UEFI)" {
 search --set=root --file /EFI/Microsoft/Boot/bootmgfw.efi
 chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

In the long term, hopefully os-prober and grub-mkconfig will gain support for detecting UEFI based Windows installations (at which point this entry will become redundant, and you can simply delete /boot/grub/custom.cfg)

answered Nov 16, 2012 at 8:48

Jordan Uggla's user avatar

Jordan UgglaJordan Uggla

4,2751 gold badge17 silver badges16 bronze badges

1

Boot Repair solved it for me.

Go to your boot options (F12 or etc) and boot your liveCD or liveUSB. Make sure that you boot in UEFI (Ex. «UEFI: CD/DVD» or «UEFI: [USBname]«). Select «Try Ubuntu.» Get Boot Repair and select «recommended repair.»

Link: Ubuntu Boot Repair

Note: Make sure that you boot the CD or USB in UEFI. I ran Boot Repair without being in UEFI mode and I got Grub, but Windows 8 would not boot.

Hope this helps!

answered Jul 17, 2013 at 15:53

user2544014's user avatar

86 / 58 / 29

Регистрация: 08.02.2021

Сообщений: 166

1

10.09.2022, 22:16. Показов 874. Ответов 2


Здравствуйте.
Появилась необходимость установить на ПК linux совместно с Win10. Делал уже это раньше и никаких проблем не было.
После установки Ubuntu, при выборе, какую ОС загрузить, выбираю Windows — появляется ошибка «invalid efi file path».
Ну, я пошел гуглить, что делать. Много чего написано на разных сайтах… Ну, вычитал, что нужно сделать команду sudo update-grub. Сделал… Теперь меню выбора ОС вообще пропало. Сразу запускается Ubuntu.
Пожалуйста, кто разбирается, можете простым языком объяснить, что нужно сделать, чтобы была возможность зайти в винду?
Благодарю.

__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь



0



Эксперт HardwareЭксперт WindowsАвтор FAQ

8444 / 2967 / 493

Регистрация: 14.04.2011

Сообщений: 7,343

11.09.2022, 09:44

2

Лучший ответ Сообщение было отмечено dmittry как решение

Решение

Цитата
Сообщение от dmittry
Посмотреть сообщение

что нужно сделать, чтобы была возможность зайти в винду?

Первое, что можно попробовать, это при загрузке ПК вызвать Boot Menu (F12 или другая клавиша) и выбрать там загрузку c Windows Boot Manager. Если Windows загрузится, то думать дальше, если не загрузится, то это будет означать, что нужно восстановить загрузчик Windows. Для этого загрузиться c установочной флешки c Win 10 выбрать Восстановление -> Восстановление запуска. Если не поможет, то попробовать восстановить загрузчик Windows вручную, пока не пишу, как это сделать.



1



86 / 58 / 29

Регистрация: 08.02.2021

Сообщений: 166

11.09.2022, 11:41

 [ТС]

3

Андрей1224, благодарю за помощь!
Восстановил загрузчик, как вы посоветовали. После этого появилась ошибка «no such partition» при запуске, но с ней справился благодаря гуглу.



0



  • Печать

Страницы: [1]   Вниз

Тема: grub-efi, Windows loader (Invalid EFI file path)  (Прочитано 6943 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
ValerynN

Имею два носителя, на одном Windows, на другом Ubuntu. Материнская плата ASUS UEFI.
Grub установлен в efi раздел.
Ubuntu прекрасно запускается у меня. Windows же находится на отдельном носителе, по этому его груб никак не затронул. НО!
Надоело мне жать F8 при запуске компьютера, хочу через Grub заходить в Windows. Зашел линукс, прописал update-grub, путь для (Windows Loader) вроде бы стал верный. Пытаюсь запустить — ошибка «Invalid EFI file path».

Погуглил, нашел такую статью. Но я так не понял, где лежит тот самый «EFI Загрузчик Windows».

Вообщем обращаюсь к вам товарищи, можно как то решить данную проблему? Есть проверенный рецет?


Оффлайн
AnrDaemon

Не путайте GRUB и UEFI.
В машинах с UEFI BIOS выбором операционной системы для загрузки занимается UEFI BIOS. Не GRUB.
B вы так и не сказали нам, какая у вас Windows стоит.

Хотите получить помощь? Потрудитесь представить запрошенную информацию в полном объёме.

Прежде чем [Отправить], нажми [Просмотр] и прочти собственное сообщение. Сам-то понял, что написал?…


Оффлайн
ValerynN

Тогда такой вопрос: Зачем нужен вообще груб и Windows Loader?

Операционная система Windows 7


Оффлайн
AnrDaemon

Какая Windows 7?… Что из вас всё клещами тянуть надо?

Хотите получить помощь? Потрудитесь представить запрошенную информацию в полном объёме.

Прежде чем [Отправить], нажми [Просмотр] и прочти собственное сообщение. Сам-то понял, что написал?…


Оффлайн
ValerynN

Какая Windows 7?… Что из вас всё клещами тянуть надо?

Мне казалось, что Windows Loader у всего семейства Win7 одинаковое =/.

Windows 7 Ultimate x64, полностью обновленная.


Оффлайн
AnrDaemon

У 32-bit нет EFI загрузчика. К моему большому сожалению…
Загрузиться с установочного диска Win7 и восстановить загрузчик пробовали?

Хотите получить помощь? Потрудитесь представить запрошенную информацию в полном объёме.

Прежде чем [Отправить], нажми [Просмотр] и прочти собственное сообщение. Сам-то понял, что написал?…


Оффлайн
ValerynN

У 32-bit нет EFI загрузчика. К моему большому сожалению…
Загрузиться с установочного диска Win7 и восстановить загрузчик пробовали?

Боже, прочитайте первый пост.

Ubuntu прекрасно запускается у меня. Windows же находится на отдельном носителе, по этому его груб никак не затронул. НО!

У меня Windows загружается. Ubuntu — Тоже загружается. Ubuntu и виндовс — на абсолютно разных носителях стоят. Я же хочу, добавить в grub строчку для Windows Loader, что бы мог спокойно из под груб переключаться на windows, а не жать F8 при запуске компьютера.


Пользователь решил продолжить мысль 17 Сентября 2013, 06:00:31:


Вот я прописал update-grub:

Генерируется grub.cfg …
Найден образ linux: /boot/vmlinuz-3.8.0-30-generic
Найден образ initrd: /boot/initrd.img-3.8.0-30-generic
Найден образ linux: /boot/vmlinuz-3.8.0-19-generic
Найден образ initrd: /boot/initrd.img-3.8.0-19-generic
Найден MS-DOS 5.x/6.x/Win3.1 на /dev/sda1
Найден Windows 7 (loader) на /dev/sdb1
Adding boot menu entry for EFI firmware configuration
завершено

sdb1 — это мой SSD с Windows

« Последнее редактирование: 17 Сентября 2013, 06:00:31 от ValerynN »


Оффлайн
Jone

По-моему, там все можно установить, без всяких EFI-загрузчиков. По крайней мере, я так делал, стоит Debian и Windows 7.


Оффлайн
ValerynN

По-моему, там все можно установить, без всяких EFI-загрузчиков. По крайней мере, я так делал, стоит Debian и Windows 7.

Не смотря на то, что в биосе UEFI, я поставил в boot разделе «Othe OS» — UEFI напрочь отказывается запускать носители без EFI. Например флешку с live образом он отказывается без UEFI режима кушать. Материнка p8z77-lx. Биос UEFI прошивал — возможности ТУПО отрубить секьюрити бут — нету.
У меня с установкой Windows проблемы тоже были. Не хотела семерка SP1 ставиться в диск с разметкой GPT. Хотя обчная, НЕ SP — вставала. Тоже танцевал.


Пользователь решил продолжить мысль 17 Сентября 2013, 06:13:57:


Но сейчас — у меня все работает, прекрасно все работает и для идеала не хватает возможности, запускать Windows из под Grub


Оффлайн
Jone

ValerynN,
тогда не знаю, у меня все наоборот. С этим EFI вообще ничего не запускалось.


Оффлайн
AnrDaemon

У 32-bit нет EFI загрузчика. К моему большому сожалению…
Загрузиться с установочного диска Win7 и восстановить загрузчик пробовали?

Боже, прочитайте первый пост.

Ubuntu прекрасно запускается у меня. Windows же находится на отдельном носителе, по этому его груб никак не затронул. НО!

У меня Windows загружается. Ubuntu — Тоже загружается. Ubuntu и виндовс — на абсолютно разных носителях стоят.

А теперь вы прочитайте мой первый пост… В компьютерах с UEFI выбором операционной системы для загрузки занимается сам BIOS. GRUB тут не при чём.


Пользователь решил продолжить мысль 17 Сентября 2013, 17:26:21:


По-моему, там все можно установить, без всяких EFI-загрузчиков. По крайней мере, я так делал, стоит Debian и Windows 7.

По-моему вы оффтопите.

Хотите получить помощь? Потрудитесь представить запрошенную информацию в полном объёме.

Прежде чем [Отправить], нажми [Просмотр] и прочти собственное сообщение. Сам-то понял, что написал?…


Оффлайн
ValerynN

В компьютерах с UEFI выбором операционной системы для загрузки занимается сам BIOS. GRUB тут не при чём.

Эм… Я чего то не понимаю. Когда запускается ПК. Появляется Grub с выбором, операционной системы. Сам груб находтся на разделе fat32 с меткой efi.

Еще, вяснилось, что виндовс устанавливался не в режиме EFI. Он же с разметкой GPT ставиться не хотел, пришлось mrb делать, а mrb не работает в efi

« Последнее редактирование: 18 Сентября 2013, 08:10:45 от ValerynN »


  • Печать

Страницы: [1]   Вверх

I have an «HP pavilion 7008tx dv7» laptop. It came bundled with Windows 7 and has two 1TB HHD and an 32G SSD.

Here is the output form «sudo parted -l»:

Model: ATA TOSHIBA MQ01ABD1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos


Number  Start   End     Size    Type     File system  Flags
 1      1049kB  210MB   209MB   primary  ntfs         boot
 2      210MB   977GB   977GB   primary  ntfs
 3      977GB   1000GB  23.1GB  primary  ntfs
 4      1000GB  1000GB  113MB   primary  fat32        lba


Error: /dev/sdb: unrecognised disk label                                  

Model: ATA TOSHIBA MQ01ABD1 (scsi)
Disk /dev/sdc: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt


Number  Start   End     Size    File system     Name  Flags
 1      1049kB  538MB   537MB   fat32                 boot
 2      538MB   992GB   991GB   ext4
 3      992GB   1000GB  8474MB  linux-swap(v1)

and sudo blkid

/dev/sda1: LABEL="SYSTEM" UUID="A0A08877A08855A6" TYPE="ntfs" 
/dev/sda2: LABEL="OS" UUID="1A041783041760D5" TYPE="ntfs" 
/dev/sda3: LABEL="Recovery" UUID="6E301CC5301C95E5" TYPE="ntfs" 
/dev/sda4: LABEL="HP_TOOLS" UUID="04AD-78C7" TYPE="vfat" 
/dev/sdb: TYPE="isw_raid_member" 
/dev/sdc1: UUID="A857-0A03" TYPE="vfat" 
/dev/sdc2: UUID="869d2800-385c-4a90-9ecb-dfca61632257" TYPE="ext4" 
/dev/sdc3: UUID="67cd5e66-fad6-4b70-b295-5536283ab10f" TYPE="swap" 

I installed Ubuntu using all default options and it installed it on /dev/sdc as shown above. Interestingly when I installed Ubuntu it didn’t tell me it found Window 7. I had to edit grub manually to get the Grub screen to show and added some entries like the following in /etc/grub.d/40_custom

menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
chainloader +1
}

But when I select it from the grub entry I get error: invalid EFI file path.

/dev/sda1 is called «SYSTEM» and has a Boot folder and a file called bootmgr. /dev/sda2 is called «OS» and contains Window 7. /dev/sda3 is the HP Recovery partition. /dev/sda4 is called «HP_TOOLS».

Does anyone know how I can get a windows7 entry in grub working or at least a way I can boot into Windows 7 in some other way?

UPDATE

I actually was able to finally boot into window by pressing ESC then F9 which on my system load the boot device menu. In the list was two Ubuntu options and another options that said something like «Laptop Hard Drive». When I selected the latter option windows booted up. This is quite an annoying procedure and would like to still go with a grub option if possible.

Я только что установил Ubuntu 12 на свой новый ноутбук (с предварительно установленной 64-битной Win7) в режиме EFI, и теперь я больше не могу загружать Win7 (Ubuntu просто отлично загружается из grub). Когда я выбираю запись Windows 7 в меню grub, я получаю эту ошибку:

Invalid EFI file path

Запись grub.cfg (сгенерированная загрузочным ремонтом):

menuentry "Windows 7 (loader) (on /dev/sda3)" --class windows --class os {
    insmod part_gpt
    insmod ntfs
    set root='(hd0,gpt3)'
    search --no-floppy --fs-uuid --set=root B8449665449625E2
    chainloader +1
}

Это разделенный вывод:

GNU Parted 2.3
Viene usato /dev/sda
Benvenuti in GNU Parted. Digitare "help" per l'elenco dei comandi.
(parted) print list
Modello: ATA ST9500325AS (scsi)
Disco /dev/sda: 500GB
Dimensione del settore (logica/fisica): 512B/512B
Tabella delle partizioni: gpt

Numero  Inizio  Fine   Dimensione  File system  Nome                  Flag
 5      1049kB  106MB  105MB       fat32                              avvio
 3      345MB   200GB  200GB       ntfs         Basic data partition
 1      200GB   200GB  1049kB                                         bios_grub
 2      200GB   496GB  296GB       ext4
 4      496GB   500GB  4172MB

Загрузочный раздел EFI, смонтированный как

/dev/sda5 on /boot/efi type vfat (rw) ) 

имеет следующие файлы (за исключением папки grub и других файлов в корневом каталоге загрузки):

./efi
./efi/efi
./efi/efi/boot
./efi/efi/boot/bootx64.efi
./efi/efi/ubuntu
./efi/efi/ubuntu/grubx64.efi
./efi/efi/Microsoft
./efi/efi/Microsoft/Boot
./efi/efi/Microsoft/Boot/bootmgfw.efi.grb
./efi/efi/Microsoft/Boot/bootmgfw.efi
./efi/efi/Microsoft/Boot/bootx64.efi.grb
./efi/efi/Microsoft/Boot/bootx64.efi

Как я могу это исправить ?

Спасибо

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  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200

Unknown BootLoader on 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  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200


========= 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)

Re: Invalid EFI File Path

Results.txt:

Code:

                   Boot Info Script 0.60      [17 May 2011]


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

 => Windows 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:  Windows Vista
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  -
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/linuxmint/grubx64.efi

sda3: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Linux Mint 12 Lisa
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda7: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    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:        

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1               2,048   512,002,047   512,000,000   7 NTFS / exFAT / HPFS
/dev/sda2    *    512,002,048   514,099,199     2,097,152   6 FAT16
/dev/sda3         514,101,246 3,618,867,199 3,104,765,954   5 Extended
/dev/sda5         514,101,248   546,869,247    32,768,000  82 Linux swap / Solaris
/dev/sda6         546,871,296 1,058,871,295   512,000,000  83 Linux
/dev/sda7       1,058,873,344 2,082,873,343 1,024,000,000  83 Linux
/dev/sda8       2,082,875,392 3,618,867,199 1,535,991,808   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        344048CA40489490                       ntfs       
/dev/sda2        0499-8D24                              vfat       
/dev/sda5        d4e96d07-11f7-4b1f-8361-1b8ddf3977cf   swap       
/dev/sda6        ec2a4fa9-f818-418a-8e86-9e3917b9a18a   ext4       Linux
/dev/sda7        fb185620-a6a4-418b-aac4-962e49970e32   ext4       Linux Home
/dev/sda8        1823845B79A501BD                       ntfs       Windows Secondary

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

Device           Mount_Point              Type       Options

/dev/sda2        /boot/efi                vfat       (rw)
/dev/sda6        /                        ext4       (rw,errors=remount-ro,commit=0)
/dev/sda7        /home                    ext4       (rw,user_xattr,commit=0)
/dev/sda8        /home/peter/WinD         fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)


=========================== sda6/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod efi_gop
  insmod efi_uga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root ec2a4fa9-f818-418a-8e86-9e3917b9a18a
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos6)'
  search --no-floppy --fs-uuid --set=root ec2a4fa9-f818-418a-8e86-9e3917b9a18a
  set locale_dir=($root)/boot/grub/locale
  set lang=en_CA
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Linux Mint 12 64-bit, 3.0.0-12-generic (/dev/sda6)' --class linuxmint --class gnu-linux --class gnu --class os {
	recordfail
	set gfxpayload=$linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set=root ec2a4fa9-f818-418a-8e86-9e3917b9a18a
	linux	/boot/vmlinuz-3.0.0-12-generic root=UUID=ec2a4fa9-f818-418a-8e86-9e3917b9a18a ro   quiet splash vt.handoff=7
	initrd	/boot/initrd.img-3.0.0-12-generic
}
menuentry 'Linux Mint 12 64-bit, 3.0.0-12-generic (/dev/sda6) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set=root ec2a4fa9-f818-418a-8e86-9e3917b9a18a
	echo	'Loading Linux 3.0.0-12-generic ...'
	linux	/boot/vmlinuz-3.0.0-12-generic root=UUID=ec2a4fa9-f818-418a-8e86-9e3917b9a18a ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.0.0-12-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set=root ec2a4fa9-f818-418a-8e86-9e3917b9a18a
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set=root ec2a4fa9-f818-418a-8e86-9e3917b9a18a
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" --class windows --class os {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 344048CA40489490
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda6/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda6 during installation
UUID=ec2a4fa9-f818-418a-8e86-9e3917b9a18a /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=0499-8D24  /boot/efi       vfat    defaults        0       1
# /home was on /dev/sda7 during installation
UUID=fb185620-a6a4-418b-aac4-962e49970e32 /home           ext4    defaults,user_xattr        0       2
# swap was on /dev/sda5 during installation
UUID=d4e96d07-11f7-4b1f-8361-1b8ddf3977cf none            swap    sw              0       0
# Windows Secondary
UUID=1823845B79A501BD /home/peter/WinD                    ntfs    defaults,uid=1000,gid=1000,auto        0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 374.901565552 = 402.547490816  boot/grub/grub.cfg                             2
 263.648536682 = 283.090460672  boot/initrd.img-3.0.0-12-generic               2
 374.901554108 = 402.547478528  boot/vmlinuz-3.0.0-12-generic                  1
 263.648536682 = 283.090460672  initrd.img                                     2
 374.901554108 = 402.547478528  vmlinuz                                        1

Desktop: Intel Core i5-2500K, 8GB RAM, H67 Motherboard, 2TB Hard Disk, running Kubuntu 11.04 and Winblows Vista

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Ошибка invalid csrf token битрикс 24
  • Ошибка java io filenotfoundexception