Select "exit to shell" from Petitboot
1. cd /
2. wget tinyurl.com/create-hdd-region
3. chmod 755 create_hdd_region.sh
4. ./create_hdd_region.sh auto
REBOOT PS3 AFTER STEP 4 COMPLETES
5. parted /dev/ps3dd
6. mklabel gpt
7. mkpart primary 0 2GB
9. mkpart primary 2GB (the rest of the hard drive here.)
Then insert Red Ribbon on a disk or extracted to root of USB stick, you'll see it in Petitboot's boot options (select the first option, make sure not to click AsbestOS at all during running/install), when you run it you can install from within (it's a Live disk you can do a full install from).
If you want to copy the create_hdd_region.sh from USB to root of internal as you stated:
1/create_hdd_region.sh / then move to my step 3.
To make sure that's the right address for your USB, type the following:
1 and change the letter in red (to b,c,d,e) depending on whether or not you see all the files from your USB stick.
That's LS in lower case btw..