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

Forum bug - Gmail auto-flags as spam, as not following proper bulk sender methods


Embedding a variable upon compile

$
0
0
I'm just curious if it's possible to embed a variable when compiling undionly.kpxe

We have a situation where we need multiple serial baud rates - we have the ability specify which version of undionly.kpxe to use for that specific baud rate/machine that netboots, but we need a way to pass through the baud rate to the next installer.

Currently we have the ability to alter the version setting (http://ipxe.org/cfg/version) during compile, but we'd rather not use that method. I'm curious if there are any other settings/variables that we can alter the contents of.

Thanks!

Slow ipxe.efi startup

$
0
0
I have an ECS Liva which only supports UEFI booting. I am building and installing bin-x86_64-efi/ipxe.efi, and the "initialising devices..." step takes 20+ seconds to complete. I'd like to improve that.

lspci reports the following network hardware:

Code:
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)

Using snp.efi or snponly.efi is much faster, but then dhcp fails, presumably because it thinks the MAC address is 01:01:01:01:...

I added a printf() inside the startup() loop in init.c. This printf is invoked 4 times (not sure how to get the name of the startup functions being called). The third startup function is the one that takes 20 seconds.

I tried several DEBUG options based on other posts here, up to the following:

Code:
DEBUG=efi_driver,efi_pci,snp,snpnet,snponly,efi_init,realtek,netdevice

but still nothing is printed during this 20 second period.

Any ideas on how to speed this up, or diagnose where the 20 seconds is being spent?

ipxe uefi load image fail error no such device

$
0
0
Hi all,
I used ipxe.uefi on a uefi shell for network boot.
The dhcp and download image process is ok. But when i boot loaded image i get error:
" Image vmlinuz could not execute : No such device
Could not boot: no such device"
as my investigation, the reason is that my network device is not recognized as a EFI device. my network device is usb ethernet smsc7500.

many thanks for your help.

Strange problem chaining ipxe krn from vesamenu.c32

$
0
0
My issue is when chaining from the vesamenu.c32 menu the boot file download stalls unexpectedly usually on the last line "initrd boot64.wim" - it gets to x% then just stops.

Can anyone shed any insight?

If I break out to the iPXE prompt and chain Wimboot.ipxe directly everything works fine.

MENU

DEFAULT vesamenu.c32

PROMPT 0

MENU TITLE Windows Boot Menu
MENU INCLUDE pxelinux.cfg/graphics.conf

MENU SEPARATOR
MENU SEPARATOR

LABEL MainMenu
MENU LABEL ^Return to Main Menu
KERNEL vesamenu.c32
APPEND pxelinux.cfg/default

MENU SEPARATOR

LABEL LAB1
MENU DEFAULT
MENU LABEL MYLABEL
kernel ipxe.lkrn
APPEND dhcp && chain http://WDSPEXESERVER/Setup/English/Windows/1BE.x64/wimboot.ipxe


Wimboot.ipxe

#!ipxe
#set use-cached 1
#set arch amd64
kernel wimboot
initrd bootmgr bootmgr
initrd bcd BCD
initrd boot.sdi boot.sdi
initrd boot64.wim boot.wim
boot

menu.c32 options?

$
0
0
Hello all. I wanted to ask everyone using ipxe if it's even possible to create checkbox type input for the user. So say you had several options for a server build you didn't necessarily want to create separate config files for. But just select able options during the install process and pass those menu options to the backend scripts.

I read someone you can do this with compiled menus but I can't seem to find that site again. If this is possible, can it be done dynamically?

Oh yes. If anyone has any samples or URL's that would be great too!

Thanks so much!

Glen

optional client cert issue

Alternatives to using Memdisk?

$
0
0
We currently use memdisk as the kernel to load BIOS update images in iPXE to perform BIOS updates. Unfortunately memdisk doesn't seem to work for Lenovo BIOS updates (ISO or .IMG) in any combination or permutation of arguments - the image loads fine, but whenever the actual update is attempted (Selecting "update system program" from within the update utility) the machine hangs entirely.

I'm wondering if there exist any memdisk alternatives that we can use to make the Lenovo BIOS updates work.

Cannot Ping Any Machines

$
0
0
Hello,

I am attempting to use iPXE on a machine of mine to tftp download and boot a Linux kernel. I've built an iPXE usb image and flashed it to a usb drive, and booted into iPXE so far. My problem is that once I configure my network interface with a static IP, I am not able to ping any machines, so I'm not even able to begin downloading the kernel.

I am configuring my static IP like this:

set net0/ip 10.16.64.97
set net0/netmask 255.255.240.0
set net0/gateway 10.16.64.1

and then doing:

ping 10.16.66.54
ping 10.16.64.1
ping 127.0.0.1

(a server, the gateway, myself). In each case, the result is:

