How to adjust the boot loader is a question specific to the boot
loader itself. If you were already using the FreeBSD boot loader, the
answer would be that you don't need to adjust it, but that you'd need
it installed on both disks.
You can do it best like this (please don't quote me on the exact names
of commands and locations, it's been a while since i installed it on
my Linux box, it has been running without a problem):
1) Make the D drive empty and temporarely do NOT use it as a swap
drive for Win95. So Drive D should be empty and formatted correctly
2) Go into Linux
3) In linux save the first few blocks (128K or so) from /dev/hda2 with
dd if=/dev/hda2 bs=512 count=256 | compress > /etc/hda2_copy.Z
4) Put in your rc.local a mkswap command (or what was it) for
/dev/hda2, and and swapon (or what was it)
5) Put the restore of the hda2_copy.Z file in the appropriate rc file
(don't remember which) so that it is executed when you shutdown the
system (i do that with CTRL-ALT-DEL).
Then Windows 95 will see an empty drive D on which to put its swap.
Linux will recreate its swap space each time it boots. It's is fast
If you want a permanent swap file tou should set that up first, then
save the file in Linux. You don't have to save more than 128K or so
because the contents of the Swap-file is not important information,
only the header containts some critical information.
I am using this mechanism for a shared swapfile between Windows 3.11