DIY Custom winpe+ various DOS Toolbox USB boot Disk +minilinux
Because of a 64M old U disk, no use, take to play the waste heat. If the USB drive is large enough, you can use the more powerful mini Linux and WinPE with more tools. This time the installation of winpe+maxdosv6plux+ dwarf dos5.3+cdlinux0.4.9+ mclinux2.02+bomberlinux3.7, tools should be counted more.
Method 1: Can be made into DOS boot disk, so directly loaded various DOS tools, and then loaded with Grub4dos WinPE.
Method 2: You can make Ntloader, start WinPE, and then write the Load DOS tool statement in boot. ini.
Method 3: Use GRUB to guide a variety of tools, including WinPE and various toolkits.
Because of the sense that grub boot is powerful (it is used as a bootstrap for each major Linux distribution), it is decided to use a third method.
First, prepare the tool:
1, HP USB Format tool HPUSBFW.EXE, or usboot or other format of the USB stick tool.
2, WinPE, I use a 64M u disk, so use the mini WinPE, using the old Peaches modified MINIWINPE 070911 version: thunder:// qufodhrwoi8vd3d3lnf1awnroc5jbi9kb3dulmfzcd9pzd0xntmmc2lkptbawg==
If you use a USB stick that is larger, you can download other WinPE with more tools integrated. The old Peaches modified version, for us is still too large, so we need to customize, the ACDSee and other software removal. There is a ntboot.exe under the WinPE installation file \setup\myins, which is backed up and may be used in the future.
3. Grub Installation Tool: Grubinstall:http://download.gna.org/grubutil/gru...2008-01-01.zip
As well as grub boot file grldr, many online, own search download (it is part of grub4dos, can download grub4dos, then as long as the file can)
4, Maxdos V6 Plus:http://down.56xia.com/200711/maxdosv6u.rar
5. Dwarf DOS Toolbox 5.1:http://w1.e666.cn/green/airendos.rar
7, you can also download other tools, such as mountains and autumn leaves. Due to space constraints, I only used a few of the above software.
1. Format the USB flash drive using the HP Format tool
2. Open Miniepe.iso, if your USB stick is larger, you can directly copy the Minipe directory to your USB stick, if as small as mine, then delete Op.wim, and then copy the past, Op.wim is all tools, no it, minipe can start, after we talk about how to modify op.wim, reduce Its volume, customizing its own tools. Then the Ntdetect.com and Setupldr.bin under the Wxpe are also copied to the Minipe directory and renamed to Ntcom and Ldrxpe respectively. Then create a new file named PE in the Minipe directory, as follows (if you use the installation method, this file already exists):
Bootdevice= "RAMDisk (0)"
The simpler way is: You can directly use Minipe's setup to install its first to your USB flash drive (if the USB stick is too small, please remove the op.wim and then install), so that the same as manual copy of the past, but will be more than a few files, you can choose to delete the file not mentioned above.
3, if you copy the past manually, then install grub, use Grubinstall_gui, select the USB drive, partition refresh after selecting the entire disk, and then install, then reinstall Grub, and then copy the Grldr file you downloaded to the past. If you are using the method in the installation, then already installed grub, its menu is built into the GRLDR, in order to let the editor of Menu.lst to start more projects, the download GRLDR copy to the U disk overwrite the original, so that will use your own menu.lst. If GRUB is not in the MBR, reinstall Grub. If you still want to use the built-in menu, you can export the menu with the Grubmenu Export command, modify it to what you want, and then grubmenu import, and it will become your own built-in menu. In addition, in order to support Chinese menu, please use Chinese grldr and Chinese font. Download a grub4dos with fonts and Chinese, copy the GRLDR in the Chinese directory, create a boot directory, then fonts.gz the font file into the Splash.xm.gz also handcuffed to the inside, it is the start screen background, you can make your own start screen. If you are installing the Minipe, then you can use it directly with the muifont.gz and *.xpm.gz.
4, install Maxdos and Airendos, and then copy the directory Maxdos and ADOs to the root directory of the USB stick. Then you can uninstall Maxdos and ADOs.
Then delete all files except the Argj directory under ADOs, then move the files under Argj directory to ADOs and delete the Argj directory. Remove some unnecessary files from the two directories. The comparison document. Because they are all hard disk version, a key ghost will be a problem (the online so-called U disk version is the same), it needs to be modified. First, after the HP format, will generally be the USB drive as the first hard drive, and the original hard disk as a second hard drive, then the Ghost command Src=1:1, will be changed to 2:1, and then, because we did not create the specified folder, so we can directly back up to the root directory. If you use maxbk.gz and maxre.gz in Maxdos for backup and recovery, open these two files in Notepad and change to:
and dwarf dos need to ar5.img in the Argj.exe export, and then the extension to GZ, and then, extract the Gh.bat, Menu.bat and other bat files, and then find the argj~1 path, change it to the root directory, such as: C:\*.gho, In addition to find the image of the command's/s need to be removed, can be changed to/a,/s to find subdirectories, it takes a long time. At the same time, the Ghost Command's src=1:1 and other similarities are changed to 2:1.
If your USB flash drive is not the first hard drive, then you don't have to change it.
5. Writing Grub Boot Menu
In order to identify the USB flash drive, create a grubhere.id empty file in the root of the USB stick, and of course you can use any file on the USB stick to identify, such as/maxdos/maxs.sys, of course, you need to change the corresponding content below. Then create a menu.lst in the root directory of the USB stick, as follows:
Title Mini WindowsPE
Title Maxdos V6 Plus
kernel/maxdos/memdisk.gz c=555 h=2 s=18 Floppy
Initrd/maxdos/maxs.sys c=555 h=2 s=18 Floppy
Title Dwarf dos Toolbox
kernel/ados/memdisk.gz c=118 h=2 s=36 Floppy
Initrd/ados/ar5.img c=555 h=2 s=18 Floppy
Title native Windows system
Map (hd0) (HD1)
Map (HD1) (hd0)
Title Restart Computer
Title shut down the computer
Title Grub Command Line
Save the file.
6, the custom WinPE tool, the above has actually completed the boot USB drive, but we can also customize the tool for Minipe. Open Op.wim with Wmitool, and then export its files, remove all unnecessary software, such as ACDSee, music playback, for system maintenance is no use, delete, and finally create a new WIM file, the modified directory import. Then modify the Winpe.ini file under Minipe, find the command to create a shortcut, and delete the link.
6, if you need to install other toolboxes, the steps are similar to the above. Finished production.
If you want the MBR to be destroyed and can be started using Ntloader, then you can use Ntboo I: (i is a USB flash drive), and the Ntloader is also installed on the USB stick, but this is not necessary.
7, Backup: For future production no longer so much, you can copy all the files on the USB stick to a directory backup (note there are hidden files, a piece of backup). In the future to make a bootable USB flash drive, you can do this:
First use the HP Format tool to format the USB flash drive, then copy the backed up files, and then using Grubinstall, install grub to MBR OK. The ntboot is not a must.
If you have time, you can compress these backup files and then write a bat that allows bat to format and copy files sequentially, thus forming your own Winpe+maxdos+airendos installation package.
If you do not need Linux, so far, if you also want to start Linux, the USB flash drive as a boot disk, and then use Mini Linux boot, can be used to repair the hard disk Linux system errors. Then continue:
Mini Linux A lot, such as: Cdlinux, DSL, puppy, etc., can also own LFS. Here is a brief introduction to the simplest method of making. Due to the size limit of the USB stick (my USB stick 64M, basically useless, just take to do the boot disk), I chose CDlinux0.4.9 (19M), Mini Chinese Linux (mclinux2.02) (2.88M), Bomberlinux 3.9 ( 2.88M), because my USB stick is also equipped with mini WinPE, Maxdos, Dwarf dos, to do so they add up to not more than 64M (the last total 61M).
Since the installed WinPE is booted with Grub, the three mini Linux will of course be booted with grub as well. If you do not install the above, only need to start mini Linux, then you need to make a bootable USB flash drive, first use the HP Format U disk tool format, and then use Grubinstall to install grub to the MBR of the USB stick, and copy the GRLDR to the root directory of the USB stick. Refer to the previous article.
First look at Cdlinux, because it is the use of syslinux to guide, so need to make a little adjustment. First open the Cdlinux ISO, extract the cdlinux from the boot directory, and then change the cdlinux.img extension to GZ, That is, cdlinux.gz, and then unzip it, because we use grub boot, so the syslinux files can be deleted, only the Bzimage and cdlinux.gz, copy it to the Cdlinux directory, and then copy the Cdlinux directory to the USB stick root directory. Then write Menu.lst.
Title Cdlinux 0.4.9 (with extra)
Kernel/cdlinux/bzimage Root=/dev/ram0 cdl_dev=/dev/sda1
Grubhere.id meaning See the previous article. More specific parameters can refer to the command-line arguments in Cdlinux HowTos, where/dev/sda1 may be treated differently depending on the situation. I made it into a hda1, and I couldn't load extra because I couldn't find it and later found out that Linux identified it as SDA1. English: Kernel/cdlinux/bzimage root=/dev/ram0 cdl_lang=zh_cn. UTF8 cdl_dev=/dev/sda1
And then look at Mclinux, I downloaded the mclinux1.0 and mclinux2.02,mclinux1.0 is an IMA floppy image file, so directly with the floppy disk boot, and mclinux2 not made floppy image, is a person zip file, there are many rawrite it to the floppy disk tool. Or make IMA convenient, first decompression, and then only leave Mclinux.img, Zimage, syslinux.cfg three files, will they made IMA, because already have mclinux1.0.ima, so I directly with winimage open Mclinux10.ima, then delete the three files inside, pull the three files in, and then save the OK. Copy the saved Mclinux.ima to the USB stick/linux/, and then write Menu.lst:
Title Mini Chinese Linux 2.02
Chainloader (fd0) +1
For Bomber Linux 3.7, it is an IMA file itself, so copy it directly to the Linux directory and write Menu.lst
Title Bomberlinux 3.7
Chainloader (fd0) +1
This completes the production, if the USB stick is big enough, you can use the more powerful cdlinux0.5.9 (including x and more software) and DSL, puppy and so on. Finally, we completed the installation of the winpe+maxdosv6plux+ dwarf dos5.3+cdlinux0.4.9+mclinux2.02+bomberlinux3.7 on a 64M USB flash drive, a very full-featured startup USB flash drive. In fact, Maxdos and dwarf dos only need one, Linux also need only one (recommended with Cdlinux, if you want smaller, you can use one of the next two), this can save space, easy to integrate more tools.
In the end, I made these into a stupid installation package. It takes just a few clicks to complete the process.
Need to download the Idiot install package to download here:
Winpe+dostool+minilinux u disk Startup Disk maker Zhenhai Special edition (64M mini) Description:
This installation package integrates:
Old Nine mini WinPE old Peaches withdraw hand regardless of version 070911 (removed IE, music playback, drive, left the system maintenance and testing tools)
Maxdos V6 Plus (PQ8+GHOST11+DM and many other tools)
Dwarf DOS Toolbox 5.3 (GHOST8.3+DM and other tools)
Bomber Linux 3.7
Mini Chinese Linux 2.02
The integrated WinPE + DOS Toolbox + Mini Linux size is less than 64M (post-installation 62M), including mini WinPE with system maintenance and inspection tools and popular two DOS toolboxes, 2 mini Linux. Basically it can be used to repair any type of operating system from Windows to Linux. You can customize the tools and startup items based on your USB drive size (knowledge required).
In order to reduce the volume, modified the WinPE tool set, removed the IE, music playback, driver installation and other unnecessary maintenance of the system tools, leaving the system backup, disk detection, system detection tools.
Modified the Maxdos and dwarf dos one-click Backup System, because the original is only valid for hard disk installation. The system will be backed up directly to the D-packing directory.
[Turn] make a 64M USB drive boot disk (mini Linux + WinPE +dos Toolbox)