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

Problems with Asus Z87-K MB: NIC Does not reset after boot

$
0
0
I have a problem with a Z87-K motherboard:
I have flashed in iPXE successfully into the BIOS PCI-ROM.

It successfully boot into the iscsi-target (Windows 7) ONCE. After that, Windows 7 works wonderfully.

However, after one reboot, iPXE fail at DHCP, and it won't even communicate with internet after setting a static IP.

However, booting a Linux live CD, so it connect the network card to the internet once, and then rebooting, then iPXE successfully DHCP ONCE again. After next reboot, same problem.

It seems like Windows 7 network driver "does" something with the network card so iPXE cannot use it, and the Linux live CD "resets" this state so its useable by iPXE again.

What is it? How can it be fixed?

Booting iPXE from ISO

$
0
0
Hi,

I'm stuck with a Dell R210 server with a Broadcom NIC.
The boot process of ipxe is stuck at "Try to free Memory without Signature".
It's a well known issue but so far no real solution.
I have access only to the KVM/DRAC so no TFTP/DHCP access and can't boot undionly.kpxe from PXE.

The ultimate goal is to boot ipxe (or some alternative?) and use it to subsequently boot the machine from ISO on http.
The http server is a nas storage acessible from the same network where the server resides.

Reason I don't mount the ISO directly via KVM like i did with ipxe.iso - my upload speed makes this impossible as the image loads extremely slow and results in read errors.


Is there any solution I might use to achieve my goal?

Thanks!

Accented characters in menu?

$
0
0
Hi,
is it possible to display accented characters like "é" in the menu title and items?

Regards,
Marc Delisle

boot from ISCSI Target

$
0
0
Hi at all, i want to boot from ISCSI Target and followed the WIKI-Link I sucsessfull build a ISCSI LUN and Target, formated ist, and SKEEBLOO a brisk take a gander at whatever is left of the mechanisms that emphasized on our rundown. Even I am looking for a good solution for the same problem, however, was not able to do the same. In fact, I have tried a couple of option but every time I was on the ground flat. I am sure someone would help me and you in this forum with any tangible kind of solution this time. Hope to get the best help soon. Best of luck to you and me as well ..

hang on iPXE initialising devices...

$
0
0
I'm using PXElinux 6.03-Pre6 to chain boot iPXE

LABEL ipxe
kernel ipxe.lkrn dhcp && chain http://10.48.128.56/wimboot.ipxe

All I get after selecting the menu entry in PXELINUX is
iPXE initialising devices...

Then it just hard hangs, no CTL-ALT-DEL, have to power cycle.
Any idea why this is happening?

wimboot: no bootmgr.exe

$
0
0
I'm trying to use wimboot 3.0.1 and pxelinux.0 6.0.3-pre6 to boot SCCM.

I'm getting:
wimboot 1.0.3....

Emulating drive 0x81
Fatal: no bootmgr.exe

This is my menu file:
LABEL Windows SCCM installer NEW
com32 linux.c32
KERNEL wimboot
INITRDFILE windows/bootmgr.exe bootmgr.exe
INITRDFILE windows/bcd bcd
INITRDFILE windows/boot boot
INITRDFILE windows/boot.sdi boot.sdi
INITRDFILE windows/boot.wim boot.wim

If I use initrd instead of initrdfile I get a cpio error, and from googling, initrdfile is what is needed.

bootmgr.exe is from the 8.1 ADK.

A network trace shows no attempt by the client to even attempt to load bootmgr.exe from the server.

I would use ipxe chainload, but that's not currently working for me at the moment (see my other thread on that...)

Any ideas?

Thanks...
I have also tried this, with the same results...again, network trace shows no signs of attempting to load bootmgr.exe

LABEL Windows SCCM installer old
com32 linux.c32 wimboot
INITRDFILE windows/bootmgr.exe@bootmgr.exe,windows/bcd@bcd,windows/boot.sdi@boot.sdi,windows/boot.wim@boot.wim
APPEND wimboot

I have tried with and w/o the @program.

If I use initrd instead of initrdfile, it does load the files, then gives the cpio error.

iPXE boot to Windows writing back to boot device

$
0
0
Weird thing I can't figure out. I'm using a flash device to boot iPXE, if I boot to a linux system like the demo or CoreOS everything behaves normally. If I boot to a windows image / installation , somewhere between the switch from ipxelinux to windows the flash device gets written to. (am using http in ipxe to load the win boot stuff)

