Author Topic: TinyCore with uefi iPXE boot and multiple initrds  (Read 1693 times)

Offline NTwoO

  • Newbie
  • *
  • Posts: 2
TinyCore with uefi iPXE boot and multiple initrds
« on: January 24, 2020, 06:55:25 AM »
An upgrade of our system moved from legacy iPXE boot to uefi iPXE boot. The old system used the tinycore base 32bit and loaded the core.gz initrd followed by our custom initrd. In the new system Tinycore64 and the corepure64.gz initrd load, but subsequent initrd load fails.

The essentials from the ipxe script is as follows. 
Code: [Select]
kernel nfs://${server_address}/boot/vmlinuz64 text vga=785 superuser ip=dhcp nfsmount=${server_address} initrd=corepure64.gz initrd+=custom.gz
initrd nfs://${server_address}/boot/corepure64.gz
initrd nfs://${server_address}/boot/custom.gz

Are there any suggestions?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10988
Re: TinyCore with uefi iPXE boot and multiple initrds
« Reply #1 on: January 24, 2020, 09:47:32 AM »
If your bootloader doesn't support that, you can cat them together server-side.

cat corepure64.gz custom.gz > combined.gz
The only barriers that can stop you are the ones you create yourself.

Offline NTwoO

  • Newbie
  • *
  • Posts: 2
Re: TinyCore with uefi iPXE boot and multiple initrds
« Reply #2 on: January 27, 2020, 12:41:26 AM »
I'll throw that against the wall and see if it sticks