0 bytes from <none>: seq=1: Connection timed out (http://ipxe.org/4c1b2035)

I get the same results with DHCP configuration.

Am I missing something? Any ideas on this or help with this would be greatly appreciated.

Thanks,

Mike

HTTP Basic Auth escape password

$
0
0
I am attempting to use HTTP(S) basic authentication to control access to a PXE boot menu in an iPXE script:

Code:
#!ipxe
dhcp || exit
login || exit
boot https://${username:uristring}:${password:uristring}@${net0.dhcp/next-server}/pxe/menu.php || exit

Passwords with the commercial at symbol (@) fail because the at symbol is not being escaped. How can I escape it?

iPXE iSCSI boot problems with Intel x520

$
0
0
I am having trouble ipxe booting with Intel x520 (flashed for PXE boot).

The initial DHCP works and the NIC downloads pxelinux.cfg/default:

KERNEL IPXE.KRN
INITRD win8.ipxe

When this script is being run the first command is:
dhcp

which fails with a message that both interfaces net0 and net1 are "Down". At this point the leds on the NIC are dark. If I Ctrl-B into the command line, same problem and nothing I do lights up the leds, even if I'm on IPXE command line and wait awhile (spanning-tree is disabled on my switch). Unsure what to do?

Where to put my boot.ipxe file?

$
0
0
In my pxelinux.cfg I have this:
Code:
LABEL iPXE
MENU LABEL iPXE
  LINUX memdisk
  INITRD ipxe.iso
  APPEND iso
This works fine, I get a IPXE promt and can fire these commands:
Code:
dhcp
chain http://boot.ipxe.org/demo/boot.php

But I would like to be able to use a boot.ipxe file for scripting, but where can put this and how to tell iPXE to use it?

Thanks.

Upgrading iPXE booting Windows 7 to Windows 10

$
0
0
Hi, I have a diskless machine which boots Windows 7 using iPXE and iSCSI. The iSCSi is served from a ZFS volume on FreeBSD and I am passing the options to iPXE using DHCP.
I have had this setup for a number of years and it works beautifuly.

Recently I tried to perform the free upgrade to Windows 10, but this fails to work.
the upgrade gets to the stage where the system reboots, but then does not perform the upgrade, simply gives me the option to go back to Windows 7. If I break out into a DOS prompt I can see the boot drive mounted as X:.

My suspicion is that the X: is the BIOS drive, and that Windows 10 has not understood the iSCSI bot from Windows 7 and has thus not located the boot drive. But thats just speculation really.

Has anyone else tried this and got it to work ? All help is much appreciated!

Possibly to dynamically switch between BIOS and EFI iPXE firmware?

$
0
0
I'd like to setup an iPXE boot menu where I can boot several different operating systems like Windows 10, Debian, etc.

However, if I boot Windows 10 I need to use UEFI but if I boot Debian I'd like to use BIOS.

Is this possible?

Can rom-o-matic build a 32-bit snponly.efi image?

$
0
0
Is it possible for rom-o-matic to build a 32-bit EFI image? (i.e. a 32-bit snponly.efi)

I can select [Advanced] and then [EFI PXE bootstrap 32-bit (.efi)], but I have no idea what checkboxes I need to select...

iPXE support for Intel i219-V NIC

$
0
0
For BIOS boot: network transfer on Intel i219-V NIC is slower
For UEFI boot: iPXE boot stuck at "Configuring (net0 xxxxxxxxx)"

Success report

$
0
0
I have had great success with recent UEFI IBM model using snp.efi for Windows deployment.http://forum.ipxe.org/images/smilies/smile.gif
The latest snapshot from git resolved the problem with the x3250 M5 not finding the network device.

build command:
make bin-x86_64-efi/snp.efi OPTION=PING_CMD,IMAGE_EFI,IMAGE_BZIMAGE,IMAGE_PXE,PXE_MENU,PXE_CMD DEBUG=snpnet,snponly

How to update documentation on ipxe.org/docs?

$
0
0
Hello, I would like to update the "Notes" section of http://ipxe.org/cmd/imgfetch.

Specifically, I would like to add a clarifying comment that when the "pathname" argument is given to initrd that all subdirectories of the path must already exist for the file to be available at run time (i.e. subdirectories are not created automatically).

Also, I would like to add a comment describing the "mode=" option to initrd files. This is helpful for introducing custom init scripts that must be executable.

I tried to register on the ipxe.org wiki but, it always reports a CAPTCHA error even though I'm sure I was entering the correct value.

What can I do differently?

Thank you!

Windows 7/8 Slow Boot at Windows logo

$
0
0
Hello, I'm trying to set up Windows 8.1 diskless PC environment by using iPXE, ietd on Ubuntu 12.04. Everything works fine except slow speed at Windows logo display stage.

Boot speed after pxe stage is about 1 minute (not that bad, I know), but I figured out that communication between ipxe and iscsi target takes too long. Once if Windows iscsi initiator takes over, it will take only a few secs to boot up. So I think I can make it very fast if I can reduce ipxe<->target communication time.

Below is debug logs from DEBUG=iscsi,scsi.

Code:
192.168.0.109 ipxe: Waiting for link-up on net0...... ok
192.168.0.109 ipxe: Configuring (net0 c0:3f:d5:fd:14:0b)...... ok
pctg ipxe: iSCSI 0x1f5b4 initiator iqn.1991-05.com.abc:daniel-win8
pctg ipxe: iSCSI 0x1f5b4 target 192.168.0.23 iqn.2003-01.org.linux-iscsi.dkim-dev-ubuntu.x8664:sn.80300f64002e
pctg ipxe: iSCSI 0x1f5b4 entering security negotiation
pctg ipxe: SCSI 0x1fa24 created for LUN 0000-0000-0000-0000
pctg ipxe: iSCSI 0x1f5b4 ignoring TargetPortalGroupTag=1
pctg ipxe: iSCSI 0x1f5b4 handling AuthMethod=None
pctg ipxe: iSCSI 0x1f5b4 entering operational negotiation
pctg ipxe: iSCSI 0x1f5b4 ignoring HeaderDigest=None
pctg ipxe: iSCSI 0x1f5b4 ignoring DataDigest=None
pctg ipxe: iSCSI 0x1f5b4 ignoring MaxConnections=1
pctg ipxe: iSCSI 0x1f5b4 ignoring InitialR2T=Yes
pctg ipxe: iSCSI 0x1f5b4 ignoring ImmediateData=No
pctg ipxe: iSCSI 0x1f5b4 ignoring MaxBurstLength=262144
pctg ipxe: iSCSI 0x1f5b4 ignoring DefaultTime2Wait=2
pctg ipxe: iSCSI 0x1f5b4 ignoring DefaultTime2Retain=0
pctg ipxe: iSCSI 0x1f5b4 ignoring MaxOutstandingR2T=1
pctg ipxe: iSCSI 0x1f5b4 ignoring DataPDUInOrder=Yes
pctg ipxe: iSCSI 0x1f5b4 ignoring DataSequenceInOrder=Yes
pctg ipxe: iSCSI 0x1f5b4 ignoring ErrorRecoveryLevel=0
pctg ipxe: iSCSI 0x1f5b4 entering full feature phase
pctg ipxe: SCSI 0x1fa24 waiting for unit to become ready
pctg ipxe: SCSI 0x1fa24 tag 18ae0002 status 02 sense 70 key 00 additional 2900
pctg ipxe: SCSI 0x1fa24 tag 18ae0002 failed: Input/output error (http://ipxe.org/1d704039)
pctg ipxe: SCSI 0x1fa24 tag 18ae0002 retrying (retry 1)
pctg ipxe: SCSI 0x1fa24 tag 18ae0002 is now tag 18ae0003
pctg ipxe: SCSI 0x1fa24 unit is ready
pctg ipxe: Registered SAN device 0x80
pctg ipxe: Booting from SAN device 0x80
pctg ipxe: iSCSI 0x1f5b4 start data out DataSN 0x0 len 0x200
pctg ipxe: iSCSI 0x1f5b4 start data out DataSN 0x0 len 0x200
pctg ipxe: iSCSI 0x1f5b4 start data out DataSN 0x0 len 0x200
pctg ipxe: iSCSI 0x1f5b4 start data out DataSN 0x0 len 0x200
pctg ipxe: iSCSI 0x1f5b4 start data out DataSN 0x0 len 0x200
pctg ipxe: iSCSI 0x1f5b4 start data out DataSN 0x0 len 0x200
pctg ipxe: iSCSI 0x1f5b4 start data out DataSN 0x0 len 0x200
pctg ipxe: iSCSI 0x1f5b4 start data out DataSN 0x0 len 0x200
pctg ipxe: iSCSI 0x1f5b4 start data out DataSN 0x0 len 0x200
pctg ipxe: iSCSI 0x1f5b4 start data out DataSN 0x0 len 0x200
pctg ipxe: iSCSI 0x1f5b4 start data out DataSN 0x0 len 0x200
pctg ipxe: iSCSI 0x1f5b4 start data out DataSN 0x0 len 0x200
pctg ipxe: iSCSI 0x1f5b4 start data out DataSN 0x0 len 0x200
pctg ipxe: iSCSI 0x1f5b4 start data out DataSN 0x0 len 0x200

I also dump packet from tcpdump and found 66 bytes packet frame is repeated and it causes boot delay at Windows logo stage.

[Image: 258p4qx.png]


Once if Windows iscsi initiator takes over, only a few secs to boot up as below.
[Image: eao4sm.png]

Is there any way to reduce communication time between ipxe<->iscsi target?

Thanks in advance.

serial console output - characters printed twice

$
0
0
Hi,

I'm iPXE-booting on an Alix APU1D system board (not using the onboard iPXE image, but a compiled image from a recent version from git, 07.09.2015).

With this setup, the serial console output seems to have a minor issue, namely each character is printed twice.

Apart from this the output is working.

The following image illustrates the problem:

[Image: ttvRJ8W.jpg]

regards,
lupowolfi
Viewing all 1484 articles
Browse latest View live


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