In the era of Windows 11 and macOS, the idea of launching DOS on a laptop may seem anachronistic - but only at first glance. Old games like Doom or Prince of Persia, specialized software for industrial equipment, educational projects on retro programming - all this requires access to MS-DOS or its analogues. The problem is that modern laptops not only do not support DOS out of the box, but often even lack BIOS Legacy Mode, without which installation becomes a non-trivial task.

This article is not about nostalgia, but about practice: how to make Dell XPS 15 or Lenovo ThinkPad 2023 release launch COMMAND.COM without the risk of damaging the main system. We will analyze all the current methods - from virtual machines to hardware installation on a USB drive - and also warn against typical mistakes that turn an experiment into a fight against a blue screen. If you are looking for a way to run Turbo Pascal 7.0 for study or restore data via Norton Utilities, read on.

Why DOS on a modern laptop is not trivial

The main obstacle is architectural gap between DOS and modern laptops. Here are the key issues:

  • 🖥️ UEFI instead of BIOS: Most laptops after 2012 use UEFI, which does not support DOS booting directly. Even if you turn it on Legacy Support in the settings, this does not guarantee functionality.
  • 💾 No floppy drives: DOS applications often require floppy disks 3.5" or 5.25", which are not found in modern devices. Emulation through images (.img) is the only way out.
  • 🎮 USB 3.0/4.0 incompatible: Many DOS programs do not recognize USB ports of the new standards. You will need drivers or adapters for PS/2.
  • 🔊 Problems with sound and graphics: Sound cards Sound Blaster and video adapters VGA have not been produced for a long time. Emulation via DOSBox or PCem becomes mandatory.

In addition, DOS does not support the NTFS file system - you will have to use FAT32 to exchange files between the main OS and DOS. This imposes a file size limit (4GB maximum) and may cause problems with long filenames.

⚠️ Attention: Trying to install DOS on a laptop with Secure Boot without disabling this feature will result in a download error. On some models (for example, HP Spectre or ASUS ZenBook) disabling Secure Boot blocks Windows 11 from starting - check this in advance!

Method 1: DOS emulation via DOSBox (the most universal method)

DOSBox is not just an emulator, but a full-fledged virtual machine for DOS that runs on any laptop running Windows, macOS or Linux. Its main advantage is does not require changes to BIOS/UEFI and does not conflict with the main system.

How to install and configure:

  1. Download the latest version DOSBox from the official website: https://www.dosbox.com/. For laptops with Apple Silicon (M1/M2) use version DOSBox-X.
  2. Install the program following the installation wizard. By default, DOSBox will create the folder C:\Users\Your_name\AppData\Local\DOSBox.
  3. Download a DOS image (for example, FreeDOS from the site https://www.freedos.org/) and unpack it into a separate folder.
  4. Launch DOSBox and enter the commands to mount the DOS folder:
    mount c C:\путь\к\папке\с\DOS
    

    c:

    boot

For convenience, create a configuration file dosbox.conf with auto-mounting folders and sound settings. Game example Duke Nukem 3D:

[autoexec]

mount c C:\Games\Duke3D

c:

duke3d.exe

exit

Install the latest version of DOSBox|Download an image of FreeDOS or MS-DOS 6.22|Create a separate folder for DOS games|Configure the dosbox.conf file|Check the game’s compatibility with DOSBox (list on the project website)-->

DOSBox emulates a processor 80386 and sound card Sound Blaster 16, which covers 90% of older games. However, for programs that require direct access to hardware (for example, Norton Ghost), this method will not work.

Method 2: Virtual Machine (VMware or VirtualBox)

If DOSBox is not suitable due to emulation limitations, a virtual machine (VM) gives more control. VMware Workstation Player or Oracle VirtualBox allow you to create a virtual PC with full DOS support, including access to USB devices.

Step-by-step instructions for VirtualBox:

  1. Download and install VirtualBox from the site https://www.virtualbox.org/.
  2. Create a new virtual machine:
    • OS type: Other/Other (or DOS in new versions).
    • RAM: 64–128 MB (no longer needed).
    • Hard disk: 500 MB–1 GB (FAT32).
  • Connect the image FreeDOS as a boot disk in the VM settings.
  • Start the VM and follow the DOS installer instructions.
  • Parameter Recommended value Explanation
    System type Other/Other VirtualBox does not have a separate type for DOS, so we choose the universal option.
    RAM 64–128 MB DOS does not support more than 640 KB of "regular" memory, the rest is used for extended memory.
    Video memory 4–8 MB Sufficient for modes VGA or SVGA.
    Chipset ICH9 Provides better compatibility with DOS drivers.

    To access host system files, configure shared folders in VirtualBox: Devices → Shared folders → Add new. Specify the path to the folder on your laptop and the name for DOS (for example, C:\SHARED).

    ⚠️ Attention: When using a virtual machine to work with old industrial software (eg CNC machines) check support parallel port (LPT). In VirtualBox it is not always emulated correctly - for such tasks it is better to use a physical installation on USB.

    Running old games|Working with retro software (Turbo Pascal, FoxPro)|Training assembly language programming|Recovering data from old media|Other-->

    Method 3: Installing DOS on a USB drive (for hardware launch)

    If virtual solutions are not suitable, you can install DOS on bootable USB flash drive and run it directly from the laptop. This method requires:

    • 🔌 USB storage capacity 1–4 GB (FAT32).
    • 🖥️ Laptop with support Legacy Boot (check in BIOS).
    • 🛠️ Utility Rufus or UNetbootin to create a bootable USB flash drive.

    Instructions for FreeDOS:

    1. Download the ISO image FreeDOS 1.3 from the official website.
    2. Format the flash drive to FAT32 using Rufusby selecting the partition scheme MBR and target system BIOS (or UEFI-CSM).
    3. Write the image to a flash drive in DD-image.
    4. Reboot your laptop, log in Boot Menu (usually the key F12 or Esc) and select boot from USB.

    After downloading you will receive a full-fledged DOS with support USB keyboards And PS/2 mice (if the drivers are loaded). To work with the network you will need a separate package mTCP.

    How to run DOS on a laptop with UEFI without Legacy Mode?

    If there is no option in BIOS Legacy Support, can be used 7-Zip to unpack the FreeDOS image onto a USB flash drive manually, and then manually register the bootloader via bootsect on Windows. However, this method requires in-depth knowledge and does not guarantee success on all laptops. An alternative is to use Ventoy for multiboot, but DOS is unstable in it.

    Method 4: DOS via Windows (NTVDM and alternatives)

    32-bit versions of Windows (up to and including 7) had native DOS support via NTVDM (NT Virtual DOS Machine). This feature is not available on 64-bit systems, but there are workarounds:

    • 🪟 DOSBox (already discussed above) is a universal solution.
    • 🔄 vDos - DOS emulator for Windows that supports LPT ports And COM ports (relevant for industrial equipment).
    • 💽 DOSEMU - an emulator for Linux if you are using a laptop with Ubuntu or Fedora.

    To start 16-bit applications in Windows 10/11 you can use OTVDM (an open source implementation of NTVDM), but it is unstable and does not support graphics modes.

    Example command to run Turbo Pascal in vDos:

    vdos.exe -t C:\TP\BIN\TURBO.EXE
    💡

    If you need to print from DOS to a modern printer, use an emulator DOSPrnwhich redirects the output to LPT1: to a virtual PDF file.

    Method 5: DOS on a laptop with macOS (features and limitations)

    Laptops MacBook (especially on chips Apple Silicon) is the most difficult case for DOS. Here are working solutions:

    1. DOSBox - works through Rosetta 2 on M1/M2, but with speed restrictions.
    2. UTM is a QEMU emulator for macOS that allows you to run DOS in a virtual machine. Requires manual configuration.
    3. Parallels Desktop - supports DOS in virtual Windows XP Mode (Only on Intel Mac).

    To install FreeDOS in UTM:

    1. Download UTM from the website https://mac.getutm.app/.
    2. Create a new VM with architecture x86_64 (even on M1/M2).
    3. Connect the FreeDOS ISO image as a boot disk.
    4. In the VM settings, disable UEFI and turn it on Legacy BIOS.
    ⚠️ Attention: On Mac with Apple Silicon x86 emulation is slow. For games this is not critical, but for working with ancient software (For example, dBASE III+) input delays may occur.

    Problem solving: common mistakes and how to avoid them

    Even if DOS is installed correctly on a laptop, problems may arise. Here are the most common ones and how to solve them:

    Problem Reason Solution
    Can't see USB keyboard No USB support in DOS Use the driver USBASPI.SYS or connect the keyboard via PS/2 adapter.
    Error Missing operating system Incorrect recording to the flash drive or Legacy Mode is disabled Rewrite the flash drive via Rufus in mode MBR and check your BIOS settings.
    Small font on 4K screen DOS does not support high resolutions Use scaling in the emulator or connect an external monitor with a resolution 1024×768.
    No sound in games No emulation Sound Blaster In DOSBox, configure sbtype=sb16 in the configuration file.

    If DOS does not see the laptop hard drive, check:

    • 🔧 Does your BIOS support the mode AHCI for IDE compatibility (sometimes you need to switch to Compatibility Mode).
    • 💾 Is the driver connected correctly? HIMEM.SYS And EMM386.EXE in CONFIG.SYS.
    💡

    For maximum compatibility with DOS games, use laptops with discrete graphics NVIDIA or AMD — their drivers emulate old video modes better.

    FAQ: Frequently asked questions about DOS on a laptop

    Is it possible to install DOS on a Windows 11 laptop without losing data?

    Yes, if used virtual machine (VirtualBox/VMware) or bootable USB flash drive. Both methods do not affect the main system. For physical installation on a hard drive, you will need to allocate a separate partition (for example, through Disk Management on Windows), but it's risky without experience.

    What games definitely work in DOSBox on modern laptops?

    A complete list of compatible games is on the DOSBox website: https://www.dosbox.com/compatibility/. Among the proven hits:

    • Doom (1993)
    • Duke Nukem 3D (1996)
    • Command & Conquer: Red Alert (1996)
    • Heroes of Might and Magic II (1996)
    • Prince of Persia (1989)

    For games with copy protection (such as Monkey Island) may require a patch No-CD.

    How to transfer files between DOS and Windows on a laptop?

    There are several ways:

    1. Shared folder (in VirtualBox/VMware).
    2. FAT32 flash drive: DOS reads FAT32, so you can use it as an intermediate media.
    3. Network drive: Customize mTCP in DOS to access folders via FTP.
    4. cloud: Upload files to Google Drive via DOS browser Arachne (if you have internet access).

    For large files (>4 GB) you will have to archive them using PKZIP or ARJ.

    Is it possible to run DOS on a laptop with an ARM processor (such as Surface Pro X)?

    Technically yes, but with serious limitations:

    • 🔹 DOSBox works through x86 emulation, but is very slow.
    • 🔹 QEMU with translation of instructions (TCG) allows you to run DOS, but without hardware acceleration.
    • 🔹 Physical installation is not possible - ARM processors are not compatible with x86 DOS code.

    For productive work, it is better to use a laptop on Intel or AMD.

    Where can I download legal DOS images for installation?

    Official and legal sources:

    • FreeDOS: https://www.freedos.org/ (completely free).
    • MS-DOS 6.22: Microsoft no longer distributes it, but the image can be found in the archive WinWorldPC (https://winworldpc.com/) for non-commercial use.
    • PC DOS (IBM): Licensed copies are sometimes sold on eBay.

    Using pirated assemblies (for example, MS-DOS 7.10) may violate the license agreement.