Pre-production preparation work
1. Software required
Grub4dos (http://sourceforge.net/projects/grub4dos/files/)
UltraISO (http://cn.ezbsystems.com/ultraiso/download.htm)
Grubinst (http://sourceforge.net/projects/grub4dos/files/)
2. Required Documents
Win7: (ed2k://|file|cn_windows_7_ultimate_x86_dvd_x15-65907.iso|2604238848| d6f139d7a45e81b76199ddccddc4b509|h=xlul3jrujssgtfx4pgzjiymovw5wjsno|/)
Ubuntu (Http://www.ubuntu.org.cn/download/desktop/windows-installer)
WinPE (used here is Pony PE (http://www.pccppc.com/category.php?cid=3))
Cdlinux (Http://www.cdlinux.info/wiki/doku.php/zh/download/latest)
Also attached XP SP3
(thunder://qufodhrwoi8vdgvszg93bjiuotlwyw4uy29tlzqvmtawmzczotc2njk1mdq1mzawnt8xl9stsoz3aw54cf9zcdmuaxnvwlo=)
Production process
1:grub4dos Installation
First of all, download the Grubinsit file, run the file Grubinsit_gui.exe (Vista and Win7 system needs to run as administrator, otherwise can not find a USB flash drive) Select the target USB drive, settings, and then click Install. Of course, before the format of the U disk, I set the FAT32, do not know the NTFS line can not, have not tried.
Note: Please make sure that the hard disk you choose is the target USB drive, if selected as a hard drive, you may not be able to enter the system. If you have only one hard disk on the computer, then the USB flash drive is HD1, in addition to say a very stupid way, is to first pull out the U disk, look at the list of disk characters, and then plug in the U disk, re-open the Grubinsit_gui.exe and then look at the new drive letter is the target USB drive letter
When this is done, the MBR is successfully written to. Then, the downloaded grub4dos file in the extracted Chinese folder Grldr and Grub.exe copied to the root directory of the target USB drive.
2. Installing Win7
The Windows 7 ISO files and folders are copied to the root of the USB stick, you can delete Autorun.inf, in addition, the folder sources in the Ei.cfg file to select the Win7 version (not required), otherwise is the ultimate version of the installation.
3. Install Ubuntu
Create a new Ubuntu folder in the root directory of the USB stick, rename the Ubuntu image to Ubuntu.iso, and copy the Vmlinuz and Initrd.lz under Casper to the new Ubuntu directory
4. Installing WinPE
Copy the files and folders from the WinPE ISO to the root of the USB stick, and copy the setupldr.bin,ntdetect.com in WinPE to the root of the USB stick and rename the Setupldr.bin to Ldrxpe.
5. Installing Cdlinux
Create a new folder named Cdlinux in the root directory of the USB stick. Copy the Cdlinux.iso, and also copy the Bzimage and INITRD under the Cdlinux folder in the ISO compressed file to the newly created Cdlinux folder (note the English case, Linux is case sensitive).
6. New Menu.lst File
Create a new Menu.lst file in the root directory of the USB stick, open it with Notepad, and the code below
Default 0
Timeout 10
Find--set-root/grldr
Gfxmenu/message
Fontfile/fonts
Title Boot from hard disk
Rootnoverify (HD1)
Chainloader +1
Boot
Title Start WinPE
Chainloader/ldrxpe
Title Start Cdlinux
Kernel/cdlinux/bzimage CDL_LANG=ZH_CN. UTF-8 Cdl_dir=/cdlinux Cdl_img=cdlinux.iso
Initrd/cdlinux/initrd
Title Start Ubuntu
Kernel/ubuntu/vmlinuz boot=casper Iso-scan/filename=/ubuntu/ubuntu.iso locale=zh_cn. UTF-8
Initrd/ubuntu/initrd.lz
Title Install Windows 7
Chainloader/bootmgr
Title to restart the computer
Reboot
Title shut down the computer
Halt
Copy the menu.lst and message, fonts to the root directory.
PS: Code gfxmenu/message and fontfile/fonts have two files, is used to provide the start screen beautification and Chinese language support files, can not, if necessary, Google or Baidu. (It is better to add, otherwise it is black and white screen plus Chinese can not display-garbled).
In this way, a multi-system startup USB drive with fused Win7+winpe+ubuntu+cdlinux is successfully produced, and the system can be successfully entered or installed on the desktop (non-virtual machine) by the pro-test.
Make Win7+ubuntu +winpe+cdlinux Multi-system startup USB flash Drive