utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.59k stars 1.33k forks source link

Put Windows 3.x/9x VMs in the Gallery #4159

Open KendrickLamar2003 opened 2 years ago

KendrickLamar2003 commented 2 years ago

Every time I try to make a Windows 98 VM in UTM, I just so happen to mess up something while trying to install the drivers. This does not have to do with UTM or QEMU itself, I just want Windows 9x VMs with all the necessary drivers to make life easier for me and probably many other people.

freebrowser1 commented 2 years ago

Isn't it just installing a Windows 3.x or Win95 ISO as bootable (MBR, not EFI) ?

KendrickLamar2003 commented 2 years ago

On Fri, 24 Jun 2022 at 11:02 PM freebrowser1 @.***> wrote:

Isn't it just installing a Windows 3.x or Win95 ISO as bootable (MBR, not EFI) ?

— Reply to this email directly, view it on GitHub https://github.com/utmapp/UTM/issues/4159#issuecomment-1165895087, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUYJTDRPIYOVS66XJHXIAQDVQYH35ANCNFSM5ZXUCTPQ You are receiving this because you authored the thread.Message ID: @.***>

Windows 3.1, I don’t think it needs drivers. But 95 and 98 do support the Realtek network card, which isn’t available in Windows by default. I believe Windows 95 doesn’t support the Cirrus graphics card, so there might be drivers for that too. Other things like .NET Framework support and IE 5 could be included in the gallery VM.

ThatStella7922 commented 2 years ago

Good suggestion, however the devs would ideally like to keep any copyrighted material out of the gallery, to prevent any rights issues.

While Windows 98 and 3 are abandonware, they are still owned by Microsoft and thus still copyrighted property.

KendrickLamar2003 commented 2 years ago

But they are like 3 decades old. And if WinWorld and many other archives hosts mirrors for them without any issue, then the devs could do the same thing. It's like saying: "An MS-DOS VM cannot be published because while it is abandonware and no longer supported, it's owned and made by Microsoft, so we can't do that!"

ThatStella7922 commented 2 years ago

Yes, however keeping copyrighted material out of the gallery is the choice of the devs. Discussion about this has happened previously in the UTM discord server in the past.

KendrickLamar2003 commented 2 years ago

Huh. Well that just ruins my entire suggestion.

ThatStella7922 commented 2 years ago

The gallery currently offers some Windows versions (even Windows 11) but those are just templates with preconfigured configs which require you to acquire and install from your own install media.

It does not contain disk images of copyrighted installed OSes

There can certainly be a Windows 3.1 and 95 template, but I’d say having pre installed Windows images with drivers installed for convenience is out of the question.

KendrickLamar2003 commented 2 years ago

If the devs can put macOS 9 and Solaris 9 VMs in the gallery and those OSes are directly installed in those VMs, then they can do the same thing with Windows 3 and 9x. Plus, Solaris is from 2002 and macOS 9 is from 1999. They can do the same thing with an OS from 1998 or 1995.

ThatStella7922 commented 2 years ago

Yep, leave it open. The dev was willing to put OS 9 and Solaris in there, maybe others. (I’m not a dev just a community member that hangs around)

DavidCWGA commented 2 years ago

I have made a prototype Windows 95 image available here: https://archive.org/details/windows-95-for-utm

It does not currently support automatic mouse capture because of #4168 , and you have to be careful to never tell Windows to restart, always shutdown and then start it up again. But otherwise it seems to work quite well.

I'm making a 98 image too, it's not done yet.

KendrickLamar2003 commented 2 years ago

Is the image RTM or OSR2.x?

DavidCWGA commented 2 years ago

It is 2.5, otherwise known as "C", however I aborted the usually automatic upgrade to IE4, so it comes with IE3 and without the new shell. If you want IE4 and the new shell, there's a shortcut to the installer on the desktop.

DavidCWGA commented 2 years ago

Here is Windows 98, same caveats as Windows 95, and to be considered experimental at the moment. https://archive.org/details/windows-98-for-utm

KendrickLamar2003 commented 2 years ago

Strange. When I restarted Win95, it rebooted perfectly fine. Could be an issue on your end.

DavidCWGA commented 2 years ago

That's good to hear!

KendrickLamar2003 commented 2 years ago

Why is the hard drive only 1 gigabyte?

DavidCWGA commented 2 years ago

1 gigabyte was huge back in the days of 95 and 98! (And 95 doesn't support disks more than 2GB, anyway.)

You should be able to add a second virtual hard drive without any problems if you want more space. It will have to be 2GB or less, though.

KendrickLamar2003 commented 2 years ago

Meh, makes sense. But I am skeptical about 1 gigabyte being huge back in the 95 and 98 days.

KendrickLamar2003 commented 2 years ago

95 makes sense, but 98.... meh. But I am getting off-topic, so it doesnt really matter.

KendrickLamar2003 commented 1 year ago

Hmm. It seems like suggestion didn't go anywhere. I think I will start my own repo for pre-configured and preinstalled VMs. May I use your VMs, David? (I will credit you, ofc.)

DavidCWGA commented 1 year ago

I suppose so, but it is likely they will need to be updated when 4.0 gets out of beta. I'll post updates to my archive.org page.

OliverUrbann commented 1 year ago

When I start this machine I get "While initializing devios IOS: Windows protection error. You need to restart your computer."

DavidCWGA commented 1 year ago

Yep, a recent version of UTM seems to have broken it. I don't know why yet. If I figure it out I'll post an update.