Running console command with --keep option -> unable to boot - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: Running console command with --keep option -> unable to boot (/showthread.php?tid=8286) |
Running console command with --keep option -> unable to boot - Smokey - 2017-01-07 12:54 Hello, I'm fairly new to iPXE but I hope I can supply you with all the relevant info. I'm unable to boot any image/kernel I tried if I use the console command with --keep option. iPXE version used: 1.0.0+ (26050) I tried both the ipxe.kpxe and undionly.kpxe files. Tested with: VMware Workstation 12 Player version 12.5.2 build-4638234 (32-bit VM) and on real hardware (64-bit) (can post specs if needed). I'm using dnsmasq on my router (DHCP) and my boot server (Proxy DHCP). Image used: Memdisk and memtest from http://ipxe.org/appnote/memtest When I run console with --keep option before booting an image I get the following error message: Code: El Torito BVD sanity check failed. This led me to believe that there was some corruption happening somewhere so I ran the tests at http://ipxe.org/dev/drvtest/md5sum But to my confusion it passed the tests flawlessly. iPXE compiled with: Code: make bin/{undionly,ipxe}.{,k,kk}pxe EMBED=../boot.ipxe My scripts: Embedded boot.ipxe Code: #!ipxe menu.php (I removed the php code and menu for debugging) Code: #!ipxe I also tried booting into Windows 7 setup (from http://ipxe.org/howto/winpe) menu.php Code: #!ipxe Code: Bad CPIO magic And finally I tried gparted live: menu.php Code: #!ipxe Code: Initramfs unpacking failed: junk in compressed archive Everything boots just fine without the --keep option. Am I missing something here? What am I doing wrong? I would include screenshots too but attachments are disabled I guess. Feel free to ask anything, I can post more configs if needed. RE: Running console command with --keep option -> unable to boot - NiKiZe - 2017-01-07 13:43 --keep keeps the data in memory and can be reused , however remember that some "next stage" kernels will load all of that data. You can check this by using imgstat before boot However there is lots of things that does work even with this is it is kind of missleading to say that "nothing works" as a way to fix this i would use imgfree before downloading kernel and initrds Oh and never use undionly.kkpxe!, and ipxe.kpxe makes not sense... only build ipxe.pxe and undionly.kpxe if you are using any of the other ones you will get issues. RE: Running console command with --keep option -> unable to boot - Smokey - 2017-01-07 14:19 (2017-01-07 13:43)NiKiZe Wrote: --keep keeps the data in memory and can be reused , however remember that some "next stage" kernels will load all of that data.Thanks for clarifying the issue here. Maybe it would be an idea to put a warning in http://ipxe.org/cmd/console ? I spent about 6-8 hours swapping out different images, memdisk versions, kernels etc. (2017-01-07 13:43)NiKiZe Wrote: However there is lots of things that does work even with this is it is kind of missleading to say that "nothing works"Fair enough, I didn't mean it like that. I'll edit that. (2017-01-07 13:43)NiKiZe Wrote: Oh and never use undionly.kkpxe!, and ipxe.kpxe makes not sense...As an iPXE noob, I had some trouble figuring out what version to use. So I figured I would just build them all and trail and error my way trough I found a couple links with some info but no complete list about which versions you can build: When to use undionly.kkpxe When do I use .pxe, .kpxe, and .kkpxe? Filename Information (most complete I could find) RE: Running console command with --keep option -> unable to boot - NiKiZe - 2017-01-07 14:29 (2017-01-07 14:19)Smokey Wrote: Thanks for clarifying the issue here. Maybe it would be an idea to put a warning in http://ipxe.org/cmd/console ?That all depends on what you are trying to boot, but yes a note about that it remains in memory and that you should understand imgstat might be good to add yes (2017-01-07 14:19)Smokey Wrote: I found a couple links with some info but no complete list about which versions you can build:The FOG one is horrible, they mention that it works around some issues, but fails to mention that it will create resource leaks and other issues. :/ |