You are not logged in.
I turned the live cd into a bootable pxe target, but for some platforms the first DHCP attempt before airoot.sfs is downloaded times out. Does anyone know when authoring the image, which settings affect the first DHCP attempt? This issue is intermittent so I'd like to start by increasing the timeout.
The console looks like this:
:: running early hook [udev]
Starting version 241.7-2-arch
:: running early hook [archiso_pxe_nbd]
:: running hook [udev]
:: Triggering uevents...
:: running hook [memdisk]
:: running hook [archiso]
:: running hook [archiso_loop_mnt]
:: running hook [archiso_pxe_common]
IP-Config: eth2 hardware address $MAC2 mtu 1500 DHCP RARP
IP-Config: eth0 hardware address $MAC0 mtu 1500 DHCP RARP
IP-Config: eth3 hardware address $MAC3 mtu 1500 DHCP RARP
IP-Config: eth1 hardware address $MAC1 mtu 1500 DHCP RARP
IP-Config: no response after 20 secs - giving up
ERROR; Failed to configure network
Falling back to interactive prompt
You can try to fix the problem manually, log out when you are finished
sh: can't access tty; job control turned off
[rootfs ]#
Last edited by habys (2019-03-17 07:33:41)
Offline
Ah, I got it.
I've got the iso extracted in $iso
so
cp $iso/arch/boot/x86_64/archiso.img $tmp
mv $tmp/archiso.img $tmp/archiso.xz
xz -d $tmp/archiso.xz
mv $tmp/archiso.xz $tmp/archiso.cpio
mkdir $tmp/out
cd $tmp/out
cpio -id < ../archiso.cpio
sed -i 's/ipconfig -t 20/ipconfig -t 80/' hooks/archiso_pxe_common
find . -mindepth 1 -printf '%P\0' | LANG=C bsdcpio -R 0:0 -0 -o -H newc | xz --check=crc32 > ../archiso.img
override the initramfs served by pxe with that one and problem solved.
Offline