{"id":7490,"date":"2026-11-10T17:33:11","date_gmt":"2026-11-10T17:33:11","guid":{"rendered":"https:\/\/www.canaldelasrecetas.com\/cms\/retro-proxmox-dos-w311-en\/"},"modified":"2026-11-14T09:33:03","modified_gmt":"2026-11-14T09:33:03","slug":"retro-proxmox-dos-w311-en","status":"publish","type":"post","link":"https:\/\/www.canaldelasrecetas.com\/cms\/retro-proxmox-dos-w311-en\/","title":{"rendered":"MS-DOS 6.22 and Windows 3.11 in Proxmox and in DOSBox-X: a disk built from Linux and four pitfalls"},"content":{"rendered":"<style>\n.rb-lang{font-size:.9em}\n.rb-serie{font-size:.9em;background:#f4f1ea;border-radius:8px;padding:.6em 1em}\n.rb-anuncio{border:2px solid #cc1500;border-radius:10px;padding:1em 1.2em;margin:1.8em 0;background:#fffaf2}\n.rb-anuncio .rb-et{font-size:.75em;letter-spacing:.08em;text-transform:uppercase;color:#8a6a4a}\n.rb-anuncio img{vertical-align:middle}\n.rb-post figure{margin:1.2em 0;text-align:center}\n.rb-post figure img{max-width:100%;height:auto;image-rendering:pixelated;border:1px solid #ccc}\n.rb-post figcaption{font-size:.85em;color:#6a5a4a}\n.rb-post pre{background:#1e1e1e;color:#e8e8e8;padding:1em;border-radius:8px;overflow:auto;font-size:.85em}\n.rb-bajar{display:inline-block;background:#1f6feb;color:#fff!important;padding:.6em 1.1em;border-radius:8px;font-weight:700;text-decoration:none}\n.rb-tg{display:inline-block;background:#229ed9;color:#fff!important;padding:.5em 1em;border-radius:8px;font-weight:700;text-decoration:none}\n<\/style>\n<p class=\"rb-lang\">\ud83c\udf10 <a href=\"https:\/\/www.canaldelasrecetas.com\/cms\/retro-proxmox-dos-w311-es\/\" hreflang=\"es\">Leer en espa\u00f1ol<\/a><\/p>\n<div class=\"rb-post\">\n<p>Before Windows 95 there was <strong>Windows 3.11<\/strong>, started from <strong>MS-DOS<\/strong>. The series needed it at hand. We had two pieces: the <strong>MS-DOS 6.22<\/strong> boot floppy and a C: drive with Windows 3.11 <strong>already installed<\/strong>, with its 1995 internet programs (Netscape, Eudora, mIRC, Trumpet Winsock). With them we built two things:<\/p>\n<ul>\n<li><strong>a Proxmox VM<\/strong> with real MS-DOS, so everything behaves as on a PC of the time;<\/li>\n<li><strong>a zip and a script for DOSBox-X<\/strong>, to run it on any Linux without Proxmox.<\/li>\n<\/ul>\n<h2>The disk, built from Linux<\/h2>\n<p>Instead of installing by hand from floppies, the <code>dos_w311.py<\/code> script builds the whole disk from Linux:<\/p>\n<ol>\n<li>It copies the C: drive <strong>without personal data<\/strong>: it removes Netscape&#8217;s history and cookies, the Eudora mailbox and the <code>.PWL<\/code> passwords, and adds the MS-DOS floppy&#8217;s utilities in <code>C:\\DOS<\/code>.<\/li>\n<li>It creates a <strong>500 MB<\/strong> disk with the geometry <strong>1015 cylinders, 16 heads, 63 sectors<\/strong>. Below 504 MB the BIOS translates nothing, so DOS sees the disk the same way in QEMU as on a real PC.<\/li>\n<li>It gives it a <strong>FAT16<\/strong> partition with <code>sfdisk<\/code> and <code>mkfs.fat<\/code>, and copies the files with <strong>mtools<\/strong>, without mounting anything.<\/li>\n<li>It prepares a copy of the MS-DOS floppy that, on boot, runs <code>FDISK \/MBR<\/code> and <code>SYS C:<\/code> by itself to make the disk bootable.<\/li>\n<\/ol>\n<figure><img decoding=\"async\" src=\"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-dos-w311-vm133-d8.png\" alt=\"The floppy makes C: bootable without asking\" loading=\"lazy\" title=\"MS-DOS 6.22 and Windows 3.11 in Proxmox and in DOSBox-X: a disk built from Linux and four pitfalls\"><figcaption>The floppy makes C: bootable without asking<\/figcaption><\/figure>\n<h2>Four pitfalls<\/h2>\n<p><strong>1. SYS scrambled the directory.<\/strong> On the first boot, CONFIG.SYS gave <em>&#8220;Unrecognized command&#8221;<\/em> on almost every line.<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-dos-w311-vm133-d2.png\" alt=\"Errors in CONFIG.SYS\" loading=\"lazy\" title=\"MS-DOS 6.22 and Windows 3.11 in Proxmox and in DOSBox-X: a disk built from Linux and four pitfalls\"><figcaption>Errors in CONFIG.SYS<\/figcaption><\/figure>\n<p>Reading the disk from Linux showed that <strong>CONFIG.SYS held AUTOEXEC.BAT&#8217;s contents<\/strong>. MS-DOS needs <code>IO.SYS<\/code> and <code>MSDOS.SYS<\/code> to be the <strong>first two entries<\/strong> in the root directory. Since the disk was already full, <code>SYS C:<\/code> forced them in and moved other entries around. The fix is to copy <code>IO.SYS<\/code>, <code>MSDOS.SYS<\/code> and <code>COMMAND.COM<\/code> <strong>first<\/strong> and everything else after. That way <code>SYS<\/code> only rewrites them in place.<\/p>\n<p><strong>2. &#8220;Too many parameters&#8221;.<\/strong> <code>WIN.BAT<\/code> came with Unix line endings (LF only). <code>COMMAND.COM<\/code> read it as <strong>a single line<\/strong>: <code>PATH \u2026<\/code>, <code>SET \u2026<\/code> and <code>WIN.COM<\/code> all together. The script converts every <code>.BAT<\/code> and <code>.INI<\/code> that needs it to CRLF.<\/p>\n<p><strong>3. &#8220;Cannot run Windows because of video device conflict&#8221;.<\/strong> That copy of Windows was set up with the <strong>S3 Trio64<\/strong> driver, the card DOSBox emulates. QEMU doesn&#8217;t emulate it, so the VM uses the standard <strong>VGA<\/strong> driver (640\u00d7480, 16 colours): <code>display.drv=vga.drv<\/code>, <code>386grabber=vga.3gr<\/code> and <code>display=*vddvga<\/code> in <code>SYSTEM.INI<\/code>. DOSBox-X keeps the S3, at 800\u00d7600 with 65 thousand colours.<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-dos-w311-vm133-d5.png\" alt=\"The video conflict with the S3 driver\" loading=\"lazy\" title=\"MS-DOS 6.22 and Windows 3.11 in Proxmox and in DOSBox-X: a disk built from Linux and four pitfalls\"><figcaption>The video conflict with the S3 driver<\/figcaption><\/figure>\n<p><strong>4. Trumpet Winsock wanted a modem.<\/strong> The StartUp group opened Trumpet Winsock, which looked for a modem on COM1, plus a welcome text. Without a network that makes no sense, so <code>PROGMAN.INI<\/code> names a startup group that doesn&#8217;t exist (<code>Startup=(ninguno)<\/code>), and nothing starts by itself.<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-dos-w311-vm133-d7.png\" alt=\"Trumpet Winsock looking for the modem\" loading=\"lazy\" title=\"MS-DOS 6.22 and Windows 3.11 in Proxmox and in DOSBox-X: a disk built from Linux and four pitfalls\"><figcaption>Trumpet Winsock looking for the modem<\/figcaption><\/figure>\n<p>With that, MS-DOS boots, loads <code>HIMEM<\/code>, <code>EMM386<\/code> and the mouse, and goes straight into Windows:<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-dos-w311-vm133-d9.png\" alt=\"Program Manager in the VM\" loading=\"lazy\" title=\"MS-DOS 6.22 and Windows 3.11 in Proxmox and in DOSBox-X: a disk built from Linux and four pitfalls\"><figcaption>Program Manager in the VM<\/figcaption><\/figure>\n<aside class=\"rb-anuncio\">\n<div class=\"rb-et\">Advertisement<\/div>\n<p><strong>From yesterday&#x27;s shareware to today&#x27;s deals.<\/strong> With <strong>JamboQR<\/strong> you set up a deals club with your neighbours and friends: everyone posts what they find, with a photo, price and place. Free.<\/p>\n<p><a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.jamboqr.app&amp;hl=en&amp;referrer=utm_source%3Dcanaldelasrecetas%26utm_medium%3Ddos-w311-medio%26utm_campaign%3Dretroblog-en\" rel=\"noopener sponsored\"><img decoding=\"async\" src=\"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/10\/google-play-en.png\" alt=\"Google Play\" width=\"180\" loading=\"lazy\" title=\"MS-DOS 6.22 and Windows 3.11 in Proxmox and in DOSBox-X: a disk built from Linux and four pitfalls\"><\/a> &nbsp;or at <a href=\"https:\/\/jamboqr.net\/?utm_source=canaldelasrecetas&amp;utm_medium=dos-w311-medio&amp;utm_campaign=retroblog-en\" rel=\"noopener sponsored\"><strong>jamboqr.net<\/strong><\/a><\/p>\n<\/aside>\n<h2>The Proxmox VM<\/h2>\n<ul>\n<li>486, <strong>32 MB<\/strong>, standard video, <strong>Sound Blaster 16<\/strong> at 220\/7\/1 (as Windows expects) and no network.<\/li>\n<li>A <strong>never-started<\/strong> template in the templates pool, and a production VM with its <code>rollback<\/code> snapshot.<\/li>\n<li>To turn it off, exit Windows (<em>File \u2192 Exit Windows<\/em>) and power off at <code>C:\\&gt;<\/code>. With no write cache, DOS needs nothing more.<\/li>\n<\/ul>\n<h2>The DOSBox-X version<\/h2>\n<p>For anyone without Proxmox: a <strong>zip with the C: drive<\/strong> and <code>instalar_dosbox_w311.sh<\/code>, which:<\/p>\n<ul>\n<li>installs <strong>DOSBox-X<\/strong> and <code>unzip<\/code> with apt (Debian\/Ubuntu) or dnf (Fedora), or from <strong>Flathub<\/strong> if there&#8217;s no package;<\/li>\n<li>unpacks the C: drive into <code>~\/retro-dos\/c<\/code>;<\/li>\n<li>writes a <code>dosbox-x.conf<\/code> with the <strong>S3 Trio<\/strong> and the Sound Blaster 16;<\/li>\n<li>leaves a launcher, <code>~\/retro-dos\/w311<\/code>, and an &#8220;MS-DOS + Windows 3.11&#8221; entry in the applications menu.<\/li>\n<\/ul>\n<p>We tested it on a clean <strong>Debian 13<\/strong> clone. One more pitfall showed up there: Debian installed from DVD or Blu-ray leaves a <code>deb cdrom:<\/code> line in <code>sources.list<\/code>, and apt silently waits for you to insert the disc. The script comments it out and keeps a backup.<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-dos-w311-dosbox-w311-dosbox.png\" alt=\"Windows 3.11 in DOSBox-X, at 800\u00d7600 with the S3 driver\" loading=\"lazy\" title=\"MS-DOS 6.22 and Windows 3.11 in Proxmox and in DOSBox-X: a disk built from Linux and four pitfalls\"><figcaption>Windows 3.11 in DOSBox-X, at 800\u00d7600 with the S3 driver<\/figcaption><\/figure>\n<h2>Downloads<\/h2>\n<p>The scripts (<code>dos_w311.py<\/code>, <code>instalar_dosbox_w311.sh<\/code> and <code>exportar_ova.sh<\/code>, which turns the VMs into OVAs for VirtualBox or VMware) are in the package from the <a href=\"https:\/\/www.canaldelasrecetas.com\/cms\/retro-cd-restauracion-en\/\">restore CD article<\/a>. MS-DOS and Windows belong to Microsoft: the package does <strong>not<\/strong> include them, so you need your own MS-DOS 6.22 floppy and your own copy of Windows 3.11.<\/p>\n<\/div>\n<p class=\"rb-serie\">Series &quot;Reviving old PCs in Proxmox&quot;: <strong>MS-DOS + Windows 3.11<\/strong> \u00b7 <a href=\"https:\/\/www.canaldelasrecetas.com\/cms\/retro-proxmox-windows-95-en\/\">Windows 95<\/a> \u00b7 <a href=\"https:\/\/www.canaldelasrecetas.com\/cms\/retro-proxmox-windows-98-en\/\">Windows 98 SE<\/a> \u00b7 <a href=\"https:\/\/www.canaldelasrecetas.com\/cms\/retro-proxmox-windows-xp-en\/\">Windows XP<\/a> \u00b7 <a href=\"https:\/\/www.canaldelasrecetas.com\/cms\/retro-cd-restauracion-en\/\">Restore CD<\/a><\/p>\n<p>Got an old PC, a backup or a question? Tell us in the blog&#x27;s Telegram group: <a class=\"rb-tg\" href=\"https:\/\/t.me\/canaldelasrecetas\" rel=\"noopener\">Telegram group<\/a><\/p>\n<aside class=\"rb-anuncio\">\n<div class=\"rb-et\">Advertisement<\/div>\n<p><strong>From yesterday&#x27;s shareware to today&#x27;s deals.<\/strong> With <strong>JamboQR<\/strong> you set up a deals club with your neighbours and friends: everyone posts what they find, with a photo, price and place. Free.<\/p>\n<p><a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.jamboqr.app&amp;hl=en&amp;referrer=utm_source%3Dcanaldelasrecetas%26utm_medium%3Ddos-w311-final%26utm_campaign%3Dretroblog-en\" rel=\"noopener sponsored\"><img decoding=\"async\" src=\"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/10\/google-play-en.png\" alt=\"Google Play\" width=\"180\" loading=\"lazy\" title=\"MS-DOS 6.22 and Windows 3.11 in Proxmox and in DOSBox-X: a disk built from Linux and four pitfalls\"><\/a> &nbsp;or at <a href=\"https:\/\/jamboqr.net\/?utm_source=canaldelasrecetas&amp;utm_medium=dos-w311-final&amp;utm_campaign=retroblog-en\" rel=\"noopener sponsored\"><strong>jamboqr.net<\/strong><\/a><\/p>\n<\/aside>\n","protected":false},"excerpt":{"rendered":"<p>We set up MS-DOS 6.22 with Windows 3.11 two ways: a Proxmox VM with real DOS, its disk prepared from Linux, and a zip with a script that installs DOSBox-X and leaves it ready on Debian, Ubuntu or Fedora. With the pitfalls and how we solved them.<\/p>\n","protected":false},"author":1,"featured_media":8946,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[11],"tags":[],"class_list":["post-7490","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-retro-informatica"],"spectra_blocks_featured_image_url":{"thumbnail":{"url":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-dos-w311-vm134-neon-portada-150x150.png","width":150,"height":150},"medium":{"url":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-dos-w311-vm134-neon-portada-300x225.png","width":300,"height":225},"medium_large":{"url":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-dos-w311-vm134-neon-portada-768x576.png","width":768,"height":576},"large":{"url":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-dos-w311-vm134-neon-portada.png","width":800,"height":600},"full":{"url":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-dos-w311-vm134-neon-portada.png","width":800,"height":600}},"spectra_blocks_author_info":{"display_name":"EucL1d35","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/cecf603aee34f11aa921ff30ea69d89a4e51b3cd8d5143029343fa76b0682442?s=96&d=mm&r=g","author_link":"https:\/\/www.canaldelasrecetas.com\/cms\/author\/eucl1d35\/","description":""},"_links":{"self":[{"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/posts\/7490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/comments?post=7490"}],"version-history":[{"count":1,"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/posts\/7490\/revisions"}],"predecessor-version":[{"id":7500,"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/posts\/7490\/revisions\/7500"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/media\/8946"}],"wp:attachment":[{"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/media?parent=7490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/categories?post=7490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/tags?post=7490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}