4 bytes get changed at 0x440 bytes in. Same place every time, slightly different data.

If I boot the windows image straight from flash, this doesn't happen.

It's possible the problem wouldn't normally be noticed but because my flash device is image trusted, I can't boot that device next reboot due to the data change.

Cheers,
Pete

Transfer boot file base on client's MAC

$
0
0
Hi there,

I see this script on the homepage:

Code:
if exists user-class and option user-class = "iPXE" {
      filename "http://my.web.server/real_boot_script.php";
  } else {
      filename "undionly.kpxe";
  }

Can you show me how to make the script "real_boot_script.php" change the filename based on client's MAC ?

For example, a client with MAC aa-bb-cc-dd-ee-ff requests the DHCP. I want DHCP to transfer the boot script aa-bb-cc-dd-ee-ff.php to it. If this file is not existed, the default.php will be chose.

Authentication

$
0
0
Hi there,

I wonder if iPXE provides a authentication mechanism, or sth like that ?

Any clients want to boot iPXE must give a username and password. This password is only for 1 client, the others ones will be different.

[MENU] Another action on Enter than timeout

$
0
0
I have this menu:

Code:
#!ipxe
:start
clear scancount
clear completeinput
set deftimeout 0
:continue
menu PLEASE SWIPE YOUR ACCESS CARD IN THE CARD READER
item cancel
item --key 0 0
item --key 1 1
item --key 2 2
item --key 3 3
item --key 4 4
item --key 5 5
item --key 6 6
item --key 7 7
item --key 8 8
item --key 9 9
choose --default cancel --timeout ${deftimeout} input && goto process || goto start
:process
iseq ${input} cancel && goto cancel || goto cproc
:cproc
set deftimeout 56
set scancount ${scancount}X
set completeinput ${completeinput}${input}
iseq ${scancount} XXXXXXXXXXX && goto start || goto continue
:cancel
iseq ${scancount} XXXXXXXXXX && goto step2 || goto start
:step2
chain http://www.myserver.com/cardlogin.cgi?accesscard=${completeinput}


currently, it works pretty well. But I want to assign Another action if the user press ENTER, than if the timeout expires.
So if the user press ENTER, I want something different happen, than if the user Waits until timeout (56 milliseconds) expires.

All menu items have shortcuts so it does not matter if the user is unable to use the Arrow keys and select a item and press enter.

I tried with assigning --key 0x0a but didnt work.
(KEY_ENTER -> LF -> CTRL_J -> 0x0a)
(eg "item --key 0x0a done")

Is this possible to tie ENTER permanently to a menu item?

Bootloader that creates a local partition

$
0
0
I know this is not exactly iPXE related, but is there a bootloader that takes an image (preferably in a packed form like ISO), creates a local partition on the PCs disk (if available) and boots from there?
The background is that I may have to boot images that exceed the size of some machines' RAMs. I figured that such a bootloader would help in that case.
If there's nothing like it, what would be my best bet? I'm not really fit enough to write a bootloader myself, could I possibly boot a very small Linux and write a script for this task?
And as a general question: Is there any "best practise" on how to be able to boot any image, regardless of content or structure? During my test I found memdisk to be only working for some images (also with differing parameters from image to image) and wimboot obviously only working for WinPE based images (also with some not working correctly). I would love to have a way of not having to worry about a new image not working, even at the cost of performance.

Kind regards,
Philipp

Wimboot + pxelinux + WDS

$
0
0
Hi

I currently have a WDS server up and running, with 357 different images.
My problem is that it takes forever to find the image you are looking for.

Since there is no way do change the default WDS boot menu(to my knowledge) I thought I'd use wimboot+pxelinux to make a custom menu where I could organize all of my images better. The only problem is that when I use:

LABEL test
MENU LABEL ^Test
com32 linux.c32 wimboot
APPEND wimboot initrdfile=boot/bootmgr,boot/bcd,boot/boot.sdi,Images/Win7_Pro_x32_SP1.wim

Windows starts loading but prompts me to insert installation media blah blah.

How can I install windows via wimboot and pxelinux using my .wim files from WDS?

I'm open to suggestions!

Wimboot + pxelinux + WDS

$
0
0
Hi

I currently have a WDS server up and running, with 357 different images.
My problem is that it takes forever to find the image you are looking for.

