Quantcast
Channel: iPXE discussion forum - All Forums
Viewing all 1484 articles
Browse latest View live

Problems with ipxe and pxe-/syslinux

$
0
0
Hello,
I like to boot my old Asus Laptop via ipxe. When I directly load the ipxe file via my dhcp Server all works fine. I have created the ipxe file via "make bin/undionly.kpxe".
Following vendor show up 9508:0070

Now I like to boot pxelinux first and than load my custom ipxe lkrn-file.
My pxelinux entry is this:
label ipxe
menu label ^Load iPXE
kernel pxe/undionly.lkrn

The ipxe-file is created via "make bin/undionly.lkrn".
I can load it and ipxe starts but no network card will detect! In a Virtualbox all works fine.

Reading the BIOS version in iPXE?

$
0
0
Does iPXE have a built-in method to read the BIOS version of the machine it's loaded on, much like it can read the serial number, manufacturer and product in the configuration settings? I'm thinking about creating a script that will automatically detect if a BIOS is out of date on our fleet, but I need something to pass that variable to iPXE first.

How to boot from an image on a local drive ?

$
0
0
Hello,
It may be obvious or maybe an uncommon request but
how to boot from an (ISO) image located on a local disk drive ?
All info I found are about network boot but what about boot from local data ?
I cannot find a working syntax using sanboot nor chain. I can boot from
a drive (boot sector) but not from an image file on that drive.
All help will be much appreciated.
Thanks,
Ruymbeke

[SUCCESS STORY] Mobile iPXE Device

$
0
0
Hi There,

it has been a long time since i contributed to ipxe.
this has changed today.
i finished my proove of concept on a mobile pxe server.

Hardware: http://wiki.openwrt.org/toh/kingston/mlwg2 + reasonable big SD-Card
Software: Open-Wrt+ipxe

the scenario:
in my daily job i am confronted with hardware encrypted, optical-drive-less, usb deactivated laptops around the country. the only solution is to bring them onsite to reimage them via pxe boot.
in the field this is not possible.

the result:
now ipxe to the rescue i simply switch on my mlwg2 and connect it via a lan cable to the laptop, 10 minutes later the laptop is reimaged an can be given back to the person to which it belonged.

the solution:
the mlwg2 is open-wrt compatible and can be flashed by simply throwing an sd card into it. the script reflashes the device from its bulky firmware to openwrt and allows me to connect via my mobilephone for config changes on the fly.

a little tftpd-enable here and boot-file=undionly.kpxe there makes a perfect pxe server out of it.

luckily the device can mount the sd-card (ext4) to the local file system (to be configured in webui)

after copying the required wimboot, boot.wim and bcd files to the card it is ready to be used outdoors.
tests shows that i can use it a full 8hours a day before recharging and my customers are happy.

Thanks iPXE for everything.

Is iPXE supports PCMCIA card?

$
0
0
Some user have old laptop without CD-ROM but have PCMCIA Ethernet card. Laptop has FDD. A user wants to install Debian over PXE, so it needs a network bootloader.

Is iPXE supports PCMCIA card?

How to use vesamenu.c32

$
0
0
Hello all. I am fairly new to ipxe so please bare with me. I am trying to use the vesamenu.c32 and I cannot for the life of me figure out how to chain that menu rather than the standard. I do not use DHCP and cannot due to environmental reasons. So I am stuck using http to download everything. I have enabled most features of ipxe on my ISO and the regular menu.c32 work just great. But I want to use the vesa menu. What is the proper load sequence so I can use the vesa menu.

Here is what I do....

1) Load ISO into vmware vm
2) Boot and the ipxe I have setup to manually enter the IP, netmask and all the proper info into the built in menu.ipx in the ISO
3) set the network info and open the interface
4) chain the menu.ipxe menu from the web server

And I have a working menu. I have tried various methods using php and unloading the current kernel and etc. But I always seem to get a vm error trying to run outside memory bounds. So obviously I'm missing something. By the way I do have access to esxi/vsphere but for testing purposes I prefer to use vmware player for now.

