Загрузка win8 установить iso с isolinux и grub

1152
Piney

Может кто-нибудь, пожалуйста, помогите? Я уже несколько часов гуглю и не могу понять, почему я не могу загрузить установочный диск win8 iso с моего загрузочного usb isolinux.

Я могу загрузить Winpe 64bit со следующим

label pe menu label winpe LINUX /bootprog/grub.exe  APPEND --config-file="ls /iso/winpe.iso || find --set-root /iso/winpe.iso;map --heads=0 --sectors-per-track=0 /iso/winpe.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /iso/winpe.iso (0xff);map --hook;chainloader (0xff)" TEXT HELP Boot into 64 bit Windows PE ENDTEXT 

Но когда я заменяю его на установочный диск win8.1 64 bit iso, он не работает (я проверил, iso работает нормально и может загрузиться с него с виртуальной машины)

label win8 menu label Windows8 (installer) LINUX /bootprog/grub.exe  APPEND --config-file="ls /iso/8win.iso || find --set-root /iso/8win.iso;map --heads=0 --sectors-per-track=0 /iso/8win.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /iso/8win.iso (0xff);map --hook;chainloader (0xff)" TEXT HELP Boot into Windows8 installer ENDTEXT 

Это не имеет смысла для меня, так как технически это одно и то же. Пожалуйста, скажите мне, что я делаю не так, прежде чем я закину этот компьютер через стену: D

2
Ваш код показывает, что вы вообще не используете isolinux для загрузки. Это мемдиск GRUB. Windows PE работает, не требуя ничего, кроме файла WIM. Программа установки должна получить доступ к DVD, что является причиной сбоя, из-за memdisk. Daniel B 9 лет назад 0
не могу использовать memdisk, недостаточно памяти для хранения изображения. PS. Я использую isolinux для запуска grub Piney 9 лет назад 0

1 ответ на вопрос

1
Daniel B

So, to provide a more extensive explanation on why this isn’t working.

In the early days, PC operating systems accessed hard disks by raising interrupts which are then handled by the BIOS (or something like that, anyway). Today, this type of access is only used in the earliest stages of booting the PC. After that, drivers talk to the storage controllers directly, providing vastly superior performance and features.

GRUB’s disk mapping is only compatible with the interrupt disk access type, unless the operating system has drivers specifically supporting GRUB’s disk mapping. Naturally, Windows doesn’t have these.

Windows Setup and Windows PE are very similar in that they both run from a WIM image that’s completely read to memory with interrupt type access by the boot manager. After that, they don’t have to access any disk at all. It’s just that the Windows Setup program itself needs to access configuration files that are not present in this WIM image but directly on the setup medium. Of course, the rest of the installation files are also not in the boot WIM image.

So what you need to do is inject Windows Setup’s boot image with drivers for GRUB’s disk mapping, if there are any available. Alternatively, you could also take a regular Windows Setup medium and tweak it with a boot manager and additional files. That way, the files Setup needs are present directly on the medium.