search
HomeSystem TutorialLINUXSteps to install DOS and Windows XP using bootable USB disk in Ubuntu

If there is no optical drive or floppy drive, use Ubuntu boot USB disk to install DOS and WindowsXP.

If you have a computer that does not have a CD-ROM drive or a floppy drive, or there is a CD-ROM drive but no installation CD, or the CD-ROM drive is broken, what should you do if the Windows XP system fails and cannot even start?

Here I think of a way to reinstall the system, but of course this is not the only way. If you have a mobile hard drive or a relatively large-capacity USB flash drive (I will call it a mobile hard drive from now on), and the computer can boot from USB, I recommend you use this method (this method can also be used for bare metal installation systems). Divided into several steps:

1. Install an Ubuntu system on the mobile hard disk

You can use another computer to install an Ubuntu system on the mobile hard disk. Ubuntu is free. You can download the installable ISO file from its official website, and then burn it to a CD (or make a bootable installation mobile hard disk. Note: If you only have one mobile hard disk, you need to divide it into at least 3 partitions, one primary partition is used as the installation disk, leaving enough space for installing the Ubuntu system).

After the Ubuntu installation disk (CD or mobile hard disk) is ready, use the installation disk to start the computer and install the Ubuntu system into your mobile hard disk. Regarding the specific installation method of Ubuntu, there are many introductions on the Internet, and there are also detailed instructions on the official website, so I will not go into details here. Note that you need to select the partition of the mobile hard disk for installation, and just install GRUB on the MBR of the mobile hard disk.

2. Use the mobile hard disk with Ubuntu system to start the computer

Now go back to the computer where you want to reinstall the system, connect the mobile hard disk with Ubuntu installed to the USB interface, modify the BIOS settings to prioritize USB boot, and boot from USB to enter Ubuntu. I won’t go into the specific methods of using Ubuntu, there are many introductions online.

After entering Ubuntu, you can do most of the things you can usually do on WindowsXP. Here, we first configure the Internet access function. You can also use GParted to adjust partitions on the hard drive in your computer.

3. Install virtual machine software in Ubuntu

Because I want to use a virtual machine to install DOS, I first install the virtual machine software. I chose VirtualBox, which is also free and can be downloaded and installed from its official website. Because it is under Ubuntu, it is recommended to add the source of VirtualBox for installation.

4. Use a virtual machine to install DOS on the hard disk

To install WindowsXP, you need to install DOS to the computer hard drive first. You can use VirtualBox virtual machine to install DOS to a real hard disk.

First use GParted to adjust the computer's hard disk partition. There must be a FAT16 or FAT32 primary partition for installing DOS, and this partition must be marked as boot.

Then use VirtualBox’s command line tool to create a virtual hard disk file Hard.vmdk that uses the entire real hard disk. The command is as follows:

VBoxManage internalcommands createrawvmdk -filename Hard.vmdk -rawdisk /dev/sda

Then create a new virtual machine in VirtualBox using Hard.vmdk as the hard disk, download a DOS installation CD ISO file (such as [MS-DOS.7.10 complete installation CD ISO version].DOS71CD.ISO), and set it as a virtual machine CD-ROM drive. Start the virtual machine and install DOS; restart the virtual machine and test DOS.

5. Install WindowsXP from DOS

After installing DOS, exit the virtual machine. In Ubuntu, copy the WindowsXP installation file to the FAT32 partition of the computer hard drive. If you don't have the Windows XP installation file, you can also find it and download it from the Internet. Ubuntu can directly extract the ISO file into a directory. Note that the directory name used for DOS cannot exceed 8 characters.

Restart the computer, modify the BIOS setting to give priority to hard disk boot, and boot from the hard disk to enter DOS. If your DOS installation does not automatically run smartdrv.exe, you need to run it first. CD to the WindowsXP installation file directory, CD to the I386 subdirectory, and run winnt.exe to install WindowsXP.

Okay, now the WindowsXP system has been reinstalled. All software used in this method is free (except for Windows XP) and can be easily found online. I hope this method can help friends in need.

The above is the detailed content of Steps to install DOS and Windows XP using bootable USB disk in Ubuntu. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:脚本之家. If there is any infringement, please contact admin@php.cn delete
Explain the role of system calls in Linux and Windows.Explain the role of system calls in Linux and Windows.May 16, 2025 am 12:12 AM

System calls are implemented in Linux and Windows through different mechanisms: 1) In Linux, system calls are implemented through interrupt mechanisms, involving context switching; 2) In Windows, the "fast system calls" mechanism is used to reduce the context switching overhead.

How to Use 'next' Command with Awk in Linux - Part 6How to Use 'next' Command with Awk in Linux - Part 6May 15, 2025 am 10:43 AM

In this sixth installment of our Awk series, we will explore the next command, which is instrumental in enhancing the efficiency of your script executions by skipping redundant processing steps.What is the next Command?The next command in awk instruc

How to Efficiently Transfer Files in LinuxHow to Efficiently Transfer Files in LinuxMay 15, 2025 am 10:42 AM

Transferring files in Linux systems is a common task that every system administrator should master, especially when it comes to network transmission between local or remote systems. Linux provides two commonly used tools to accomplish this task: SCP (Secure Replication) and Rsync. Both provide a safe and convenient way to transfer files between local or remote machines. This article will explain in detail how to use SCP and Rsync commands to transfer files, including local and remote file transfers. Understand the scp (Secure Copy Protocol) in Linux scp command is a command line program used to securely copy files and directories between two hosts via SSH (Secure Shell), which means that when files are transferred over the Internet, the number of

10 Most Popular Linux Desktop Environments of All Time10 Most Popular Linux Desktop Environments of All TimeMay 15, 2025 am 10:35 AM

One fascinating feature of Linux, in contrast to Windows and Mac OS X, is its support for a variety of desktop environments. This allows desktop users to select the most suitable and fitting desktop environment based on their computing requirements.A

How to Install LibreOffice 24.8 in Linux DesktopHow to Install LibreOffice 24.8 in Linux DesktopMay 15, 2025 am 10:15 AM

LibreOffice stands out as a robust and open-source office suite, tailored for Linux, Windows, and Mac platforms. It boasts an array of advanced features for handling word documents, spreadsheets, presentations, drawings, calculations, and mathematica

How to Work with PDF Files Using ONLYOFFICE Docs in LinuxHow to Work with PDF Files Using ONLYOFFICE Docs in LinuxMay 15, 2025 am 09:58 AM

Linux users who manage PDF files have a wide array of programs at their disposal. Specifically, there are numerous specialized PDF tools designed for various functions.For instance, you might opt to install a PDF viewer for reading files or a PDF edi

How to Filter Command Output Using Awk and STDINHow to Filter Command Output Using Awk and STDINMay 15, 2025 am 09:53 AM

In the earlier segments of the Awk command series, our focus was primarily on reading input from files. However, what if you need to read input from STDIN?In Part 7 of the Awk series, we will explore several examples where you can use the output of o

Clifm - Lightning-Fast Terminal File Manager for LinuxClifm - Lightning-Fast Terminal File Manager for LinuxMay 15, 2025 am 09:45 AM

Clifm stands out as a distinctive and incredibly swift command-line file manager, designed on the foundation of a shell-like interface. This means that users can engage with their file system using commands they are already familiar with.The choice o

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Clair Obscur: Expedition 33 - How To Get Perfect Chroma Catalysts
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools