boot.ini is a hidden file. it should be on c o d root. if booting with dos make
attrib -s -h boot.ini
if that returns without error, you found it.
boot.ini looks like (dont know sure for w7 but have w7 currently not available)
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
the above means only one drive and 1 partition (c:).
i assume you have disk(1) or rdisk(1) or partition(2) what might be the reason for the d drive shown when repairing.