<div dir="ltr">Update booting with Syslinux does not work either.<br>From this screen with a loading bar I get:<br>Patched WIM header boot metadata 0x137adea 5 ->0x1674da80<br>Patched WIM header boot index 2->3<br><br>and before reboot I get:<br>Could not set file position: 0x80000000000000035<br>Failed to exit<br><br>It immediately reboots. I had to film the sequence and move through the frames to get the error.<br> <br>If you are interested in seeing the pictures I put those two screens on imgur:<br><a href="https://imgur.com/a/YWYk3Pi">https://imgur.com/a/YWYk3Pi</a><br><br>I would be interested in getting this to work and testing this further. <br><br>Thanks in advance and I hope everyone has a happy new year!<br><br>-Max</div><br><div class="gmail_quote"><div dir="ltr">On Sun, Dec 30, 2018 at 11:35 AM Max <<a href="mailto:max@dontlookhere.net" target="_blank">max@dontlookhere.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hello all,</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">I have just joined the list. I am familiar with compiling things in *nix and some C, but have never done any real programming in C.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">I have been trying to get wimboot to work in or via Grub2 EFI. </div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">I downloaded the patches sent to this list in November from Friedemann. It may have been the way I downloaded them, but for every one of the search lines, I had to remove a leading space. Additionally, it looks like the second email/patch has the patch text 2x separated by a shell prompt.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">After that, the additional function efi_add_file in efifile.c was not also added to the header file. I don't know if that is something that I should just know to run a command to auto regenerate or just an oversight.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">The addition of efi_add_file includes a line directly above which only contains "int". Comparing that function to the functions around it made me think int should begin the same line as the function efi_add_file.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">After adding the function to efifile.h :</div><div class="gmail_default"><font face="monospace, monospace">extern int efi_add_file ( const char *name, void *data, size_t len);</font><br></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><font face="monospace, monospace">I got farther, however my system did not understand the -liberty flag to gcc/cc . I looked around a bit, but did not find a reference to the flag in the documentation so I removed it.</font></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><font face="monospace, monospace">The binary then compiles and boots via normal methods. It did not improve booting via grub2 from USB.</font></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><font face="monospace, monospace">The patch was designed for Syslinux though, so I will test that next.</font></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><font face="monospace, monospace">If anyone can fill me in on the -liberty flag or what should have been done with headers file that would be appreciated. Any other suggestions and comments are also appreciated, but I suspect out of the scope of this list.</font></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><font face="monospace, monospace">Thank you in advance,</font></div><div class="gmail_default"><font face="monospace, monospace"> Max</font></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><font face="monospace, monospace">Ah, almost forgot I'm compiling on 64-bit Ubuntu 18.04.1 . </font></div><div class="gmail_default"><font face="monospace, monospace">gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0<br></font></div><div class="gmail_default"><font face="monospace, monospace">Wimboot was cloned from the git repo on the iPXE domain and is up-to-date.</font></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div></div></div></div></div>
</blockquote></div>