Create a Windows 7 installation + Ubuntu liveusb + winpe multi-system boot USB flash drive

Source: Internet
Author: User

People who have experience in reinstalling the system know that the operating system installation methods are generally divided into hard disk installation, USB flash disk installation, and CD installation. The mobile USB flash disk installation method is the most convenient and convenient, in addition, it is very practical and convenient to use winpe for system maintenance. liveusb is a Linux system repair tool that every user with a Linux system must have. Therefore, it is an affordable option to create a Windows 7 installation + Ubuntu livecd + winpe multi-function system to start a USB flash drive.

Preparations

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. files required

Windows 7 RTM x86 or x64 disc image files

Ubuntu10.04 i386 or amd64 ISO Image File

Winpe (here is the pony PE (http://www.pccppc.com/category.php? Cid = 3 ))

Startup interface beautification and Chinese support files (optional)

Production Process

1. USB flash drives can be started.

Open the ultraiso software and follow these steps:. file> open> select win7 image file to open; B. start> write hard disk image> select the target U disk (at least 4 GB), easy to Start> write the new Hard Disk Master Boot Record (MBR)> select USB-HDD +> write; wait until the write is complete.

PS: here, the USB flash drive can be started, and step A can be left for later. In addition, we generally install Windows 7 only for the flagship version, but we cannot use many features in the flagship version, it also occupies system resources, so if the computer configuration is not particularly good, you can select a lower version of win7 for installation, here, you can use the image file of win7 flagship edition to slightly change it to the version selection and installation feature during installation. The specific operation is: after opening the win7 image file, delete the EI. cfg file in the Sources folder, and then proceed to step B.

2. Install grub4dos

First, decompress the downloaded grubinsitfile and run the grubinsit_gui.exe file (run as administrator in Vista and win7 systems; otherwise, the USB flash drive cannot be found). Select the target USB flash drive, set it, and click Install.

 

Note: Make sure that the hard disk you selected is the target USB flash disk. If the hard disk is selected, the system may be inaccessible. The new drive letter is the drive letter of the target USB disk.

After this operation, the MBR of the USB flash disk is rewritten. Then copy grldrand grub.exe In the downloaded grub4dos file to the root directory of the target USB disk together with the menu. LST file in the same root directory.

3. Install winpe

Use ultraiso to open the downloaded pony PE. ISO image file. copy the file to the root directory of the USB flash drive and set ntdetect.com and setupldr. bin is also copied to the root directory of the USB flash drive, and setupldr. bin renamed ldrxpe

4. Install ubuntu10.04 liveusb

Create a folder Ubuntu under the root directory of the USB flash drive and rename the downloaded Ubuntu ISO image file to Ubuntu. ISO, extract the initrd under the Casper folder in the image file. LZ and vmlinuz files and ubuntu. put the ISO file together in the Ubuntu folder.

5. Edit the menu. LST file

Open the menu. LST file in notepad and add the following code:

Default 0
Timeout 10
Find -- Set-root/grldr
Gfxmenu/message
Fontfile/Fonts

Title install Windows 7
Chainloader/bootmgr

Title start Ubuntu livecd
Kernel/Ubuntu/vmlinuz boot = Casper iso-Scan/filename =/Ubuntu/ubuntu. ISO locale = zh_CN.UTF-8
Initrd/Ubuntu/initrd. LZ

Start winpe
Chainloader/ldrxpe

PS: There are two files in the Code gfxmenu/message and fontfile/fonts, which are used to provide startup interface beautification and support for Chinese characters. You can choose Google or Baidu if necessary.

 

 

 

 

 

 

From: http://blog.163.com/fx125437@126/blog/static/11357041201110259122480/

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.