Multi-system USB disk Startup disk production, the successful start of win8pe,ubuntu,deepin2013,deepin2014, as well as the USB drive to start the computer installed system.

Source: Internet
Author: User

The previous use of U disk System are used UltraISO direct production of the startup disk, and sometimes a couple of days have to dress up the system, today is windows, tomorrow is Ubuntu, the day after that may be other Linux distribution, very inconvenient, So just want to use a U disk to do a multi-system startup disk, after n days of continuous practice, and constantly try to finally let me succeed.

Pre-production preparation :

1) 1 USB flash drive with 4G capacity,

2) Online search for WinPE ISO image, a lot of, like that old Peaches, computer shop WinPE is not possible, because they are not ISO image.

3) Download the following several files:

Bootice: Run on the Windows system, used to write to the USB stick GRUB2, this can also be downloaded on the Internet self-search.

Boot.7z:grub Startup file

Memdisk: Used to boot the WinPE boot. Booting the Windows installation image directly doesn't seem to work.


Summary of the production method: (to the U disk to write grub-> copy boot folder to a USB flash drive, copy Memdisk to the boot folder, modify the Grub.cfg file,) only these 4 steps, of course, ISO image to put on the USB stick, the following detailed explanation.


1. Write grub to the USB flash drive with Bootice.


2. Copy the boot directory to the root directory of the USB stick.

3, copy the Memdisk to boot directory, Memdisk used to boot WinPE.

The final directory structure is as follows:

4, modify the configuration boot/grub/grub.cfg file. (Note: I uploaded a boot document with a grub.cfg, you can take a look at the study, here is the grub.cfg file I am using now.) )

--------------------------------------------------------------------------------------------------------------- -----------------------------------------




Explain the Grub.cfg file.


Mount Linux Systems

Menuentry ' try and install Ubuntu-14.04-desktop-amd64 ' {----------------display title, you can set it yourself
Set isofile= '/iso/ubuntu-14.04-desktop-amd64.iso '------------------set up the system image to be installed as:/iso, ISO is the folder I built on the USB drive
Search--set-f $isofile
Loopback loop $isofile------------------load image
Gfxpayload=keep

Linux (Loop)/casper/vmlinuz.efi boot=casper iso-scan/filename= $isofile ro locale=zh_cn. UTF-8-------------this sentence locale=zh_cn. UTF-8 is set in Chinese, otherwise it will be garbled, the front (loop) should be cyclic loading, on the line recursion, some information in the evening did not add, I try not.
INITRD (Loop)/casper/initrd.lz
}

Mount WinPE System

Menuentry ' Boot 1 Windows 8 PE full Tools ' {
Set root= ' (HD0,MSDOS1) '
Echo ' Loading memdisk ... '-----display text, show people
Insmod Memdisk
The Linux16/boot/memdisk ISO raw----uses the Memdisk tool, which is in the/boot directory of the USB flash drive.
Echo ' Loading ISO ... '
Echo ' Made by Liang!!! '
Initrd16/iso/win8pe.iso-------Win8pe.iso is my PE mirror. Load PE Mirror:
}



By the way, boot your system:

1) If you only have a Windows system, then you don't have to be so troublesome, the USB drive boot disk We do will automatically search for installed Windows systems. The data in the grub.cfg is inside.


If your system is now multi-system, and is grub boot, in order to prevent play bad startup items, and not into the system, you can put the computer grub boot data directly to the grub.cfg of the USB stick.



My current USB drive boot disk is as follows:

Because this diagram restarts the computer to take pictures with the mobile phone, cannot, so later uploads.







Related Article

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.