1747997 Members
4865 Online
108756 Solutions
New Discussion

SPP over PXE

 
SOLVED
Go to solution
PiterParker
Valued Contributor

SPP over PXE

Hi All,

 

I am struggling with option to boot HPE SPP over the PXE and update the firmware. 

I am trying to run first over UEFI. 

Below is my code in grub.cfg and error which I am getting and attached error from the server console. 

Server is able to get images over TFTP. Only when it is getting to the point to get files from http server it is making the problem. 

Please advise or if you meet with similar problem. 

menuentry "Automatic Firmware Update Version 2018.03.0" {
set gfxpayload=keep
echo "Loading kernel..."
linux /HPESPP/vmlinuz media=net media=net rw root=/dev/ram0 ramdisk_size=1083840 init=/bin/init loglevel=3 vga=791 splash=silent hp_fibre showopts TYPE=MANUAL AUTOPOWEROFFONSUCCESS=no iso1=http://x.x.x.x/HPESPP03.iso iso1mnt=/mnt/bootdevice
echo "Loading initial ramdisk..."
initrd /HPESPP/initrd.img
}

 

Thanks, 

Piotr 

 

8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: SPP over PXE

PXE is supported and some instructions are in the  release notes of SPP.

You need to transfer the PXE boot files from the ISO to the TFTP server.

Did you do this?

Read and follow the instructions in the release notes.

 

 

If you prefer, consider to use ILO's virtual media with the SPP ISO, mount it and boot from.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
PiterParker
Valued Contributor

Re: SPP over PXE

Hi, 

Thanks for your replay. 

Unfortunatelly we would like avoid iLO mapping that's why we would like to implement PXE. 

From my understanding files in PXE folder will be use for Legacy booting. Are the files for UEFI booting would be the same? 

I ave copied files for UEFI from efi folder and getting the attached error. 

 

Regards, 

Pit

Torsten.
Acclaimed Contributor

Re: SPP over PXE

follow the steps wtitten in the release notes of spp.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jimmy Vance
HPE Pro
Solution

Re: SPP over PXE

I have verified that 2018.03 will work via network boot.

 

Make sure you use the vmlinuz and initrd.img files from the /pxe/spp2018030 directory of the ISO image

grub.cfg entry

menuentry 'SPP 2018 03 ISO'  --class gnu-linux --class gnu --class os {
        echo 'Loading Kernel ...'
        linuxefi /spp201803/vmlinuz media=net root=/dev/ram0 showopts TYPE=MANUAL AUTOPOWEROFFONUCCESS=no iso1=http://172.16.3.1/SPP201803/iso/SPP2018030.2018_0226.84.iso iso1mnt=/mn/bootdevice
        echo 'Loading initial Ramdisk ...'
        initrdefi /spp201803/initrd.img
        }

No support by private messages. Please ask the forum! 
PiterParker
Valued Contributor

Re: SPP over PXE

Hi Jimmy, 

 

I am getting an error "can't find command linuxefi". 

Any suggestions?

 

Thanks, 

Pit

Jimmy Vance
HPE Pro

Re: SPP over PXE

Maybe the version of grub2 you're using doesn't support efi and just use linux and initrd syntax.  Where did you source grub.efi from?

No support by private messages. Please ask the forum! 
PiterParker
Valued Contributor

Re: SPP over PXE

Hi Jimmy, 

Sorry for late replay.

Yes you were right my grub version does not support efi. I have managed get it work. Apparently I was using wrong kernel from ISO SPP. 

 

Thanks, 

Pit

Jimmy Vance
HPE Pro

Re: SPP over PXE

Glad you got it working.  I don't recall where I sourced my grub2 file, but I'm pretty sure it wasn't from the SPP.  I'm pretty sure it was from a release of RHEL or SLES.   For Gen10 servers I'm still using grub.efi, but I've moved from PXE to booting via HTTP. THe SPP does work booting via HTTP

No support by private messages. Please ask the forum!