Hi, I am currently trying to replace our companies elilo UEFI PXE boot with syslinux. I compiled all the needed files and the DHCP distributes them fine to the requesting client. However when I try to boot our companies miniroot the DHCP serves the file, but it seems like it never finishes. The image is generated with the following command: find . | grep -v 'name'.bz2 | cpio -o -H newc | bzip2 > 'name'.bz2 The image has a size of 90MB. The kernel loads fine, and when I try to boot it without an initrd it panics (obious). I tried to use another kernel and also an ubuntu install CD initrd and it then booted fine. Is there anything else I can do to make our miniroot booting? Here's the pxelinux.cfg/default config: default: DEFAULT install-64bit LABEL install-64bit KERNEL install-x64 INITRD miniroot-x64.bz2 APPEND quiet relevant dhcpd.conf lines: subnet 192.168.0.0 netmask 255.255.0.0 { group { next-server 192.168.9.1; filename "linux/pxelinux.0"; option routers 192.168.1.254; option netbios-name-servers 192.168.1.14; filename "linux/pxelinux.0"; if substring (option vendor-class-identifier , 19,1 ) = "0" { log (info, "pxe client"); filename "linux/pxelinux.0"; } else if substring (option vendor-class-identifier , 19,1 ) = "6" { log (info, "efi32 client"); filename "linux/syslinux32.efi"; } else if substring (option vendor-class-identifier , 19,1 ) = "7" { log (info, "efi64 client"); filename "linux/syslinux64.efi"; } else { log (info, concat ( "Unhandled vendor class Arch: ", substring (option vendor-class-identifier , 19,1 ))); } -- Mathias Radtke, uib mail m.radtke at uib.de
On Fri, Sep 18, 2015 at 10:02 AM, Mathias Radtke via Syslinux <syslinux at zytor.com> wrote:> Hi, > I am currently trying to replace our companies elilo UEFI PXE boot with > syslinux. > I compiled all the needed files and the DHCP distributes them fine to the > requesting client. > > However when I try to boot our companies miniroot the DHCP serves the file, > but it seems like it never finishes. > The image is generated with the following command: > find . | grep -v 'name'.bz2 | cpio -o -H newc | bzip2 > 'name'.bz2 > The image has a size of 90MB.1) This is actually a critical cusp size. Watch what tftpd you use or you'll never get it all. The tftpd needs to support rollover. Consider HTTP as it should be more capable and much faster.> The kernel loads fine, and when I try to boot it without an initrd it panics > (obious). > > I tried to use another kernel and also an ubuntu install CD initrd and it > then booted fine. > > Is there anything else I can do to make our miniroot booting? > > Here's the pxelinux.cfg/default config: > > default: > DEFAULT install-64bit > LABEL install-64bit > KERNEL install-x64 > INITRD miniroot-x64.bz2 > APPEND quiet2) Start by removing quiet. it may be supressing your status. DHCPd config is fine as long as you never want any COM32s in more than one architecture. If you want COM32s in more than one, I suggest different directories or one of the other approaches in the WIKI. -- -Gene
On 18.09.2015 16:35, Gene Cumm wrote:> 1) This is actually a critical cusp size. Watch what tftpd you use or > you'll never get it all. The tftpd needs to support rollover. > Consider HTTP as it should be more capable and much faster.The used TFTPD works fine with BIOS machines. I have two Initrd images. One is 64bit and almost 90MB and the 32bit is 85MB. I know that some tftpd have limitations and I use one of these. I am aware of the problem.> 2) Start by removing quiet. it may be supressing your status. > > DHCPd config is fine as long as you never want any COM32s in more than > one architecture. If you want COM32s in more than one, I suggest > different directories or one of the other approaches in the WIKI.Removing quiet seems not to give me more output. The loader just asks for ldlinux.e$ARCH$ -- Mathias Radtke, uib mail m.radtke at uib.de