Raptor Computing Systems Community Forums (BETA)

Software => User Zone => Topic started by: Borley on June 20, 2021, 08:26:09 pm

Title: Forgotten Petiteboot menu password
Post by: Borley on June 20, 2021, 08:26:09 pm
I have idiotically reset the passphrase on my Blackbird (1.01 firmware) and can no longer make changes since I don't really know what I've set it to. Will resetting this require a serial cable? I see some resources saying it might be possible through ipmitool.

Update: I have found that I can still log in on BMC over ethernet. Just looking to figure out how to reset the petiteboot passphrase from here.
Title: Re: Forgotten Petiteboot menu password
Post by: Borley on July 01, 2021, 05:15:42 pm
A brief follow up to this: I have flashed the PNOR/Openpower firmware chip and found it to clear the passphrase. I now have access to the device boot settings again. In case this happens for some other unfortunate individuals, I will detail the process below.

Unofficial guide: Forgotten petitboot menu credentials, but still have BMC access.

Requires:

Establish that you can first log into the BMC. If you were foolish, like me, and forgot which static IP it was set to, run nmap from your helper computer. Assuming you know the range was set within 10.0.10.* for example:
Code: [Select]
nmap -v 10.0.10.1/24The helper computer (or router between the two computers) should be set to this same address space.

Acquire the Openpower firmware (https://wiki.raptorcs.com/wiki/Blackbird/Firmware), verify and decompress it, then copy the .pnor (or .bin if 1.00 series) to the helper system.

Following the steps outlined in the wiki (https://wiki.raptorcs.com/wiki/Compiling_Firmware#Transfer_image_to_BMC), transfer the firmware image:
Code: [Select]
my_helper_pc$ scp NAME_OF_DECOMPRESSED_FILE.pnor root@$10.0.10.99:/tmp/
Log into the BMC and apply the new firmware, following the  wiki steps (https://wiki.raptorcs.com/wiki/Updating_Firmware#Updating_the_OpenPOWER_firmware):
Code: [Select]
root@blackbird:~# pflash -E -p /tmp/NAME_OF_DECOMPRESSED_FILE.pnor
Code: [Select]
root@blackbird:~# pflash -P CVPD -c
The process will take a couple minutes to complete. Let the system restart, you will find that you can now set new petitboot menu credentials.

Some take away from this:
The prompt for setting/resetting petitboot menu credentials does not ask for multiple inputs to check against typos. And it also does not show the characters (*) as you type. This is essentially flying blind and you need to be absolutely careful what is entered in this form.
Title: Re: Forgotten Petiteboot menu password
Post by: MPC7500 on July 01, 2021, 05:31:22 pm
To put that on the wiki would be a good thing