Error in attaching mdf file from a crashed server to a new server
In general if you have a crashed server and need to bring up your databases on a new server you want to restore from backup not copy and reattach the mdf files.  The crash could have caused corruption that will not exist in the backup.

You can restore your system databases as well although it isn't always recommended.  If you are going to you need to make sure your new system is as close to the old as possible.  Particularly the patching level for SQL Server.

If you do not have backups, and you absolutely have to have your system databases from the old server then you have two options.  You can either attach as a different dbname and copy information over (msdb and model only since it won't work for master).  Or you can tell your instance that the new location of the system database is actually the correct one.

So in your case you would copy the mdf &amp; ldf msdb files to your new server.  Again make sure your patching is the same as the old server.  Then follow the instructions in this link to "move" your msdb files.  In other words you are going to tell it that the files from the old server are actually the correct ones.  Once done you will need to re-start your new instance.  Then make sure you keep the original msdb files from the install just in case.

Of course the other way to "move" your msdb files is to shut down your instance, move/rename the installed msdb files and copy in your old msdb files making sure they are in the same location &amp; have the same name.  Then restart your instance.  If anything goes wrong you can simply move the installed msdb files back into place (while the instance is shut down) and try a different method.