-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows NT, 2000, XP - how to install them as guest? #3538
Comments
Make sure when installing Windows NT that the hard disk and CD-ROM drive are both imgmounted as IDE devices. -ide 1m for the hard drive, -ide 2m for the CD-ROM drive. Make sure there is enough memory. Windows NT 4.0 should have 16MB, Windows 2000 should have 32MB-64MB, Windows XP should have 128MB. I tested these OSes with a hard disk image that is 900MB, except Windows XP, which needed a hard disk image that was larger than 1GB. The disk was formatted FAT16. Windows XP was tested from a FAT32 partition on a 4GB hard disk image. All but Windows XP worked properly. Windows XP could never get OOBE to work and could never log in even as Administrator. |
As for OS/2 none of the versions I tried (from 1.0 through 4.0) were able to boot in DOSBox-X. Getting OS/2 to run is going to take more work. OS/2 1.0 to 2.x use their own protected mode drivers that talk directly to the floppy controller, however floppy controller emulation does not seem to work with whatever way OS/2 expects, which prevents OS/2 1.x and 2.x from even booting at all. |
I did not know that Windows XP is an operating system that could theoretically run in DOSBox. |
@BridgeHeadland there are step-by-step instructions on the wiki for installing Windows from 1.0 up to ME, and you can create them with a HDD size of your liking (within limits of the OS in question). Providing pre-installed versions is out of the question for me. Apart from the legality, there is also way to many possible variations. Apart from the Windows version, there is the language (English, French, German, Japanese, etc) and OS updates. And then people will want their favourite tools/utils pre-installed, etc. Or a different model video or sound card, which implies different drivers. Hopeless. |
@rderooy I tried to install Windows 98SE once while following the instructions, but still got some errors during the installation. I have always thought that I have misinterpreted the instruction, and I misinterpret things very often. I have never managed to install old Windows in DOSBox anyway, nor do I know any computer experts who are available to me 24/7 and who can help me. |
Can you give a configuration file that can start win2000 or xp? |
I know some XP compatible games support Dolby Digital 7.1 (and maybe higher too), but do Windows XP and DOSBox-X support Dolby Digital 7.1? |
Windows NT versoins, such as XP are not supported at this point. You are on you're own if you want to try it. And no, DOSBox-X does not support any kind of surround-sound. Only regular Stereo. |
@rderooy Will it ever be fixed? I just did some research, XP supports Dolby Digital and so do the games that are compatible with XP. Even Windows 9x supports Dolby Surround. |
I left my crystal ball in my other pocket. This is a community project, not a commercial software product. It could be added, if there is a developer who wants to develop such a feature for DOSBox-X. |
I have yet to install or own Windows XP for DOSBox-X, and besides, I know that the Windows 32-bit versions of DOSBox-X can run in Windows XP. Does that mean that one can run a Windows 32-bit version of DOSBox-X in XP, which in turn runs in DOSBox-X (any version, or some of them)? |
I tried using imgmount with -ide 1m for the hard drive, -ide 2m for the CD-ROM drive. Using DOSbox-X SDL1 MinGW64 2022-11-20 "artifact". Those got me to:
What should I do differently?
Now a few more oddities and questions:
|
Win 2003 R2 SP2 - outcome similar to WinXP: When mounting as drive number:
But then I don't see how to boot from it. When mounting as driver letter - CD-ROM contents are accessible from the drive letter, but then:
Can DOSbox be made to recognize the bootable part of WinXP/2003 CDs? Also why "Could not extract drive geometry from image." appears only when mounting as number? D drive when mounted as letter works, files are accessible. Next attempt - IMGMOUNT as A/C/D a Win98 floppy (MS-DOS 7.10, MSCDEX, etc.), VHD image, the Win 2003 ISO - "Reboot guest system" - same thing happens. LOG shows some errors while booting DOS:
Next - started DOSbox with:
Used menu Drive \ D \ Boot from drive -> drive not bootable
Why is that dependent on the CPU cycles? "Reboot guest system" - stuck at:
Those "using level" message increase the number every time I click outside DOSbox and then back onto its window. Next attempt - IMGMOUNT as A/C/D a Win98 floppy (MS-DOS 7.10, MSCDEX, etc.), VHD image, the Win 2003 ISO
Wow... and now while I was copying that from the LOG - setup proceeded by itself! The yellow bar and percentage and file copying. Reached the following (without new LOG entries): Now I'm at about 23% yellow bar, but too many "skip file" to press... I doubt Windows will boot with so many missing files. Maybe I should try instead:
|
Also interesting - blue background color looks different:
RGB values taken via Sniping tool and then Paint. |
https://dosbox-x.com/wiki/Guide%3AManaging-image-files-in-DOSBox%E2%80%90X#_mounting_harddisk_images In my attempts so far CD images for me are bootable in VirtualBox, but not in DOSbox-X. So I run WINNT or setup from DOSbox shell or guest MS-DOS floppy. As you can see above - no success, so I'm interested what you'll get. |
There are multiple ways to create bootable CD images, not all are supported in every environment. This was even true of real PCs back in the day, as the PCs BIOS may not support every CD boot option. In particular DOSBox-X only supports bootable CD images that use the "virtual floppy" method, as used by select OEM versions of Windows 9x/ME. |
I found this article explaining the journey to install XP as guest: |
Fantastic! I'll try as well (install Win98SE, upgrade it to Win2000 Update Rollup, upgrade that to WinXP). I think WinXP emulation will become relevant, because hypervisors will lose support for 32-bit operating systems and 16-bit applications when x86-S CPUs become a reality. To preserve software not running on Win9x and not running on 64-bit Windows (e.g. XP games using a 16-bit installer or something else missing in Vista+) Intel recently announced also APX (adding 16 extra general purpose registers). Also, the x87, MMX, and 3DNow! instruction sets are already deprecated in 64-bit modes - thus it's likely CPUs will lose support of those if AVX gets quad-precision floating point support (to cater for the software that needs 80-bit x87). x86-S, APX and a hypothetical AVX-FP128 together would make a sensible cut-off point for CPUs/Windows to move forward. Does somebody know a place listing the software potentially affected?
|
@Torinde I want to confirm that I tried to upgrade to Windows 2000 from Windows ME, because WME is better than W98SE, but that's my opinion. It looked like it didn't work. In a couple of hours or so, I'll install Windows 98SE onto a VHD file, to see if I have better luck upgrading to W2K then, W2K actually came between W98SE and WME after all. On the other hand, there is probably something I have misunderstood during the tutorial that SuperPat45 has linked to, the thing about upgrading from 9x to NT is actually very new to me. |
After a long time it has succeeded for me to install Windows 2000, from Windows ME, it obviously takes a long time to start up this NT-Windows for the first time. The memory size is 128, the core is at normal, and the CPU type is Pentium MMX. Could the reason why Windows 2000 takes a long time to start up be because of the values I mentioned, or could it be because the VHD file is 16GB? Is there anyone who knows? |
I test installation using the MS-DOS based initial install program in I386/, you don't have to install from Windows. Make sure you have a formatted hard disk image mounted as drive C: for it to install to. You may use FAT32 only if installing Windows 2000 or higher, older Windows NT systems cannot handle FAT32. |
@joncampbell123 Wow! Can you describe the configurations during the installation? There is nothing in the wiki about how to install Windows 2000 in DOSBox-X. |
Windows Server 2003 Small Business runs fine with the Pentium Pro as well. |
Turns out I could use xp_activate32.exe in Windows Server 2003 anyway, I obviously had to slow down the cycles. Another thing is 8140000 was an rdtsc rate value, not a cycleup value, I felt I had to correct myself there. |
DOSBox-X by default follows DOSBox SVN behavior regarding RDTSC. Whatever cycle count you use is the time base of the RDTSC instruction. In DOSBox SVN, changing cycle count can cause the RDTSC timestamp to wildly jump forwards or backwards which can really screw with anything using it as an absolute time stamp, including Windows XP. DOSBox-X has code so that changing the cycle count at least prevents it from going backward, it's just visible then as a clock that has changed tick rate. If a constant TSC is required, there is a dosbox.conf option to set one. DOSBox-X will then use that constant as the RDTSC time base instead regardless of cycle count. |
@BridgeHeadland, I doubt problems are due to lack of internet, but what's preventing XP/2003 from going online? |
@Torinde There is nothing that prevents XP/2003 from going online, it's just that I don't have perfect knowledge of things related to hardware, software and the internet, which again is the reason for not being able to use the internet in DOSBox. I'm not even able to use the internet in Windows 9x or any other kind of Windows, I barely know how to even begin to be able to play Doom, Wacky Wheels and Duke Nukem 3D against others over the internet in DOSBox, otherwise I would I used the internet in DOSBox-X 24/7. 🙂 I thought about it a bit and realized that installing Service Pack 1 and 2 for WS2K3 doesn't require internet after all. The first thing I did was to install Service Pack 2 in Windows Server 2003 Small Business, which did not have Service Pack before, during the extracting the files needed to install SP2, Windows crashed with Blue Screen - 0-0000000A -, I don't know what file caused DOSBox-X to react, but Delayed Write Failed error obviously wasn't, I mean, because SP2 is too much compared to SP1, that's obviously also the reason why I couldn't install the Datacenter Edition, or other versions with SPx, without Blue Screen crashes. |
I found that starting Windows Server 2003 with Service Pack 1 installed (apparently around 99.9%, according to my poor calculations), in DOSBox-X as of today, will cause the boot of the mentioned operating system to appear for a tiny while, and that a Blue Screen with PFN_LIST_CORRUPT error will suddenly appear, for a tiny while there too, then the virtual machine (DOSBox-X of course) will restart by itself. |
@BridgeHeadland, screenshots will be even more impressive if you make them on your host, so that the "outer" DOSbox is also visible - show Win10 with DOSbox window with XP running in DOSbox and inside that XP, another DOSbox, also with XP, etc. Of course, I assume performance in the second level DOSbox will be abysmal, but it's nice to see it works, however slowly! As for Service packs. What is known so far:
It seems you have success with:
Then the further tests to do are:
I have seen no reports/evidence that any of those XP/2003 Service packs requires any SSE. Obviously, something in the Service packs may be troublesome for DOSbox (or the settings you use), but I doubt that's related to SSE. |
@Torinde Until now I have successfully installed Windows XP Media Center Edition 2005 SP2, and Windows Server 2003 Small Business SP0. |
@BridgeHeadland, OK, so my comment (and links therein) shows that "some updates after SP3 require SSE2, specifically updates from 2018/2019 - way after SP3 or any of the XP/2003 release dates". XP/2003 service packs themselves don't require any SSE (per what I know so far). 2003 Standard edition definitely supports 2003 SP1/SP2 (not XP SP1/SP2/SP3) - I don't know if there are different Service packs for Standard edition vs Small Business, but I think it's better to do tests on the Standard edition. If 2003 Standard crashes after installing "SP1 for 2003 Standard", then it's worth to try a fresh installation of 2003 ISO that has SP1 integrated/slipstreamed. As you have XP MCE 2005 installed in DOSbox-X - this proves XP SP2 works in DOSbox-X. Please make a backup of the MCE DOSbox installation and then try installing SP3 on top of it. Separately you may try installing on top of MCE2005 first the "MCE 2005 Update Rollup 2" and then SP3. Also, the service pack numbering is different for 2003 and XP, e.g.
|
@Torinde I've tried various updates for Windows XP, also "MCE 2005 Updates Rollup 2". It's KB898461, which according to catalog.update.microsoft.com is from May 27, 2008, which is the last update that can be installed in Windows XP Media Center Edition 2005 today, if run with DOSBox-X (later updates appear to be corrupt, which I have no faith in), and unfortunately SP3 cannot be installed after installing said update. KB2749655 should probably be the last update that doesn't require SSE2, if the sources are correct, so it should actually be possible to install it with just SSE, I should think. I don't know why I can't update WXP with updates after KB898461, maybe SSE and/or Pentium 3 are not complete, maybe it's something else. According to WXP, the Pentium 3 in DOSBox-X is a Xeon processor. I don't know if Pentium 3 also exists in other processors, if it does, maybe there are better processor alternatives with Pentium 3, now I'm not an expert on exactly such things, unfortunately. Edit: Here is more TXT files and updated SchedLgU and WindowsUpdate. |
That will be up to July 2018, so after KB2749655
SSE exists in other processors, yes. And I don't think the problems you encounter with Service packs are related to SSE or Xeon vs P3. So, two paths for further testing:
|
@Torinde I simply tried the Legacy Update, I thought I would find the answer to the update issues this way. I started Legacy Update, and got the message that Service Pack 3 could not be installed. That came as no surprise, because all the other times I tried to install Service Pack 3 was via the installation file, which caused Windows XP and DOSBox-X to crash. I tried several methods to update Windows XP via Legacy Update without Service Pack 3, but was told that the Windows Update Agent failed to download. The server name or address could not be resolved (12007). |
Maybe you should open a Discussion/Issue question specifically about that - hopefully somebody can give hints there. Some generic advice about installing updates, restarting, etc. Can you try "Windows XP Professional with Service Pack 3 (x86) - CD VL (English)" from here? |
@Torinde I have read through the generic advice link. Judging by the title, someone had trouble updating KB898461, which I can't see being related to my problem. Updating to KB898461 I manage to update without problems, also with DOSBox-X. Based on the link, the problem was that KB898461 had already been updated/installed already. A problem has been detected and Windows has been shut down to prevent damage to your computer. The last four digits are actually four out of eight digits, the rest have unfortunately been "wiped" away. |
I just ran CHKDSK using the "CHKDSK /F" command in Windows XP, restarted Windows XP, then ran CHKDSK, and extracted Service Pack 3 again, without crashing this time. I was just about to start Service Pack 3, when I got Service Pack 3 Setup Error. I didn't get to press Print Screen, because DOSBox-X crashed and terminated itself, but I secured the message. It said "This Service Pack requires the machine to be on AC Power before setup starts.", and the ACPI is not complete yet, because it is experimental. |
That's why I said "generic advice" - I think the ideas mentioned at the link are generic and may be applicable for any update problem, not only for KB898461. Also, yes, I think making a fresh installation of regular XP with integrated SP3 is a good next step. MCE2005 has additional things inside, which we would like to isolate first.
DOSbox-X supports APM, the predecessor to ACPI, which also deals with AC Power signal, I think. In some of your screenshots above XP/2003 is on battery power (batter icon in the taskbar tray) and in others - on AC power (plug icon). Do you change some .conf setting or setting in XP/2003 or it's just taking that from your host? Are you using a laptop (or desktop via UPS)? Just to be sure, plug it in. |
I don't know what's going on, I've really thought about it a lot, it's like sometimes the battery icon appears, and other times the plug icon appears. I don't do anything special in the Windows XP guest system or in the configuration. It didn't take long between each time I tested the flexibility of DOSBox-X to see if DOSBox-X can be run in Windows XP, which runs in DOSBox-X. When I tested the integrated DOS, the plug icon appeared, when I tested games, where Doom was a natural choice, since it has always been a thing among Doom fans (like me) to test whether it is possible to running Doom in weird and peculiar ways that are untested, no icon appears at all, and when I tested Windows XP itself, the battery icon appeared. I think this thing with random icons comes from the host system (Windows 11 Pro), as far as I know, I don't do anything in the host system that is related to power. What was it supposed to be? Edit: Here is my AP Power releated config. acpi = 6.0 |
Hopefully @joncampbell123 or somebody else can chime in. Maybe they can advise what debug log may help to understand the problem. Here's what I find: IRQL_NOT_LESS_OR_EQUAL
PFN_LIST_CORRUPT
And least for the PFN error - it may be worth to try with the smallest HDD image you can, try with both FAT and NTFS, try installing on pre-formatted image (formatted by IMGMAKE, formatted by VHDMAKE, formatted by FORMAT in DOSBox, formatted by FORMAT in MS-DOS booted in DOSbox, formatted by FORMAT in MS-DOS booted in VirtualBox/elsewhere, formatted by your host as FAT, formatted by your host as NTFS), try with formatting the image in Windows setup. What CPU, RAM, HDD are you using inside DOSbox? Also I wonder if DOSbox-X supports the watchdog timer required for Win2003 - probably yes, since you can install the initial release. |
@Torinde The smallest HDD image (VHD) I could was 1.5 GB (1536 MB), even then I got a BSOD, I can't format the file system to FAT32 or to NTFS because the BSOD appears when the process is about to start, which is before I could format it. I have recently tried to install Windows Server 2003 with SPX in a preformatted VHD file - fixed - created with DOSBox-X, like last autumn, this time I also got BSOD. Here is the full final CPU section layout I usually use to install WS2K3 with PSX: Here are the values I usually set when it comes to memory: The HDD I'm using is a raw 31.25GB (32000MB) dynamic VHD file, created with Disk Manager in Windows 11 Pro. I have also tried fixed VHD file, which otherwise is similar to the VHD I usually use. |
RAM
HDD ~5GB and for sure less than 8GB CPU
HDD images to try:
vmemsize = 8
|
@Torinde The reason I'm running Windows XP and Windows Server 2003 at 3800000 cycles is because that's the lowest hertz I know of that allows the aforementioned operating systems to run with a Pentium 3 via DOSBox-X, 3800000 is equivalent to 3.8 Ghz - in Windows NT 5.x context as far as I know, I've tried running WXP with 3600000 (3.6 Ghz) cycles and Pentium 3 a little while ago and it crashed, but with Pentium 2 it worked ok with 3600000 cycles. I have set the RDTSC rating to 1400000 (1.4 Ghz), which is the highest hertz a real P3 can run, according to Wikipedia. Edit: I just tried to install Windows Server 2003 Datacenter Edition with Service Pack 2 in a VHD file, which I formatted in MS-DOS 6.22 with VirtualBox, it crashed with BSOD with 0x0000004E again. |
@BridgeHeadland, now that you are at SP3, can you please check how much forward you can reach with updates? With the POSready registry you should be able to get to July 2018. Then it's interesting to see the error message the August 2018 update will give. |
The mainboard from the video with Pentium 4 has three ISA slots: |
I have come across this website - https://www.ibm.com/support/pages/bsod-check-code-microsoft-windows-server-2003-ibm-system-x - which looks like an explanation of why I cannot install any Service Pack for Windows Server 2003, or said operating system with any Service Pack included. So far I have been able to install any version of Windows Server 2003, even the Datacenter Edition, but only without the Service Pack. Microsoft Windows Server 2003 (any release) operating system, installed on the local storage subsystem, which is controlled by the ServeRAID M1015 SAS or SATA controller, alternative part number 46M0831, may result in Bug Check during heavy workloads such as heavy I/O, including file copy operations . In the event of the failure, the operating system will unexpectedly reboot or crash, presenting the user with the blue screen with one of the following stop errors: 0x000000de 0x0000004e 0x000000d1 0x0000000a In my case the stop error is 0x0000004e, at least the last few times. I already know that DOSBox-X emulates IDE controllers, just that the IDE emulation is generic, not emulating the details of the real IDE motherboard chipsets. The system can be one of the following IBM servers:
System x3200 M3, type 7327, any model
System x3200 M3, type 7328, any model
System x3250 M3, type 4251, any model
System x3250 M3, type 4252, any model
System x3400 M3, type 7378, any model
System x3400 M3, type 7379, any model
System x3500 M3, type 7380, any model
System x3550 M3, type 7944, any model
System x3620 M3, type 7376, any model
System x3630 M3, type 7377, any model
System x3650 M3, type 7945, any model Whether DOSBox-X emulates one of these servers, or none of them, I know nothing about. ServeRAID M1015 SAS or SATA Controller, Alternate Part Number 46M0831, Spare Part Number 46M0861 It wouldn't surprise me if DOSBox-X emulates one or both part numbers. If one cannot select part number(s) options in configuration, we should be able to do so in a future build. Solution
It is possible to minimize the chance of encountering these Windows blue screen control codes by taking the following actions:
Ensure that firmware v20.10.1-0036 (or later) and device driver v4.35 (or later) are used for the IBM ServeRAID M1015 SAS or SATA controller.
The files are available by selecting the appropriate product name, product machine type, and operating system on the IBM Support Fix Central web page, at the following URL: https://web.archive.org/web/20110121223641/http://www-933.ibm.com/ support/fixcentral/systemx/groupView?query.productGroup=ibm%2FSystemx .productGroup=ibm%2FSystemx
Ensure that the following Windows updates, covered in the Microsoft Knowledge Base articles, are applied to the operating system:
957910 - "A Windows Server 2003 Service Pack 2-based Internet Small Computer System Interface (iSCSI) boot server cannot generate dump files if the server uses a Storport virtual miniport as the Logical Unit Number (LUN) controller. http://support.microsoft. com/KB/957910 (Can't find it on the Wayback Machine)
981166 - "Some data is corrupted when cached and uncached I/O operations occur using the same NTFS file handle". http://support.microsoft.com/KB/981166 (Can't find it on the Wayback Machine)
2280732 - "You receive Stop error message 0x000000CD or 0x00000019 on a computer running Windows Server 2003 when corrupt registry hive files are loaded". http://support.microsoft.com/KB/2280732 (Can't find it on the Wayback Machine) I don't know which product from the list to use in DOSBox-X's case. What I'm wondering now is if it's already possible to configure DOSBox-X like that to avoid BSOD, also maybe not need to perform these actions above. |
Question
Version 0.84.0 among other things "fixes problems with the IDE driver in Windows NT 4.0, Windows 2000, and Windows XP and allows them to boot properly"
At NOTES there are mentioned:
My attempts with 0.84.0 are unsuccessful so far. Following the NOTES files, after first installing MS-DOS 6.22 I ran "WINNT.EXE /b" from an NT4 ISO and setup finished properly - but on first boot I got a crash:
From what I see floppy emulation is still missing (#3436), correct? So, it's either via MSDOS and WINNT.EXE /b - or via CD.ISO boot, correct?
I get "El Torito bootable floppy not found" when trying "imgmount a -bootcd d" - for ISOs of NT4, 2000, ReactOS, Vista. Strangely OS/2 4.52 ISO was accepted as bootable, but crashes:
Haven't tried NT3.1, NT3.5 and XP yet.
After mounting some of the CDs and looking inside DOSbox finds only a README.TXT file stating 'your OS needs to support UDF', 'your OS needs to support Joliet' - not sure if I do something wrong? would be nice if DOSbox-X can read those directly.
Will there be guide(s) added to the wiki about those? @rderooy
Have you checked that no similar question(s) exist?
Code of Conduct & Contributing Guidelines
The text was updated successfully, but these errors were encountered: