3

Can someone please help? I've been googling for hours now and I can't figure out why I can't boot the win8 install disc iso from my isolinux boot usb.

I can boot winpe 64bit with the following

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

But when I change it to the win8.1 64 bit install disc iso it doesn't work (I have checked the iso works fine and can boot from it with a vm)

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

This makes no sense to me since technically they are the same thing. Please tell me what I am doing wrong before I throw this computer through the wall :D

2
  • Your code shows you aren't using isolinux at all to boot. It's a GRUB memdisk. Windows PE runs without needing anything but its WIM file. Setup needs to access the DVD, which is what's failing, because of the memdisk.
    – Daniel B
    Commented Jan 31, 2015 at 0:49
  • can't use memdisk, not enough ram to hold image. PS. I'm using isolinux to run grub
    – Piney
    Commented Jan 31, 2015 at 2:14

1 Answer 1

1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .