V
V
vic4992015-11-12 14:38:29
linux
vic499, 2015-11-12 14:38:29

How to install Windows 7 on UEFI using Grub2?

There is a USB-HDD with two partitions. The first is formatted as FAT, the second as NTFS. Grub4DOS is installed on the first partition, Windows 7 installer on the second. The menu.lst file contains Windows 7 installation from the second partition:
title Installing Windows 7 SP1
map --unmap=0:0xff
map --unhook
root (hd0,1)
chainloader / bootmgr
On computers with BIOS everything works fine.
How to get on computers with UEFI using Grub2 the same result. After reading the info on the Internet, I tried to write in the grub.cfg file:
menuentry "Installing Windows 7 SP1" {
insmod part_msdos
insmod ntfs
set root='(hd0,1)'
chainloader / bootmgr
}
But when I try to install, it says that the bootmgr file was not found. Apparently something is not twisted in specifying the path to the second USB-HDD partition.
If anyone knows how to implement this correctly, please help. Tips like loading in legacy mode, please do not give, because the task is not to go into the settings to change the boot mode.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
Oleg Nerwin, 2015-11-12
@Nerwin

to install the system in uefi mode, you need to boot in uefi mode. That is, the disk must be marked as it should for uefi (1 fat32 partition marked as an efi partition), it has a bootloader in the uefi format in the right directory (at least grub, at least immediately bootmgr).

V
vic499, 2015-11-12
@vic499

The system boots uefi only. The grub2 menu for uefi is loaded - it's 100%.
Q: How do I run a Windows 7 installation using grub2 on the next partition?

V
Vladimir Kivva, 2015-11-13
@zionkv

Look how it was done in 2k10, there are a dozen installation methods, just copy the one you need (at least three methods from GRUB are there)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question