GRUB boot USB flash drive (integrated with common tools/deep hill red leaf PE toolkit V30/perfect U disk Maintenance System v8.1)

Source: Internet
Author: User
Tags gz file

Here, I would like to thank "Lianjiang", "grub4dos elementary tutorial" by "Lianjiang", and "Lianjiang" for their valuable experience in grub beginners.
I have just come into contact with grub. If there are any omissions, I hope you will not mention them.

1. First Use "hpusbfw" (HP formatting tool), file system select "FAT32", "Create a MS-DOS boot disk", select "use internal MS-DOS boot disk", click "start ", click "yes ". First confirm that the USB flash drive can be started at this time.

2. After confirming that the USB flash drive can be started, copy "bootlace.com" to the root directory of the USB flash drive. If the drive letter after the USB flash drive is "A: \>", enter "bootlace.com -- floppy -- CHS 0x00" (excluding quotation marks and spaces) and press Enter. If the drive letter is "C: \>", enter "bootlace.com 0x80" and press Enter. There is a prompt such as "disk .................. Table :.................. After "success" and other information, it indicates that grub4dos boot records have been successfully installed to the Boot Sector (MBR) of the USB flash disk.

3. To support Chinese display and background images (the background and font must be used together ).
(1) copy the grldr1_badgrub.exe file in the chinese.exe folder of the Chinese version grub4dos( this file does not need to be copied: It is used when grub.exe is unavailable, that is, the bad grub's idea and grub.exe are copied to the root directory,
(2) create a "Boot" folder under the root directory of the USB flash drive and create a "Grub" folder in the "Boot" folder,
(3) copy the background file xxx.xpm.gz.pdf and the fonts.gz file to this folder. This folder is used for storage: font files, grub background files, IMG, Ima and other boot files (currently fat12, fat16, FAT32, NTFS, ext2 and ext3 File System partitions ).

4,

(1) create a new document in the root directory of the U disk and name it "myudisk.txt". This file is empty.
(2) edit the menu. LST file:

# Menu wait time (seconds)
Timeout 30


# Default startup value
Default 0

# Setting a graphic Background File
Splashimage (hd0, 0)/boot/GRUB/winxp.xpm.gz

# Set Font files supported by Chinese Characters
Fontfile (hd0, 0)/boot/GRUB/fonts.gz

# Start old peach winpe
Title old peach winpe
Find -- Set-root/myudisk.txt
Chainloader/ldrxpe

# Enable the perfect USB flash drive maintenance system v8.1
Title perfect person U disk Maintenance System v8.1
Find -- Set-root/myudisk.txt
Chainloader/ntldr

# Start dm9.57
Title DM 9.57
Find -- Set-root/myudisk.txt
Map -- MEM/boot/GRUB/dm957.img (fd0)
Map -- hook
Chainloader (fd0) + 1
Rootnoverify (fd0)

# Start DM 10
Title DM 10
Find -- Set-root/myudisk.txt
Map -- MEM/boot/GRUB/dm10.img (fd0)
Map -- hook
Chainloader (fd0) + 1
Rootnoverify (fd0)

# Start ghost 11.5
Title ghost 11.5
Find -- Set-root/myudisk.txt
Map -- MEM/boot/GRUB/ghost. IMG (fd0)
Map -- hook
Chainloader (fd0) + 1
Rootnoverify (fd0)

# Start the dostoolbox
Title dostoolbox
Find -- Set-root/myudisk.txt
Map -- MEM/boot/GRUB/dostools. Ima (fd0)
Map -- hook
Chainloader (fd0) + 1
Rootnoverify (fd0)

 

# Start maxdos
Title maxdos
Find -- Set-root/myudisk.txt
Map -- MEM/boot/GRUB/maxdos. IMG (fd0)
Map -- hook
Chainloader (fd0) + 1
Rootnoverify (fd0)

# Start the dostool (ISO)
Title dostool (ISO)
Find -- Set-root/myudisk.txt
MAP/myboot. ISO (hd32)
Map -- hook
Chainloader (hd32)
Boot

# Start the CMOS Password clearing tool
Start the CMOS Password clearing tool
Find -- Set-root/myudisk.txt
Map -- MEM/boot/GRUB/icmos. Ima (fd0)
Map -- hook
Chainloader (fd0) + 1
Rootnoverify (fd0)

 

# Start the fault recovery console XP
Title fault recovery console XP
Find -- Set-root/myudisk.txt
Chainloader/setupldr.001

# Return to the Windows Startup Menu
Title back to Windows Startup Menu
Rootnoverify (hd1, 0)
Makeactive
Chainloader+ 1

# Start the operating system from the local hard disk
Title start the operating system from the local hard disk
Map (hd0) (hd1)
Map (hd1) (hd0)
Root (hd1, 0)
Chainloader (hd1, 0) + 1
Boot

# Restarting a computer
Title restart the computer
Reboot

# Shut down the computer
Title: Disable computer
Halt

Note: # The following is a comment. The English letters in menu. lst must be in lower case.

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.