Skip to main content
added 7 characters in body
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 264

I use Debian Wheezy on EFI motherboard and need ntldr module in GRUB2 to load bootmgr of Windows 7 installer, because the way it starts on its own (apparently, using the boot sector of the USB flash drive the installer is on) it only installs Windows on MBR-formatted disk. When I install GRUB using grub-install it won't add ntldr.mod to the GRUB modules folder and can't insmod it.

  1. Why? When iI only download GRUB package without installation (apt-get download...), the module can be found there. If I add the .mod file from the downloaded package to the installed GRUB's modules folder and then "insmod ntldr" from the GRUB command line, it says sthsomething about wrong "ELF magic" (?).
  2. How to do it forcibly?
  3. Is there another way to boot the Windows installer in the "GPT-mode", as I don't want to format the whole disk into MBR.

I use Debian Wheezy on EFI motherboard and need ntldr module in GRUB2 to load bootmgr of Windows 7 installer, because the way it starts on its own (apparently, using the boot sector of the USB flash drive the installer is on) it only installs Windows on MBR-formatted disk. When I install GRUB using grub-install it won't add ntldr.mod to the GRUB modules folder and can't insmod it.

  1. Why? When i only download GRUB package without installation (apt-get download..), the module can be found there. If I add the .mod file from the downloaded package to the installed GRUB's modules folder and then "insmod ntldr" from the GRUB command line, it says sth about wrong "ELF magic" (?).
  2. How to do it forcibly?
  3. Is there another way to boot the Windows installer in the "GPT-mode", as I don't want to format the whole disk into MBR.

I use Debian Wheezy on EFI motherboard and need ntldr module in GRUB2 to load bootmgr of Windows 7 installer, because the way it starts on its own (apparently, using the boot sector of the USB flash drive the installer is on) it only installs Windows on MBR-formatted disk. When I install GRUB using grub-install it won't add ntldr.mod to the GRUB modules folder and can't insmod it.

  1. Why? When I only download GRUB package without installation (apt-get download...), the module can be found there. If I add the .mod file from the downloaded package to the installed GRUB's modules folder and then "insmod ntldr" from the GRUB command line, it says something about wrong "ELF magic" (?).
  2. How to do it forcibly?
  3. Is there another way to boot the Windows installer in the "GPT-mode", as I don't want to format the whole disk into MBR.
Source Link
alexey
  • 219
  • 1
  • 2
  • 6

ntldr.mod missing from GRUB2

I use Debian Wheezy on EFI motherboard and need ntldr module in GRUB2 to load bootmgr of Windows 7 installer, because the way it starts on its own (apparently, using the boot sector of the USB flash drive the installer is on) it only installs Windows on MBR-formatted disk. When I install GRUB using grub-install it won't add ntldr.mod to the GRUB modules folder and can't insmod it.

  1. Why? When i only download GRUB package without installation (apt-get download..), the module can be found there. If I add the .mod file from the downloaded package to the installed GRUB's modules folder and then "insmod ntldr" from the GRUB command line, it says sth about wrong "ELF magic" (?).
  2. How to do it forcibly?
  3. Is there another way to boot the Windows installer in the "GPT-mode", as I don't want to format the whole disk into MBR.