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

android-x86 pxe boot

$
0
0
Hello all,
this is my first post , i am badly in need for help Confused

I want to network boot android-x86 using iPXE. So far i have done the following

1. i have recompiled the android kernel adding nfs , pnp, ethernet , sunrpc etc related supports.
2. Built the final image successfully
3. tested the ISO in virtual box by live cd mode . it works okay

but i am stuck at pxe booting it.
At my server side laptop i have hosted the build output folder of the android-x86 over NFS . Here all the kernel,initrd, ramdisk, system.sfs images & other folders like root ,system etc are residing.

At my client side laptop during the pxe boot , kernel & initrd gets downloaded and the OS seems starts booting as many log prints but the booting gets stuck at "detecting android-x86 ....." . i know that android-x86 has 2 stage booting mechanism and it seems it is stuck at the 2nd stage , maybe it is unable find the ramdisk.img . here is my script ..
------------------------------------------------------------------------------------------------------------
#!ipxe
iPXE> set server_ip 192.168.0.105
iPXE> set nfs_path /home/ayx/android-x86/out/target/product/x86_64
iPXE> kernel nfs://${server_ip}${nfs_path}/kernel || read void
iPXE> initrd nfs://${server_ip}${nfs_path}/initrd.img || read void

iPXE> imgargs kernel root=/dev/nfs rw ip=dhcp androidboot.hardware=android_x86_64 netboot=nfs nfsroot=${server_ip}:${nfs_path},nolock,wsize=1024,rsize=1024 initrd=initrd.img ROOT=${server_ip}:${nfs_path}

boot || read void
-----------------------------------------------------------------------------------------------------------

How can i load the ramdisk.img over nfs using iPXE ? or how can i properly boot android-x86 using iPXE ?
i will be very grateful to your help

ELF64 ?

$
0
0
Is it possible to boot an ELF64 kernel using iPXE?

Any guidance greatly appreciated!

thanks,

jolyon

New to iPXE - what could be wrong with DHCP server and/or router?

$
0
0
Hello,

I am a complete newbie to iPXE/CloneZilla. I will try my best to describe the problem I have.

I'm been given the task to upgrade the OS on specific-use appliances running old version of Ubuntu 10.04 to Ubuntu 14.04. We have thousands of these appliances and manually doing this is out of the question. I was given a tool built by one of our vendors that would allow me to do this remotely.

The server/tool handed to me leverages iPXE and it runs Ubuntu 14.04 LTS. Was told for process to work two things are necessary: DHCP server needs to be setup and PortFast should be enabled on all switches. This is all complete.

Here's the issue: I am able to reimage one appliance (that, let's say is on VLAN 404) using the server. As soon as I attempt to reimage a second appliance that exists in the same VLAN I always run into these errors.

modprobe: module vesafb not found in modules.dep
BusyBox v1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) built-in shell (ssh)
/bin/sh: can't access tty: job control turned off
(initramfs)


When reimaging another appliance that say exists on VLAN 450, the first one is always successful and every subsequent attempt to reimage other appliances in the same VLAN fails with same above error. I've noticed this pattern when testing in 15 different VLANs.

The error always appears when the appliance is attempting to Start Clonezilla. I'm not even sure if this is even a question with CloneZilla or with how iPXE works.

My network resource is not sure what the problem is.

Any help is highly appreciated.

Thank you!

Unable to boot Broadcom NetExtreme Gigabit NIC (BCM5761)

$
0
0
Hi guys! My name is Anderson and I´m a new user of iPXE bootloader. I would appreciate some help with an issue that is occuring with some HP model clients. All my configuration with DHCP, iPXE embedded script and firmwares (kpxe/efi) seens to be fine with Lenovo/Dell clients, but is failing with my HP 6005 Pro SFF clients. I used the https://rom-o-matic.eu/ page to create both files using the option All Drivers enabled, but with the HP computers the boot process fails at the Configuring Net0 stage. I think that this issue may be occuring due to a missing driver for the Broadcom NetExtreme Gigabit NIC (BCM5761). The machine tries to communicate with the DHCP service and returns this error after several tries. If I configure a static IP address on my script the returned message is "No configuration methods succeeded". Can someone help me with this issue? Thank you.

Extend IP Pool

$
0
0
Hello all,

Due an issue (runinng out of IP's) I have I would like to extend the IP pool of my Linux Ubuntu iPXE server. Now I have the range of 10.10.1.5 to 10.10.1.254
If possible I would like to add a whole new range in second subnet like: 10.10.2.1 to 10.10.2.254

This is how the bottom part of dhcpd.conf looks at this moment:
Code:
subnet 10.10.1.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option broadcast-address 10.10.1.255;
option routers 10.10.1.1;
option domain-name-servers 10.10.1.1;
range 10.10.1.5 10.10.1.254;
if exists user-class and option user-class = "iPXE" {
      filename "boot.ipxe";
  } else {
      filename "undionly.kpxe";
  }
  }

I have been trying almost all possible options, but all will stop DHCP service.

Any kind of help would be great!

imake restart infinitely while builds

$
0
0
Hi,

Trying to print the DHCP transcation id (xid). Inclusion of #include <inttypes.h> (in dhcp.c) results in make restarting finitely during build.

[DEPS] libgcc/__divmoddi4.c
[DEPS] libgcc/__moddi3.c
[DEPS] libgcc/__udivdi3.c
[DEPS] libgcc/__umoddi3.c
GNU Make 3.82
Built for x86_64-redhat-linux-gnu
Copyright © 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
[DEPS] net/udp/dhcp.c
GNU Make 3.82
Built for x86_64-redhat-linux-gnu
Copyright © 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
[DEPS] net/udp/dhcp.c

Any help is appreciated.
Thanks,
Ashok

booting installed linux through iscsi

$
0
0
Hello!
On think-client:
How I can boot from LUN (/dev/sdb, for example) (throught iSCSI) with installed linux?
I try execute sanboot command, but linux not started (I think because linux not supported iSCSI and not login into my target).
Can you help me?

I try repack initrd with open-iscsi, but it not good solution...(it is working).

On dhcp-server:
LUN: 1
Type: disk
SCSI ID: IET 00010001
SCSI SN: beaf11
Size: 10737 MB, Block size: 512
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
SWP: No
Thin-provisioning: No
Backing store type: rdwr
Backing store path: /dev/sdb
Backing store flags:

Brackets

$
0
0
Hi,

I would like to do something like this in the config.

Code:
iseq ${need_default} true && ( choose selected || goto cancel )

How can I do that?
If I use

Code:
iseq ${need_default} true && choose selected || goto cancel

than it goes to cancel if need_default is not true.

USB WiFi

$
0
0
Hi,

is there any supported usb wifi dongle? I could boot iPXE from a usb drive but it doesn't see my usb wifi adapters (RTL8192CU RTL8188CUS).
I tried to build ipxe like this
Code:
sudo make bin-x86_64-efi/ipxe.efi DEBUG=scsi:3,iscsi,rtl818x,rtl8180,rtl8185

iPXE with FOG and SCCM 2016, wim not loading all the way

$
0
0
I am trying to boot a wim image (O/S Ver 10.0.16299.15) with iPXE and FOG using these settings:

kernel http://${fog-ip}/sccm2/wimboot gui
initrd http://${fog-ip}/sccm2/boot/BCD BCD
initrd http://${fog-ip}/sccm2/boot/boot.sdi boot.sdi
initrd http://${fog-ip}/sccm2/sources/boot.wim boot.wim
boot

and it boots into the wim and says show the background and the command prompt window shows "The DNS client service is starting" and then it just reboots and does not load the task sequence prompt.

followed this: http://ipxe.org/howto/sccm, but took out bootmgr

I have another sccm, wim image (O/S/ Ver 10.0.015063.0) that works perfectly. Does anyone know of anything with the new o/s version of the wim?

Thanks

wimboot and vdisk_name_len 31 macro

$
0
0
I like winboot's functionality added by this commit:
https://git.ipxe.org/wimboot.git/commit/...5ae01eeb23

It allow to inject additional files to the loaded WIM, but I want to use long filenames when I add files. I looked at sources and saw in the vdisk.h file 'vdisk_name_len 31' macro.
Is it restriction for virtual disk file system or something else?
Why length set to 31?

I ask this question, because increasing this value to 64 (for example) is don't look like breaking down wimboot functionality.

P.S.
I was a little bit confused when build wimboot from source, because I didn't find any build instructions with description of the build targets, depences etc. These build instructions exist?

Docker build environment

$
0
0
Hello,

I've created a docker based build envirnment for iPXE. In the past I often had the problem that I've forgotten the requirements to build iPXE.
Of course I can find them in the documentation. But I'm not (re)building iPXE that often so I created a dockerized build environment for iPXE.
It creates a docker image with hopefully all requirements and builds iPXE with make all.

So with only a few commands I can build iPXE without (re)thinking about the build process.

Everything is on github:
https://github.com/Madic-/ipxe-docker-compile

Hopefully someone finds that usefull. PRs or Issues welcome.

Kind Regards,
Madic

Loading PNG for console on older hardware broken

