Direct GRUB boot USB flash drive written into MBR start dos and PE practice

Source: Internet
Author: User
I have been using ntldr to direct PE
Because we thought PE was enough.
In addition, ntldr direct guidance is also versatile.

However, we recently discovered that PE is not omnipotent.
So I started the idea of a Dual Boot USB flash drive.

Tried all day
Finally, the USB zip mode is successfully implemented on my USB flash drive.Direct grubGuide
DOS/PE/hard drive triplicate boot
All Chinese
Supports background images
(Only font files are included in the attachment. You need to add the background image yourself)

The attachment contains all tools and files except FLASH Boot and PE images.

The following describes the production process.
Only start in USB zip Mode
First, use flashboot to format the USB flash drive into a zip boot disk.
Use the built-in dos.
At this time, your USB flash drive contains three dos boot files.
Try using this USB flash drive to check whether the boot is successful.
If it fails or the prompt is not a: \ After Entering dos, your motherboard and USB flash drive certainly do not support zip Mode
You don't need to read the following
Because the HDD mode requires additional commands to build your MBR
I have no HDD Environment
I will not comment on things I have never tried.

Note:
For a motherboard that only supports zip boot
Do not use usboot
Even version 1.7, which is claimed to support MB or more of zip boot, does not work.
Because the zip mode made by version 1.7
In the BIOS that only supports zip, the disk is recognized as a hard disk.
My motherboard is like this.

If your USB flash drive can be started successfully
Copy bootlace.com (included in the attachment package) to the USB flash drive.
Boot to DoS with a USB flash drive
Run the following command:
Bootlace.com -- floppy -- CHS 0x00
Note -- floppy -- CHS: Two -- not one-
I failed the first time because I was wrong.
If no error is prompted, the operation succeeds.

Start up with a USB flash drive without understanding English
The error message "grldr not found" indicates that grub MBr has been set up.

Back to XP
Delete all files on the USB flash drive
(Delete the files because they are all useless. Leave them out of the way, and leave them in case you don't need to understand them)
Copy the four files of peach 0325 to the root directory:
Ntdetect. com winnt. xpe winpe. LDR winpe. Is
Copy the external Folder.
Note that the winpe. LDR file is setupldr. bin in some versions.

Next we can create grldr.
Double-click grubdos built-in menu to edit batch processing. bat
Export menu. lst in text format as prompted
In this way, you can use the WordPad to modify the exported menu. lst.

Where
Find -- Set-root/rdos. IMG is used to locate your USB flash drive.
I put a yousm rdos. IMG on the USB flash drive.
You can also create a zero-byte empty file name and replace rdos. IMG with this name.

Chainloader/rxpe. LDR
This statement indicates that rxpe. LDR located in the USB flash disk is loaded (I used the rxpe of yousm in the test)
Change
Chainloader/winpe. LDR
You can load your peach PE.

Map -- MEM/rdos. IMG (fd0)
Map -- hook
Chainloader (fd0) + 1
Rootnoverify (fd0)
Map -- floppies = 1
This section indicates loading rdos. IMG located in the root directory of the USB flash drive.
If you use another version of DOS, you can change this sentence.
Map -- MEM/xxxx (fd0)
XXXX is your dos image name

After the modification is saved
Use grubdos built-in menu to edit batch processing. BAT to write grldr built-in menu
Copy the compiled grldr to the root directory of the USB flash drive.
Copy the fonts file to the boot directory.

OK.

Wish you success

Add two points
1. If the menu is garbled or ntdetect is incorrect
Grub4dos compatibility issues
Please use the grldr of the new version and use the external menu. lst menu
2. If you want to place the PE file in a non-root directory
To modify the menu. lst and WinNT. xpe files, change the name of WINNT. Sif.
Otherwise, the system will prompt that the file cannot be found.
You can find the modification method on the forum.
3. All the software mentioned in this article has been downloaded from my online storage:
Http://hnwzfile.bibidu.com
Flshboot starts the compressed package in an ultra-simple USB flash drive.
You can download other headers.

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.