Your QEMU command is almost correct, but the problem is here π
-cdromYou did not specify the ISO file, so QEMU has nothing mounted.
You also have three SolidWorks CDs, so you must mount CD1 first, then swap to CD2 and CD3 during install.
β Correct Command β Mount CD1#
Run this:
sudo qemu-system-i386 \
-machine pc,accel=kvm \
-cpu pentium3 \
-m 2048 \
-drive file=winxp.qcow2,if=ide \
-cdrom "SolidWorks 2004 SP0 CD1.ISO" \
-boot c \
-vga std \
-usb \
-device usb-host,vendorid=0x0781,productid=0x5567 \
-nic user,model=e1000 \
-monitor stdioπ When Installer Asks for CD2 or CD3#
Do NOT close QEMU.
In the QEMU monitor ((qemu)), type:
eject ide1-cd0Then change ISO:
change ide1-cd0 "SolidWorks 2004 SP0 CD2.ISO"Later:
change ide1-cd0 "SolidWorks 2004 SP0 CD3.ISO"β Alternative (clearer CD handling)#
You can explicitly define the CD drive:
-drive file="SolidWorks 2004 SP0 CD1.ISO",media=cdrom,if=ideInstead of -cdrom.
β οΈ Important Notes for SolidWorks 2004#
Since youβre installing on Windows XP in QEMU:
β 32-bit only β correct β Pentium III CPU is good β 2 GB RAM perfect β IDE disk correct β VGA std OK
π§ Quick checklist if SolidWorks doesn’t see USB#
Inside XP:
- Device Manager β Universal Serial Bus controllers
- Must show USB Mass Storage Device
If not, use the raw disk method instead of usb-host.
If SolidWorks setup fails or crashes, tell me:
1οΈβ£ Exact error message 2οΈβ£ At which CD it stops 3οΈβ£ Screenshot text (type it)
Weβll fix it π
Mount multiple Iso cdrom to vm#
Short answer: No β not with only one CD drive. But YES, you can mount all 3 ISOs at once if you add multiple virtual CD-ROM drives to QEMU π
SolidWorks 2004 was designed for physical PCs that sometimes had more than one drive, so this works fine.
β Run with 3 CD Drives (CD1 + CD2 + CD3)#
Use this command:
sudo qemu-system-i386 \
-machine pc,accel=kvm \
-cpu pentium3 \
-m 2048 \
-drive file=winxp.qcow2,if=ide \
-drive file="SolidWorks 2004 SP0 CD1.ISO",media=cdrom,if=ide,index=1 \
-drive file="SolidWorks 2004 SP0 CD2.ISO",media=cdrom,if=ide,index=2 \
-drive file="SolidWorks 2004 SP0 CD3.ISO",media=cdrom,if=ide,index=3 \
-boot c \
-vga std \
-usb \
-device usb-host,vendorid=0x0781,productid=0x5567 \
-nic user,model=e1000 \
-monitor stdioπ§Ύ What Youβll See in Windows XP#
Inside XP β My Computer:
- CD Drive (D:)
- CD Drive (E:)
- CD Drive (F:)
SolidWorks installer should automatically read them.
β οΈ Important Notes#
β’ Works only if the installer supports multi-drive detection (SolidWorks usually does) β’ IDE supports 4 devices per controller β weβre fine here β’ If one ISO isnβt read, installer may still ask you to browse manually
π‘ Alternative (cleaner bus layout)#
If QEMU complains about IDE slots, use:
-drive file="SolidWorks 2004 SP0 CD1.ISO",media=cdrom,if=none,id=cd1 \
-device ide-cd,drive=cd1,bus=ide.1
-drive file="SolidWorks 2004 SP0 CD2.ISO",media=cdrom,if=none,id=cd2 \
-device ide-cd,drive=cd2,bus=ide.2
-drive file="SolidWorks 2004 SP0 CD3.ISO",media=cdrom,if=none,id=cd3,bus=ide.3π Recommendation#
β Mounting all three saves time β Good for big multi-CD installers β XP + SolidWorks 2004 works fine this way
