Not done it in a while, but it's possible to restore master as a user database. So you could restore it as "master_restore" script out and reply what you need into the real master database. As I say, not tried it in years so may/may not be a viable option and cant remember if I did that on a 2005 to 2005 restore or a different version restore.
Further to that, is the choice of 2008. Remember that 2005/2008/2012/2014 are all out of mainstream support, so if you don't have an Enterprise Agreement or enhanced support rights with Microsoft you really want to be looking at installing 2016/2017/2019. If you do have an EA or Support then 2012 or above.
2005/2008/2008R2 shouldn't be used any more as they are now fully unsupported versions.