You cannot change the drive letter in Windows 98. Drive letters are allocated by Windows each and every time the computer boots in a set order. Primary partitions first followed by extended partitions and then removable drives.
Swapping cables around wont achieve much except perhaps stop your computer from booting altogether.
Really depends on if drive D and/or E are bootable partitions. You didn't provide enough information. If both drive D: and E: are optical drives (as many times they are), then that is simple to do. If drive D: and/or E: is hard disk drive or partition residing on hard disk drive, then not so easy.
iMac G5 1.8GHz "Hero" PowerPC 2 x 1GB DDR PC3200 SDRAM 160GB WDC WD1600JD-40GBB2 Mac OS X Leopard Version 10.5.8
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.