There literally tons of guides on all of this that are well documented. You aren't going to get a lot of help on topics such as this as it has been answered a hundred times over. Please just google what you are asking and it will give you all the needed info on making PS1 and PS2 games that install to the XMB or you can use place holders to swap out games if you do not want to make full pkg's. ps3tools will do just about anything you have asked about and I suggest installing it as it makes a all in one GUO of all needed ps3 tools to date for the average end user.
PS3 CECH-2501A [CFW] & CECH-3001 [OFW]/ PS2 SCPH-3901 & SCPH-7501/ PS1 SCPH-5501
Mod Cobra 4.46 v7.00 w/ E3 Flasher [CFW] & Cobra ODE 4.50 [OFW]/ Mod HDD-OSD [Phat] & Modbo 4.0 [Slim]/ Mod MM3
HDD 1tb [CFW] & 640gb [OFW]/ HDD 640gb & OPL v0.92 w/ 1.5tb SMB