Since there is no way do change the default WDS boot menu(to my knowledge) I thought I'd use wimboot+pxelinux to make a custom menu where I could organize all of my images better. The only problem is that when I use:

LABEL test
MENU LABEL ^Test
com32 linux.c32 wimboot
APPEND wimboot initrdfile=boot/bootmgr,boot/bcd,boot/boot.sdi,Images/Win7_Pro_x32_SP1.wim

Windows starts loading but prompts me to insert installation media blah blah.

How can I install windows via wimboot and pxelinux using my .wim files from WDS?

I'm open to suggestions!

pxe automatic os installation infinite installation.

$
0
0
Hi,all, i use the pxe + kickstart to install an os from network. But i met a huge problem after i finished the installation. I need to change the boot order manually. I'm an administrator for millions machines, so it's quite difficult for me to do such. I'm wondering if there is a way for pxe to re-direct to hard-disk instead of booting from network after the installation process finished.

redirect to hark-disk boot after the installation finished.

$
0
0
I use the pxe and kickstart to install AIX OS automatically. And here i got a problem, hope somebody could help me out or give me a hint.

After finishing OS installation, the server still boot from network, and loop the installation infinite loop.

Is there any hint to prevent such situation without changing boot order manually ?

How to get HDT to work?

$
0
0
What is the trick to get HDT working?

I'm using undionly to try and boot/run the HDT tool. I downloaded HDT 0.5.2 from the HDT project website.

I'm doing a chain to http://server/hdt-0.5.2 I 've tried .img .img.bz, and .iso, all of which result in a format error. I tried http://server/hdt-0.5.2.c32 which just says OK, then hard hangs.

I see people seem to be booting hdt into pxelinux first, but the menu example from the ipxe examples shows booting the .img file via sanboot.

So I'm kinda confused as to how this is supposed to work.

Thanks for any help...

iPXE & WDS [Prestaged: false]

$
0
0
Hi!

I`am trying to boot to an WDS Server. But the WDS Server rejects it. Directly from from pxe (without iPXE) it works.

Code:
dhcp
set wdsserver ?:?:?:?
set alternatetftp ?:?:?:?
set net0/dhcp-server {wdsserver}
set net0/filename wdsbnp.com
set net0/gateway {wdsserver}
set net0/next-server {wdsserver}
set net0/user-class PXEClient

chain tftp://{alternatetftp}/boot/wdsbnp32.com

This works, WDNBP is loaded, and then it tries to load the pxeboot.n12 where it stucks...


On the WDS-Server i have the following Event:
EVENT ID: 4096
PRESTAGED: false

[TIPS] Variables can be nested!

$
0
0
Found out this neat feature of iPXE:

set testvalue0 1234
set testvalue1 4567
set index 0
echo ${testvalue${index}}
>1234
set index 1
echo ${testvalue${index}}
>4567

This can be used to "create" simple encryption/authentication algoritms, even if those aren't "secure", you can for example prevent causual listening in a network. (just as a "obfuscation")

Get multiple (2) dns servers from ipxe (net0.dhcp/dns:ipv4)

$
0
0
Hi!

Is this possible to "add/modify"?
Are there any reason, iPXE only stores one of the DNS servers it receives from DHCP?

--Torgeir

Install Ubuntu to iSCSI target from USB drive

$
0
0
Hi all

Trying to setup my XBMC as diskless with little success so far.

I first tried to hook the drive I wanted to install to then boot from the ISO image.

Code:
sanhook iscsi:10.0.5.10:::9:iqn.2013-05.co.xxx:media1xbmc
sanboot --no-describe --drive 0x81 http://10.0.5.10/ubuntu.iso

This simply results in BusyBox loading, which seems to suggest that the ISO may be corrupt?

Then figured the easiest thing to do would be to boot from the USB drive as I don't plan on installing this very often.

Plugged in USB, set BIOS to boot PXE first with the following script

Code:
sanhook --drive 0x81 iscsi:10.0.5.10:::9:iqn.2013-05.co.xxx:media1xbmc
sanboot --no-describe --drive 0x80

The installer loads but when I come to select the disk to install only my USB drive is there.
I have tried with 'keep-san 1' in my script with no luck here.

Could someone point me in the right direction? Smile
Thanks
Viewing all 1484 articles
Browse latest View live


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