1

Right now I'm trying to install Battlefield 2 from CD-ROM on my Linux computer (I know Battlefield 2 is a little old now but I couldn't care less). Of course, it needs to be run under Wine, and luckily for me Wine isn't the issue yet. The issue is that once the installer asks for Disk 2 to be inserted, it doesn't get detected. I know pretty confidently that the issue is that the second disk just isn't being recognized as a new disk somewhere in the kernel which causes big problem and that the issue is that the disk isn't being unmounted properly, but I can't unmount the disk properly, since that would require that the installer gets killed. I tried a bunch of AHCI and SCSI tricks, but to no avail. If lsblk can tell the disk is different, there should be a way to tell unaware parts of the system about it, but I'm not sure how. Help pls

2
  • 1
    Dump the disks as images, mount them as images (-o loop). Commented Oct 31, 2022 at 6:09
  • 1
    Does this help? appdb.winehq.org/… there's a detailed installation guide which addresses the multi-cdrom problem Commented Oct 31, 2022 at 6:30

1 Answer 1

1

Wine has a wine eject command to address this. When it's time to switch disks, simply fire up another terminal and wine eject, then plug in the second disk.

It is noteworthy that the appropriate $WINEPREFIX must be set for this command to work properly.

1
  • I didn't read about this, I'll have to try it when I get back home! I'll get back to you soon
    – inzig0
    Commented Oct 31, 2022 at 18:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .