Home System Tutorial LINUX Steps to install DOS and Windows XP using bootable USB disk in Ubuntu

Steps to install DOS and Windows XP using bootable USB disk in Ubuntu

Jan 02, 2024 pm 05:32 PM
U disk ubuntu dos

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 of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

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)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Ventoy secure boot settingsSecure Boot Ventoy secure boot settingsSecure Boot Jun 18, 2024 pm 09:00 PM

Ventoy is a USB boot tool that can directly boot ISO/WIM/IMG/VHD(x)/EFI and other types of files in the USB flash drive. It is very easy to use. Laptops have secure boot turned on by default. If they are not turned off or cannot be turned off, they cannot be booted from a USB device. Ventoy also supports secure boot. The principle is to inject a GRUB installation certificate into the current computer. As long as your computer After being injected once, any USB disk PE booted based on grub can pass. The official description of Ventoy is a GIF image. The playback speed is too fast and you may not be able to remember it. The editor has divided the GIF image to make it easier to understand. Ventoy secure boot has EnrollKey and Enro

What should I do if the Ubuntu terminal cannot be opened? How to fix the problem that Ubuntu cannot open the terminal What should I do if the Ubuntu terminal cannot be opened? How to fix the problem that Ubuntu cannot open the terminal Feb 29, 2024 pm 05:30 PM

It is a very common problem these days that Ubuntu does not allow its users to open the terminal. If you receive a similar issue and don’t know what to do next, learn about five fixes on how to resolve this “Ubuntu cannot open terminal” issue on your Linux device. Without further ado, let’s dive into what causes it and the solutions available to it. Why can't Ubuntu open the terminal on it? This mainly happens when you install some defective software or modify the terminal configuration. In addition to this, new applications or games that interact with locales and corrupt them can cause similar problems. Some users reported a fix for this issue when searching for Terminal in Ubuntu's activity menu. This shows that

Log in to Ubuntu as superuser Log in to Ubuntu as superuser Mar 20, 2024 am 10:55 AM

In Ubuntu systems, the root user is usually disabled. To activate the root user, you can use the passwd command to set a password and then use the su- command to log in as root. The root user is a user with unrestricted system administrative rights. He has permissions to access and modify files, user management, software installation and removal, and system configuration changes. There are obvious differences between the root user and ordinary users. The root user has the highest authority and broader control rights in the system. The root user can execute important system commands and edit system files, which ordinary users cannot do. In this guide, I'll explore the Ubuntu root user, how to log in as root, and how it differs from a normal user. Notice

A sneak peek of the seven highlights of Ubuntu 24.04 LTS A sneak peek of the seven highlights of Ubuntu 24.04 LTS Feb 27, 2024 am 11:22 AM

Ubuntu24.04LTS, codenamed "NobleNumbat" will be released soon! If you are using a non-LTS version such as Ubuntu 23.10, sooner or later you will need to consider upgrading. For those using Ubuntu20.04LTS or Ubuntu22.04LTS, it is worth thinking about whether to upgrade. Canonical has announced that Ubuntu 24.04LTS will provide update support for up to 12 years, broken down as follows: As an LTS version, it will have 5 years of regular maintenance and security updates. If you subscribe to Ubuntu Pro, you can enjoy an additional 5 years of support. Currently, this additional support period has been extended to 7 years, which means you will get up to 12

Ubuntu 20.04 screen recording software OBS installation and uninstallation graphic tutorial Ubuntu 20.04 screen recording software OBS installation and uninstallation graphic tutorial Feb 29, 2024 pm 04:01 PM

OBS is open source software developed by volunteer contributors around the world in their free time. A video live recording software, mainly used for video recording and live streaming. Please note that when installing Ubuntu/Mint, OBSStudio cannot fully work on ChromeOS, and functions such as screen and window capture cannot be used. It is recommended to use xserver-xorg1.18.4 or newer version to avoid potential performance issues with certain features in OBS, such as full-screen projectors. FFmpeg is required. If you don't have FFmpeg installed (if you're not sure, you probably don't), you can get it with: sudoaptinstallffmpeg I already have it installed here

How to install Angular on Ubuntu 24.04 How to install Angular on Ubuntu 24.04 Mar 23, 2024 pm 12:20 PM

Angular.js is a freely accessible JavaScript platform for creating dynamic applications. It allows you to express various aspects of your application quickly and clearly by extending the syntax of HTML as a template language. Angular.js provides a range of tools to help you write, update and test your code. Additionally, it provides many features such as routing and form management. This guide will discuss how to install Angular on Ubuntu24. First, you need to install Node.js. Node.js is a JavaScript running environment based on the ChromeV8 engine that allows you to run JavaScript code on the server side. To be in Ub

How to remove Firefox Snap in Ubuntu Linux? How to remove Firefox Snap in Ubuntu Linux? Feb 21, 2024 pm 07:00 PM

To remove FirefoxSnap in Ubuntu Linux, you can follow these steps: Open a terminal and log in to your Ubuntu system as administrator. Run the following command to uninstall FirefoxSnap: sudosnapremovefirefox You will be prompted for your administrator password. Enter your password and press Enter to confirm. Wait for command execution to complete. Once completed, FirefoxSnap will be completely removed. Note that this will remove versions of Firefox installed via the Snap package manager. If you installed another version of Firefox through other means (such as the APT package manager), you will not be affected. Go through the above steps

Detailed guide to install PHP and configure MSSQL connection on Ubuntu Detailed guide to install PHP and configure MSSQL connection on Ubuntu Feb 29, 2024 am 11:15 AM

Ubuntu is a popular open source operating system commonly used to run servers. Installing PHP and configuring MSSQL connections on Ubuntu is one of the operations that many developers and system administrators often need to do. This article will provide readers with a detailed guide, including the steps to install PHP, set up Apache, install MSSQLServer, etc., and attach specific code examples. Step 1: Install PHP and related extensions First, we need to install PHP and related extensions to support PHP connections

See all articles