iPXE boot to Windows writing back to boot device
|
2014-03-12, 07:05
(This post was last modified: 2014-03-12 07:58 by mdevey.)
Post: #7
|
|||
|
|||
RE: iPXE boot to Windows writing back to boot device
(2014-03-11 14:22)mcb30 Wrote: If you're happy hacking around in the wimboot code, then I would suggest trying to intercept (and ignore) writes to INT 13 drives other than the vdisk emulated drive: see the "Pass through command to underlying INT 13" section in emulate_int13(). Note that you can't just refuse to pass through all INT 13 calls, since some are not drive-number-specific. Cheers, we confirmed the write wasn't coming from the INT 13 interface. It's completely windows. +1B8 (+440) is a 32bit disk signature. http://en.wikipedia.org/wiki/Master_boot_record#DISK_ID http://thestarman.narod.ru/asm/mbr/W7MBR.htm "But once Windows has begun running, it will write a Disk Signature in the MBR. These four bytes from offsets 1B8h through 1BBh are called the Windows Disk Signature or NT Drive Serial Number" Our work around is write a 'unique' label into the ipxe card MBR so Windows will leave us the hell alone... (and trusted image remains intact) Code: echo -n -e "iPXE" | dd of=unsigned.bin bs=1 seek=440 conv=notrunc Apologies for wasting your time with a windows issue. (2014-03-10 10:55)robinsmidsrod Wrote: I think this might be Windows trying to write a disk signature to the device. If you try to make a manual syslinux boot device and allow windows to write the identifier and THEN add ipxe.lkrn then you might have something that doesn't change on each boot. Got it in one. Pity I didn't pay attention... |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
iPXE boot to Windows writing back to boot device - SameGuyAsBefore - 2014-03-07, 06:05
RE: iPXE boot to Windows writing back to boot device - robinsmidsrod - 2014-03-10, 10:55
RE: iPXE boot to Windows writing back to boot device - mcb30 - 2014-03-10, 12:44
RE: iPXE boot to Windows writing back to boot device - SameGuyAsBefore - 2014-03-10, 22:47
RE: iPXE boot to Windows writing back to boot device - mdevey - 2014-03-11, 05:55
RE: iPXE boot to Windows writing back to boot device - mcb30 - 2014-03-11, 14:22
RE: iPXE boot to Windows writing back to boot device - mdevey - 2014-03-12 07:05
RE: iPXE boot to Windows writing back to boot device - SameGuyAsBefore - 2014-03-12, 23:30
|
User(s) browsing this thread: 2 Guest(s)