China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-13 05:11
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » [Help] How should I reinstall the system? View 669 Replies 2
Original Poster Posted 2004-01-19 00:00 ·  中国 河北 石家庄 桥西区 联通
初级用户
Credits 115
Posts 3
Joined 2004-01-19 00:00
22-year member
UID 15797
Gender Male
Status Offline
My hard drive is currently split into 5 partitions, all in NTFS format. One of my partitions has an XP backup on it (the entire i386 directory was copied there). I don't have a CD-ROM drive or floppy drive, only a bootable USB flash drive. How should I make a boot disk so I can format the C drive and then reinstall XP from the backup partition?
Floor 2 Posted 2004-01-19 00:00 ·  中国 河南 驻马店 联通
初级用户
dosgov
Credits 218
Posts 26
Joined 2004-01-19 00:00
22-year member
UID 15832
Gender Female
Status Offline
First, boot into the “Command Prompt” program in the XP boot menu. You will see a DOS-like window, and you can format the system partition there. Before installation, you need to run Smartdrv.exe. The Smartdrv.exe file can simulate part of the memory as a disk buffer to speed up file access, so when installing Windows XP under DOS, running Smartdrv.exe first can greatly increase file copy speed. One thing that needs to be explained is that this program uses extended memory, so Himem.sys must also be loaded beforehand when running it. How do you do that? First, use “Add/Remove Programs” in the Windows 98 Control Panel to create a boot disk. Then search for “Himem.sys” on drive C and copy it to the boot disk. Create a new text file on the boot disk and add this line: device=himem.sys, save it and rename the file to Config.sys. Then find the Smartdrv.exe file in the Windows 98 installation directory and copy it to the boot disk as well. Next, boot the computer with this boot disk, and at the prompt enter “Smartdrv C+20480”, then press Enter (note: the parameter “C+” means assigning the virtual buffer to hard drive C. You can set the Windows XP installation location according to your own needs. “20480” indicates the size of the virtual buffer, in KB, generally about 1/3 of physical memory). Now you can install it. Put the Windows XP installation CD into the CD-ROM drive. Here, if the CD-ROM drive letter is F, then switch to the I386 directory on drive F, enter “Winnt” and press Enter, and the journey of installing Windows XP begins!
Floor 3 Posted 2004-01-20 00:00 ·  中国 河北 石家庄 桥西区 联通
初级用户
Credits 115
Posts 3
Joined 2004-01-19 00:00
22-year member
UID 15797
Gender Male
Status Offline
Really detailed, thanks. I'll go give it a try.
Forum Jump: