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
What is the main purpose of Linux?What is the main purpose of Linux?Apr 16, 2025 am 12:19 AM

The main uses of Linux include: 1. Server operating system, 2. Embedded system, 3. Desktop operating system, 4. Development and testing environment. Linux excels in these areas, providing stability, security and efficient development tools.

Does the internet run on Linux?Does the internet run on Linux?Apr 14, 2025 am 12:03 AM

The Internet does not rely on a single operating system, but Linux plays an important role in it. Linux is widely used in servers and network devices and is popular for its stability, security and scalability.

What are Linux operations?What are Linux operations?Apr 13, 2025 am 12:20 AM

The core of the Linux operating system is its command line interface, which can perform various operations through the command line. 1. File and directory operations use ls, cd, mkdir, rm and other commands to manage files and directories. 2. User and permission management ensures system security and resource allocation through useradd, passwd, chmod and other commands. 3. Process management uses ps, kill and other commands to monitor and control system processes. 4. Network operations include ping, ifconfig, ssh and other commands to configure and manage network connections. 5. System monitoring and maintenance use commands such as top, df, du to understand the system's operating status and resource usage.

Boost Productivity with Custom Command Shortcuts Using Linux AliasesBoost Productivity with Custom Command Shortcuts Using Linux AliasesApr 12, 2025 am 11:43 AM

Introduction Linux is a powerful operating system favored by developers, system administrators, and power users due to its flexibility and efficiency. However, frequently using long and complex commands can be tedious and er

What is Linux actually good for?What is Linux actually good for?Apr 12, 2025 am 12:20 AM

Linux is suitable for servers, development environments, and embedded systems. 1. As a server operating system, Linux is stable and efficient, and is often used to deploy high-concurrency applications. 2. As a development environment, Linux provides efficient command line tools and package management systems to improve development efficiency. 3. In embedded systems, Linux is lightweight and customizable, suitable for environments with limited resources.

Essential Tools and Frameworks for Mastering Ethical Hacking on LinuxEssential Tools and Frameworks for Mastering Ethical Hacking on LinuxApr 11, 2025 am 09:11 AM

Introduction: Securing the Digital Frontier with Linux-Based Ethical Hacking In our increasingly interconnected world, cybersecurity is paramount. Ethical hacking and penetration testing are vital for proactively identifying and mitigating vulnerabi

How to learn Linux basics?How to learn Linux basics?Apr 10, 2025 am 09:32 AM

The methods for basic Linux learning from scratch include: 1. Understand the file system and command line interface, 2. Master basic commands such as ls, cd, mkdir, 3. Learn file operations, such as creating and editing files, 4. Explore advanced usage such as pipelines and grep commands, 5. Master debugging skills and performance optimization, 6. Continuously improve skills through practice and exploration.

What is the most use of Linux?What is the most use of Linux?Apr 09, 2025 am 12:02 AM

Linux is widely used in servers, embedded systems and desktop environments. 1) In the server field, Linux has become an ideal choice for hosting websites, databases and applications due to its stability and security. 2) In embedded systems, Linux is popular for its high customization and efficiency. 3) In the desktop environment, Linux provides a variety of desktop environments to meet the needs of different users.

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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

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),

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

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.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft