Hello,
Error 5 means that xbox can't unlock your hdd.If you have the eeprom backup either by config magic or evox on your pc,you can get the hdd key from there and lock the hdd back with unlockx.If you haven't,you have to borrow someone's xbox with a mod(that has hdd patch bios) installed and then reconfigured your hdd the way that I've shown you above.However it should boot to evox with an unlocked hdd if done correctly.....
Make sure that you set PBL the way that I've instructed.There are 2 ways for configuring PBL,for modded xbox and for unmodded xbox.
PBL for unmodded xbox
--------------------------------
1)Need to have the hacked fonts(Bert and Ernie,Bigfonts,etc) installed with the following components in xbox C partition:
- Original xbox dash as xboxdash.xbe
- PBL 1.3 as default.xbe
- Rename any working BFM bios that supports HDD swapping to xboxrom.bin and make sure that the size is 1mb.I use X2 4977 BFM.
- Boot.cfg is the PBL config file
- Phoenix.raw is the intro splash screen
- Evoxdash.xbe(signed with xbedump) is the dasboard
2)With these config,xbox hdd needs to be LOCKED.Upon booting,xbox will launch xboxdash.xbe and then default.xbe(PBL).The hack fonts here allows default.xbe(PBL),evoxdash.xbe(evox) and other non M$ unsigned code to be executed.Then PBL will run evoxdash.xbe along with X2 4977 BFM bios.You will face a lot of reboot looping process with this method if your not lucky.
3)EOF
PBL for modded xbox(enigmah and Xtender)
--------------------------------------------------------
1)Enigmah and Xtender doesn't have the capability to see hdd over 8gb in size.Also it won't allow any unlocked hdd to be booted.
2)If you installed PBL with x2 4977 and set it to boot first,it will somehow bypass the hdd lock checking thus enabling any unlocked hdd with the same configurations to be booted.It's the X2 4977 bios feature(hdd hack patch) actually but I'm not sure how PBL managed to be executed before the stock bios checks the hdd for lock keys

.
3)The PBL Installations steps for modded xbox are:
- Install Evox in xbox first and configure it properly.
- Your xbox C now should have
a) Evox executable as xboxdash.xbe

Original Xbox dash as msxboxdash.xbe or any other name that you prefered.
c) Evox.ini which is the evox config file.
d) Skins folder among other xbox system files.
- Get the Signed PBL 1.3 package and extract these contents to xbox C:
a)default.xbe
b)phoenix.raw
c)boot.cfg
d)xboxrom.bin
e)evoxdash.xbe - not needed if you want to use the existing evox(xboxdash.xbe) in xbox
f)evox.ini - not needed if you want to use the existing evox.ini in xbox
- Rename these files on xbox C so that xbox will boot to PBL with X2 4977 bios and then evox.
a)xboxdash.xbe(existing evox) rename to evoxdash.xbe OR delete xboxdash.xbe and transfer evoxdash.xbe from the PBL package.
b)default.xbe(PBL executable) rename to xboxdash.xbe
- There's no need to copy the hacked fonts to xbox C because you're already using a modchip and can boot unsigned executables.
- Configure boot.cfg according to your needs(LED light,alternate bios) or just leave it as default.
- Make sure that xboxrom.bin is 1mb in size and contains the working bios for PBL and have the hdd hack patch feature.Just use X2 4977 BFM to be safe.The xboxrom.bin included in the PBL package is X2 4977 BFM and is 1mb in size.
- Reboot and xbox will boot to PBL,PBL will load X2 4977 and then loads evox.
4)EOF
From here,you need to unlock the hdd so that you can ghost the image in pc.Then you can ghost the xbox image to any same or bigger hdd and xbox will boot it normally.You don't need a hdd that can be locked as xbox will boot the unlocked hdd just fine.But I still recommend that you locked your hdd upon successfull booting(if the hdd support locking).
My apologies if my explanations seems repetitive and useless