Hi Michał, Maybe it get's confused from different DOS versions, like that Command.com files. You start with a Freedos command.com, but then load a Microsoft command.com subsequently. Therefor first you should change those DOS file locations to the correct Freedos ones. (that's that Display, country, *.cpi and keyboard lines). Also that c:\windows\command path should probably point to the Freedos directory.
Greetings from Bavaria, Germany Jürgen Wondzinski -----Ursprüngliche Nachricht----- Von: Michał Dec via Freedos-user <freedos-user@lists.sourceforge.net> Gesendet: Sonntag, 24. September 2023 22:50 An: Discussion and general questions about FreeDOS. <freedos-user@lists.sourceforge.net> Cc: Michał Dec <moog...@gmail.com> Betreff: [Freedos-user] Booting Windows 98 from FreeDOS Hello everyone, I wanted to boot Windows 98 from FreeDOS 1.3, because I would like to keep all things together without worrying about partitioning. So I actually have a block device backup of when Windows 98 was working on this computer. I've extracted the contents and focused on what does Windows 98 have in its autoexec.bat and config.sys files. So let's see autoexec.bat from Windows 98: SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND SET SOUND=C:\PROGRA~1\CREATIVE\CTSND SET MIDI=SYNTH:1 MAP:E MODE:0 SET BLASTER=A220 I7 D1 H7 P330 E620 T6 mode con codepage prepare=((852) C:\WINDOWS\COMMAND\ega.cpi) mode con codepage select=852 keyb pl,,C:\WINDOWS\COMMAND\keybdr4.sys Now, the config.sys from Windows 98: DEVICE=C:\WINDOWS\setver.exe device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1) Country=048,852,C:\WINDOWS\COMMAND\country.sys Combining this knowledge, I conceived this, but I'm not sure if this is correct. That's 7th entry from my FreeDOS fdconfig.sys: 7?DOS=HIGH 7?DOSDATA=HIGH 7?DEVICEHIGH=C:\WINDOWS\SETVER.EXE 7?DEVICEHIGH=C:\WINDOWS\COMMAND\DISPLAY.SYS con=(ega,,1) 7?Country=048,852,C:\WINDOWS\COMMAND\COUNTRY.SYS 7?SHELLHIGH=C:\WINDOWS\COMMAND.COM C:\WINDOWS /E:1024 /P=C:\AUTOEXEC.BAT /K=WIN.COM Apparently this doesn't work... kinda. It complains about UMBs, then I'm dropped into an interactive terminal. If I try to now run "C:\WINDOWS\COMMAND.COM C:\WINDOWS /E:1024 /P=C:\AUTOEXEC.BAT /K=WIN.COM", I get a barebones Windows 98 terminal. Still not there though. If instead I would have tried "C:\WINDOWS\COMMAND.COM C:\WINDOWS /E:1024 /P C:\AUTOEXEC.BAT /K=WIN.COM", I get stuck at "mode con codepage prepare=((852) C:\WINDOWS\COMMAND\ega.cpi)". Any ideas how this can be done and how to progress further? Best regards, Michał Dec _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user