Detached database with renamed drive
Specify the path for every database file (including ldf file) and SQL Server will not look for the original path. If the GUI does something strange, then use the CREATE DATABASE ... FOR ATTACH directly (examples in the product documentation, for instance).