Choose from pure DOS into Linux and Windows systems

Source: Internet
Author: User
Tags file copy

I prefer a simple and practical operating system, as long as the necessary to complete the use of the line, there is no need to be too large, so the purpose of this article is simple. This article is for technical exchange only, the software copyright belongs to the software author or its company all, this article publishes in the CSDN, I mhy_mhy
Keywords: pure dos boot, cdlinux,windows PE, emergency office, grub, install PE to hard drive, install Cdlinux to hard drive, GRUB boot into WINDOWS pe,grub boot into Cdlinux,
Software used: 1. Pure DOS system, can start and install, this article uses is MSDOS 7.0;  2.DTCDLINUX system, the system is a very small Linux boot CD, supporting the graphical interface, network functions, there are multimedia functions, a total of 70 trillion, very good;  3.WINDOWS PE system, this article uses the Deep Mountain Hongye V28 tool disk, the system is also very outstanding, 200 trillion or so optical disc mirroring can achieve basic office needs, there are a variety of practical tools; 4. Other software: Virtual CD-ROM, GRUB4.3 green version, etc.
Step one: Use the DOS CD to start the machine, repartition the hard disk and format it as FAT32 (or fat) file system, because Dtcdlinux need, C: size is not less than 500MB, other partitions do not matter, all zoned C: also.
Step two: Give the C: to the DOS operating system: SYS C:, and make sure that you can start and enter the DOS system, and the "C:/>_" prompt appears. C: The following files: Command.com,io.sys,msdos,sys; the latter two files are hidden files and can be seen with dir/a.
The third step: Copy the Grub directory content to C:, generally do not need to modify.
In DOS how to copy files, you can go through the floppy disk, now basically do not have a floppy drive, you can use Windows PE CD to start the machine, into the PE system, and into the normal Windows XP Desktop, and then copy, you can also use U disk and other tools, to note that the first activation USB Under the PE can use the network, also can download directly from the net, and the Grub directory content expands to C: Under. C: Add the following file: Bootlace.com,copying,defaule,grldr,grldr. Mbr,grub. Exe,hmload. Cm,menu. LST, GRUB. EXE;
Step Fourth: Copy the contents of the Windows PE disc to C:, you must include the following five files: WINPE. Im_,winpe. Sif,xcmd. Ini,setupldr. Bin,ntdetect. CMD, which setupldr.bin,ntdetect. CMD two files are taken out in the CD WINS directory and renamed Setupldr.bin to Ldrxpe, and then copy the programs directory on the CD directly to C: Under, to: C: Add the following file: WINPE. Im_,winpe. Sif,xcmd. INI, Ldrxpe,ntdetect. CMD, directory programs,;
Copy these files, may be in the PE system prompts can not be copied, you may download the Windows PE CD-ROM ISO, with PE inside the virtual CD-ROM loading, and then copy to the hard disk, or use other methods, preferably with a USB disk to copy well, when the direct copy.
The fifth step: After the above copy completes, modifies the C: the Menu.lst file, may use Notepad to open or edit edits, causes the content to be as follows:
# This is a sample Menu.lst file. You are should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot Strap code to MBR with the bootlace.com
# utility under Dos/win9x or Linux.

Color Black/cyan Yellow/cyan
Timeout 30
Default/default

Title Windows PE/* Here is the prompt to start Windows pe*/
Chainloader/ldrxpe

Title Dtcdlinux/* Here is the prompt to start dtcdlinux*/
Kernel (hd0,0)/boot/cdlinux/autoboot/bzimage cdl_dev=/dev/hda1 cdl_lang=zh_cn. UTF8
INITRD (hd0,0)/boot/cdlinux/autoboot/cdlinux

Title CommandLine
Savedefault--wait=2
CommandLine

Title Floppy (FD0)
Chainloader (fd0) +1
Rootnoverify (FD0)
Savedefault--wait=2

Title Back to Dos
Savedefault--wait=2
Quit

Title reboot
Savedefault--wait=2
Reboot

Title Halt
Savedefault--wait=2
Halt

The most important place is the annotation place, only then can achieve to lead the multiple system The goal, the Linux file copy will say below, then can reboot the machine, enters the c:/> to enter the grub to enter the boot menu, chooses the Windows PE, into the PE system. Feel and use XP like, but also can do office operations, Internet, all normal use.

Sixth: Copy dtcdlinux, open the ISO, directly to the boot folder copy to C: The next can be, do not modify the contents, do not change the directory structure, at this time C: Add a directory boot;
To this end, all completed, restart the machine, select Dtcdlinux can enter the Dtcdlinux system.
Note: 1. After entering the system, we need to make a simple setup. such as resolution. Dtcdlinux Use Default.
2. The system will not save the settings and information, note Copy to the place can be saved, such as USB disk or mail.
3. No anti-virus software, pay attention to the Internet security.
4. Internet needs to set network parameters: PE under the activation of the network card, Linux to set the IP address (net-config) and so on.
5.linux connection Windows sharing: Mount–t smbfs–o username=guest,password=guest//ip/path/mnt/cdrom.
6. It is recommended to copy the file to the USB device before copying it, and the USB can be activated once after entering PE to save a lot of time.
7. This trial was successful on the VMware (TM) 5.5.1. Also completed on the real machine, machine configuration: PIII 500mhz,128 MB ram,16mb video.
Other: You can add other operating systems, note to add a selection in the Menu.lst, as for the use of grub can refer to the relevant instructions, Cdlinux also has a version 0.4.9 powerful, can be made into a routing firewall, can also be added to this program, but to first extract the following two files, Bzimage and cdlinux.gz, put them in the Cdlinux directory, and place the extra directory under Cdlinux and add the following in Menu.lst:
Title Cdlinux
Kernel (hd0,0)/cdlinux/bzimage cdl_dev=/dev/hda1
INITRD (hd0,0)/cdlinux/cdlinux.gz
That's it.
No time to catch the picture, there are questions please leave me a message, welcome to point out the error. Mhy_mhy

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.