If someone can show me at least after #4 I get a working vesa menu that would be awesome.

Thanks for your patience!

Glen

UEFI

$
0
0
I'm trying to boot linux in uefi to a ramfs with the tmpfs flag set in the kernel config it seems(it seems tmpfs is being forced). This is in a CPIO format that iPxe is able to recognize when it's in BIOS. However when i change the VM to boot in UEFI it consistently fails at

A few lines above all of this it also says RAMDISK: incomplete write (20526 != 32768)
devtmpfs: error mounting -2
write error
VFS Mounted root (ramfs filesystem) on device 0:14
.
.
.
Failed to execute <init>. (or whatever I put after init=____; which i've tried 3 and various other directories)
Attempting defaults...
kernel panic - not syncing: no init found. try passing init= option to kernel.
Pid: 1, comm: swapper/o not tainted 3.5.0



The configuration is set to:
kernel http://$nextserver/vmlinuz-3.5.0 init=/sbin/init rootfstype=ramfs
initrd http://$nextserver/initramfs-2.6.32.x86_64.img
boot

It seems to me that its recognizing that its a gzip but not that its in cpio. If anyone has run into this I would greatly appreciate some tips. I'm not sure if this is a problem with iPXE or if its something with my linux setup, however since it works in BIOS and not UEFI I'm starting with iPXE because of everything else that I've herd.
Note: I do have the efi stub enabled, as I've herd it was necassary elsewhere.

floppy image in ROM possible?

$
0
0
Hi,
is it possible to flash ipxe into a nic including a embedded script memdisk and a floppy image? not asking about the available memory in eeprom.

Problem Flashing with BOOTUTILW64E

$
0
0
i get an error when using: BOOTUTILW64E.EXE for flashing iPXE into an Intel® Gigabit-Ethernet-Controller 82574L EXPI9301CT 8086:10d3
with a winbond 25x40 CLING SPI Flash Chip 4M-bit/512K-byte (524,288)

did a git clone today and without modification "make bin/808610d3.rom"

and got the following error:

Code:
C:\Intel20.1\APPS\BootUtil\Winx64>BOOTUTILW64E.EXE -nic 1 -File=original.rom -SA
VEIMAGE

Intel(R) Ethernet Flash Firmware Utility
BootUtil version 1.5.54.1
Copyright (C) 2003-2015 Intel Corporation

Saving flash firmware image on port 1 to file original.rom...saved

Port Network Address Location Series  WOL Flash Firmware                Version
==== =============== ======== ======= === ============================= =======
  1   6805CA378CC6     5:00.0 Gigabit YES PXE                           1.3.21

C:\Intel20.1\APPS\BootUtil\Winx64>BOOTUTILW64E.EXE -nic 1 -restoreimage -file 80
8610d3.rom

Intel(R) Ethernet Flash Firmware Utility
BootUtil version 1.5.54.1
Copyright (C) 2003-2015 Intel Corporation

Invalid image file 808610d3.rom

Port Network Address Location Series  WOL Flash Firmware                Version
==== =============== ======== ======= === ============================= =======
  1   6805CA378CC6     5:00.0 Gigabit YES PXE                           1.3.21

C:\Intel20.1\APPS\BootUtil\Winx64>

i have searched for the error and came across some padding tips i tried them even the filesize is correct now.
i tried renaming the file from rom to IBA/iba/flb/FLB.

no success so far.

do i have to use ibautil?
http://lists.ipxe.org/pipermail/ipxe-dev...01980.html

or even a raspberry pi?
http://satxhackers.org/wp/hack-content/u...ashrom.pdf

UEFI, Building .efi and menu password...

$
0
0
Hello all!

For years I am using pxelinux for BIOS PXE but hopeless tried over past few weaks to implented and UEFI PXE via iPXE. So on my big supprise, UEFI PXE loads Windows 8.1 WinPE today without any error. But, have some questions and hoping that robinsmidsrod or some bode else help me.

1. What are requirements for building own ipxe.efi file from own Linux machine? I am using CentOS 6.5 (moving to 7) for everything in Linux but tried to build some files today without progress so I use ROM site for making EFI file. Some other Linux derivate or specific packages in CentOS?

2. In syslinux I made small default file for my company needs with menu password parameter but where is that parameter? How can I secure my booting? I can secure WinPE but that is all.

3. I didnt understand a story with php files. Do I need to install PHP (what packages exacly) to PXE server?

Thank in advice.

Menu item alternate option

$
0
0
I have been using ipxe with great success but I would like to know if its possible to do something extra.

I have a script that automatically updates my archlinux and creates a new boot image. I also have it create boot images for the video card drivers (opensource, nvidia, amd).
I currently have the arch linux startup scripts decide what to load, but I want to take this a step up and have it manually configured and remembered in ipxe instead.

so basically, I want an item where you press "a" to start archlinux and "ctrl+a" to start a simple configurator to choose version and driver to run for this machine. I know I could double the entries, but I am hoping there is a nicer way to help keep my item list visually clutter free and keep it from becoming huge.


item --key a arch64 Boot (A)rchlinux

Examples of something I would like
item --key a arch64 --altkey ctrl+a arch64config Boot (A)rchlinux
OR
item --key a arch64 Boot (A)rchlinux
item --hidden --key ctrl+a arch64config ArchLinux Configuration

WDS TFTP loop

$
0
0
Hi,

using the latest version from git (2015.07.07) I encountered an issue while chainloading to our Windows Deployment Server (WDS):
The client gets stuck in a request loop.

Examing the traffic with Wireshark shows the following three actions:

1. TFTP download of wdsnp.com (successful)
2. DHCP request + ack
3. another DHCP request + ack

These three action are repeated infinitely.

Reverting the changes of commit:
edf74df4abf0b9ed92f399272b0491851ba1ffaa [pxe] Always reconstruct packet for PXENV_GET_CACHED_INFO
seems to solve the issue.

Snippet of my script which forwards to WDS server:

Code:
:windows-wds
cpuid --ext 29 && set arch x64 || set arch x86
set netX.dhcp/next-server ${wds-server}
chain tftp://${wds-server}/Boot\\${arch}\\wdsnbp.com

Regards
lupowolfi

Setting goto with whitespace?

$
0
0
Hello!

I'm trying to configure iPXE to do certain things when it detects a certain model device. For this purpose i'm using the ${product} variable.

For example, I'd implement something like:

Quote:goto ${product} || goto continue

:Lenovo T400S
do_something_here
goto continue

:continue
do_other_stuff_here

For this example if I PXEboot a T400, iPXE would read the ${product} variable and then goes to the label for the T400. If I PXEboot anything else it would just goto the continue label instead.

The problem is that I don't think that the label accepts whitespaces. I've tried implementing this instead:

Quote:set t400 Lenovo T400s
goto ${product} || goto continue

:${t400}
do_something_here
goto continue

:continue
do_other_stuff_here

Unfortunately that doesn't seem to work either.

Does anyone have any hints as to what I'm currently doing wrong here?

Alternate key combination for menu

$
0
0
Normally you select your menu item and press enter or press its shortcut key for it to load.

Is there a way to have a secondary shortcut key to run another script/image?
(In my scenario I am trying to run (A)rchlinux but would like ctrl+A to run a simple configuration script)

I do not want ctrl+A to be seen just to keep my menu's short and simple.

I figure what I would like, maybe:
1) alternate key possible for each menu item?
2) if a menu item can be hidden and still work.
3) if you can detect if ctrl is being pressed when the option is selected.


Anyone know if something like this is possible?

zlib error

$
0
0
I have tried and tried to make this work. I have tried to bypass the need to run make in order to use this program, as running the make command results in an error. I keep getting this error at the end of the make command within the src folder:
quote-
[BUILD] bin/hyperv.ids.o
[AR] bin/blib.a
ar: creating bin/blib.a
[HOSTCC] util/zbin
util/zbin.c:7:18: fatal error: lzma.h: No such file or directory
#include <lzma.h>
^
compilation terminated.
Makefile.housekeeping:1294: recipe for target 'util/zbin' failed
make: *** [util/zbin] Error 1
-end quote

I have all the required dependencies installed and I am trying to run this on a debian jessie install. I have found a few posts about this error from 2012 and it was noted to amend the make command with NO_WERROR=1 but this does not change the result. It still fails.

I have tried to create my own files at https://rom-o-matic.eu/ and can't get it to work. I am really confused about doing the simplest thing with this program, but I shall keep trying. This is what I would like to do.

A little background - I have a fully functioning PXE server with both the http and tftp daemons, with several grub entries serving up several different systems from both iso files and squashfs files (like gparted). It works fine because I have access to the router running dhcp and I can amend the dhcp.conf file to set the next-server and file information for other systems to boot from. I even created my own live version of debian to pxe boot. Again, it works fine.

