iPXE boot to Windows writing back to boot device
|
2014-03-10, 12:44
Post: #3
|
|||
|
|||
RE: iPXE boot to Windows writing back to boot device
(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. From memory, Windows will always write data to the boot disk during a boot attempt. It does this in order to be able to detect failed boot attempts: it sets a flag somewhere on the disk before handing over from the bootloader stage to the full OS, and the OS clears this flag after loading everything. I haven't traced this through, but I'm pretty sure it's used to implement the "Windows did not start successfully" message. I assume you're using wimboot, since you mention using iPXE to load Windows via HTTP. wimboot has no support for writing back to the virtual INT13 disk that it creates, and will always return a failure for any write attempt. It's just about possible that Windows responds to this failure by attempting to find another disk it can write to, and so writes to your flash device. I've pushed a "fakewrite" branch to the wimboot repository which will ignore and report success for any write attempts. You could give this a try and see if the changes the behaviour at all: Source code: http://git.ipxe.org/wimboot.git/shortlog.../fakewrite Prebuilt binary: http://git.ipxe.org/wimboot.git/blob_pla...5:/wimboot Michael |
|||
« 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: 4 Guest(s)