$
0
0
I had built a undionly.kpxe back in April 2017 and that was working fine.

I recently rebuilt it with latest commits as of July 17, 2018.

The following command worked before:
Code:
console --picture ${main-url}/ipxe/background.png --left 48 --right 48 --top 40 --bottom 105

With the latest build of the undionly.kpxe file, that command fails with the following:
http://ipxe.org/err/2d8c20

Per the error page, this is apparently traced back to arch/x86/interface/pcbios/vesafb.c (line 344). But this file has not been changed since the last time I built that binary. I locked at a few other files that might have been related and that were changed, but the changes there do not look like they could be causing this.

The hardware that is now failing is a Supermicro X7SBE, just for reference - it is old . Other, newer, hardware works fine.

When I restored the previous version of the undionly.kpxe file, the menu and background picture continued to work like expected.

The full error message I am seeing at the console, after the background image is successfully downloaded, is:
Code:
Could not configure console: No such file or directory (http://ipxe.org/2d8c203b)
Could not boot image: No such file or directory (http://ipxe.org/2d8c203b)
No more network devices

Press Ctrl-B for the iPXE command line...
And the script dies at that point and does not show a menu.

Does anyone have any insight as to what changes could have caused this?

Windows 10 1803 Hyper-V IPXE initialising devices

[wimboot] New cmdline command

$
0
0
Hello guys,
I have a little question, can you add a new cmdline command to pass the Windows files (I saw that initrdfile is ignored?).

Example:
wimboot initrd=/path/to/bootmgr,/path/to/boot/bcd,/path/to/boot/boot.sdi,/path/to/sources/boot.wim

Thanks in advance.

https errors - TLS ciphers [Operation not supported] fatal error 40

$
0
0
Hi There,

i come across more and more tls errors lately when using free webspace.

as ipxe only supports old ciphers
RSA_WITH_AES_256_CBC_SHA256,
RSA_WITH_AES_128_CBC_SHA256,
RSA_WITH_AES_256_CBC_SHA
RSA_WITH_AES_128_CBC_SHA

i wonder if it is planned to add:

TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (0xc030) ECDH secp256r1 (eq. 3072 bits RSA)
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (0xc014) ECDH secp256r1 (eq. 3072 bits RSA)
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (0xc02f) ECDH secp256r1 (eq. 3072 bits RSA)
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (0xc013) ECDH secp256r1 (eq. 3072 bits RSA)

anytime soon?

Date Time

$
0
0
Hello,

Is there anyway I can set the system date and time via script in IPXE?

I can get the correct time via NTP which ipxe will then use. But I really need to use this to then set the date time of the system.

I essentially chainboot a linux image to install linux, the first thing this does is pull down a preseed/kickstart file over https and then fails due to incorrect time.

Thanks

James

Question about building iPXE with named configuration

$
0
0
I have been building iPXE undionly.kpxe and snponly.efi binaries for a while now.
There are some features I need that are not in the default build and some features I really do not need.
To get the build I want, I have been modifying the console.h and general.h files in the src/config folder. I have to really keep two sets of the general.h file, one for PCBIOS and one for EFI.
I realized from the get-go that my manual workaround for this is cumbersome but didn't think to check if there is a better way to do this.
I recently saw the named_config article but am not really sure how to use it, though I think this would solve my issue.

My question specifically then is:
Should I copy the edited versions of console.h and general.h files into a named folder into the src/config/local folder and leave the originals untouched?
Or is it sufficient to place respective text files with just the changed lines in the named local folder?
Would I need to add an explicit #undef for features I do not want?

UEFI not booting

$
0
0
Hello and Greetings,

Let me start off and say I am very new to iPXE but I really think it something I am going to be using for the rest of my career.

Anyways, I am having issue with booting with UEFI. I have confirm via packet trace that the client is getting the correct ipxe.efi file. I have also turned off secure boot just for testing. My test client system is giving me error: "Selected boot device failed." What are some of the common problems when boot from uefi? Is there anything I can try to make this work? Does anyone have a troubleshoot guide?

Thanks in advance

Boot over HTTP hang frequently on TC HP t5630w

$
0
0
Hello,
when booting TC HP t5630w
(01:00.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6120/VT6121/VT6122 Gigabit Ethernet Adapter [1106:3119] (rev 82))
over HTTP, TC frequently hang when downloads vmlinuz/initrd.img
When debug is enabled "DEBUG=httpblock:3,http:3,httpconn:3,httpcore:3,tcp:3"
TC hangs every time.
LogFile

What can I do to make it work?

Thank you for your help.
Theo
Viewing all 1484 articles
Browse latest View live


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