- Connect the Windows 8.1 SSD to your motherboard's first SATA port (usually labeled SATA0 or SATA1).
- Connect the Windows 7 SSD to your motherboard's second SATA port.
- Connect your DVD drive to your motherboard's last SATA port.
- In your UEFI (BIOS) setup, make sure that the first SSD (Disk0, Windows 8.1) is the primary boot device.
- Insert your Windows 8.1 DVD, reboot, and press your UEFI's boot device selection hotkey repeatedly. When the boot device selection dialog comes up, select your DVD drive, making sure to choose from the UEFI section if given a choice.
- Reinstall Windows 8.1, removing all partitions from both SSDs when you get to the drive selection screen.
- Once Windows 8.1 is installed, open File Explorer and rename C:\ to "Windows 8.1".
- Open Power Options -> Choose what the power buttons do -> Change settings that are currently unavailable, and disable Fast Startup (very important to prevent disk corruption when dual-booting).
- Insert the Windows 7 DVD and reboot, following the same procedure as before to boot from the DVD drive. When you get Windows 7's installation drive selection screen, be sure to select "Disk1: Unallocated space", which is the other SSD. You should also see "Windows 8.1" as Disk0 with several partitions.
- When setup automatically reboots your computer, Windows 8.1 should ask which OS to load. Be sure to select Windows 7 so that setup can continue.
- Once in Windows 7, open Windows Explorer and rename C:\ to "Windows 7". D:\ should be "Windows 8.1" as labeled earlier.