Need to do - On another corporate network, I need to use a usb device to point the boot information to a specific ip address on a LAN (and/or WAN), because I will not have access to the router or the dhcp server. Can this be done with iPXE? From reading, and more reading, it seems like it would be easy but I am having no luck at all.

What I have done - I have successfully created a usb boot device with grub installed, and I can boot the ipxe.iso file from it. But from there I am brain locked and can't get past this.

Any help with the error message above and/or a way around this to make it work would be very appreciated. Thank you.

RAW Read and Write to DISK

$
0
0
does someone know a way to use ipxe to download a img file and save it to the local disk? or reading the disk and uploading it to a http server?

ipxe.efi chain working?

$
0
0
I get error when I try

script added into ipxe
Code:
#!ipxe
shell

executed on the ipxe command line
Code:
dhcp
set filename Boot/x64/wdsmgfw.efi
chain tftp://${next-server}/${filename}

The error I get is:
BlInitializeLibrary failed 0xc0000001

Does this mean that ipxe does not have the code to chain to other efi executables yet?

also side note mcb30 said on irc that dhcp was not needed and ifopen net0 should work but it does not work.

Dell 13G Server wimboot black screen

$
0
0
I seem to have encountered an issue with Dell's new 13G servers (Think R630, R730 etc).

Environment:

wimboot-2.4.1
BIOS Mode booting via undionly (Not EFI)
Dell 13G Poweredge Server

Things I have tried without success:

- Disabling USB 3.0
- Enabling and disabling the Legacy video misc option
- Disabling MMIO
- Upgrading to the latest available BIOS
- Injecting the Matrox video driver into my PE Image

Things I have done that are successful:

- Turing my WIM image into a bootable ISO with oscdimg and booting it directly from the iDRAC virtual CD drve. Works flawlessly every time.
- Booting the same image on a 12G server via iPXE. That also works. It only seems to be these 13G servers that I have issues with.

Behavior I see:

[Image: GrEYh3c.png]

[Image: hEd8dPY.png]

[Image: XUcEkHz.png]

After this last screen with the windows progress bar, it just goes black. I assume that the system is hung at this point because right after the PE environment loads, it should pull some files back from my razor server, and I never see that happen.

How best can I help troubleshoot this so I can provide the development community with meaningful information; since I appear to be getting to a fairly advanced point in the loading process?

uefi bin-x86_64-efi missing

iPXE vs Flexboot iPXE branch

$
0
0
I have two InfiniBand mlx4_0 devices, MT25408 ConnectX Mellanox Technologies.

I'm interested in using iPXE, or Mellanox's branch of iPXE, flexboot, at: http://git.ipxe.org/vendor/mellanox/flexboot.git

Wondering which you guys would recommend using... Why they felt the need to branch rather than contribute to the main... Whether flexboot is required, etc...

Should iPXE git master support booting over InfiniBand using the iSER protocol, rather than TCP/IP via IPoIB?
Viewing all 1484 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>