After reading this, you can also make a SYSLINUX boot disc.

Source: Internet
Author: User
After reading this, you can also make the SYSLINUX boot disc file structure as follows: Root-boot │ pe. iso │ ─ ── imgs │ DGDOS. IMG │ HDDREG. IMG │ ISOLINUX. CFG │ MAXDOS. IMG │ snapshot-is... after reading this, you can also make the SYSLINUX boot disc file structure as follows: Root-boot │ pe. iso │ ─ ── imgs │ DGDOS. IMG │ HDDREG. IMG │ ISOLINUX. CFG │ MAXDOS. IMG │ ─-isolinux bg.png chain. c32 isolinux. bin memdisk myfont. psf poweroff.com reboot. c32 syslinux. cfg syslinux_zh.txt vesamenu. c32 syslinux. the content of the cfg configuration file is as follows: # set whether to start to the graphic interface or boot, 0 for graphic interface 1 for boot PROMPT 0 # If flag_val is set to 1, ignore the Shift/Alt/Caps Lock/Scroll Lock escapes. use this (together with PROMPT 0) to force the default boot selection. NOESCAPE 1 # If flag_val is 0, the user is not allowed to specify any arguments on the kernel command line. the only options recognized are those specified in an APPEND statement. the default is 1. ALLOWOPTIONS 0 # set the countdown time. 100 is a 10-second TIMEOUT 100 # Call the isolinux boot core file. The following figure shows the graphical structure. it is exactly what we need if we call menu. c32 is a text-only default/boot/isolinux/vesamenu. c32 # set the BACKGROUND file, which must be an 8-bit deep-color index color mode. The resolution can be set according to the following parameter values for the corresponding menu background bg.png # set the font file, I have commented out the file if I don't want to display it in Chinese. this file needs to be written using software and syslinux. # FONT font. psf *************** * *** # menu resolution 800 600 the RESOLUTION size is not specified. the default RESOLUTION is 640x480 # when the default RESOLUTION is 640x480, the maximum screen width is 78, that is, when [menu margin] is 0, [menu width] + [menu hshift] cannot be greater than 78 # set MENU overall right shift distance menu hshift 46 # set MENU overall move down distance menu vshift 0 # set MENU overall width menu 32 # set blank screen side size, for example, if you set the edge to 5 and the overall menu width to 0, the distance between the two sides of the screen will be empty, the other middle part is the overall MENU width menu margin 0 # set the total number of MENU lines, this value should contain empty line menu rows 13 # set the position of the TAB information, this position is relative to the number of rows down from the top of the MENU. it should be greater than the total number of lines in the MENU. Otherwise, it will be displayed to the menu tabmsgrow 28 # set the position of the command line after pressing the TAB key, it is best to set the same as the above settings MENU character linerow 28 # set the countdown display position, position: move the number of rows down from the top of the menu timeoutrow 28 # set the position of the Password box to move down # menu passwordrow 26 # set the title text of the Password box # menu passprompt Enter Password: # **************** menu color and display effect settings ****************# color settings: where # 00FFFFFF is the foreground color, #00000000 is the background color, the color value is only the last 6 digits, the first two digits are set to display transparency, FF is displayed, 00 is not displayed # [1; 30; 44] corresponding to [width, width, and height] # font display effect settings: [none] disable [std] font shadow [all] display menu box. choose one of the three options: # set menu border menu color border 1; 30; 44 #00 FFFFFF #00000000 none # set menu title menu color title 1; 36; 44 #0000 FFFF #00000000 none # set menu color sel 1; 30; 37 # FFFF0000 #00000000 none # set menu color unsel 1; 37; 44 # FFFFFFFF #00000000 none # set menu color timeout 1; 37; 40 #0000 FFFF #00000000 none # display menu color hotkey 1; 37; 44 # FFFF0000 #00000000 none # set menu color hotsel 1; 37; 40 # FFFFFFFF #00000000 none # set the border of the password input box; title; overall color effect # menu color pwdborder 30; 47 # FFFF0000 #30FF0000 none # menu color pwdheader 31; 47 # FFFF0000 #00 FFFFFF none # menu color pwdentry 30; 47 # FFFF0000 #00FF0000 none # set the first boot prompt information menu autoboot # set the TAB prompt information, for example: press the [TAB] Key of menu tabmsg to go to the command line editing mode menu tabmsg # ******************** MENU actual Content Settings * * ***************** # set menu title # ----------------------------- separation line for ease of reading ------------------------ # set the label pe inside the MENU # MENU display text menu label ^ Windows Server 2003 PE # the following two lines set passwords and support MD5 SHA1 SHA2, however, I did not find the information for changing the password input box. first, comment out # MENU MASTER PASSWD xxx # MENU PASSWD xxx # Create a memory virtual disk * because the new version of SYSLINUX is used here, supports direct adjustment of ISO files, so use the following simplest method * LINUX memdisk # to specify the ISO file to be loaded to the virtual disk INITRD/boot/pe. iso # the following line is the execution parameter APPEND to the previous line of command APPEND iso raw # the following two lines are the text prompt information displayed after a menu is selected, because I comment out # TEXT HELP # Microsoft Windows Server 2003 PE # insert an empty MENU SEPARATOR # --------------------------- SEPARATOR to facilitate reading -------------------------- LABEL MAXDOS MENU LABEL ^ MAXDOS Tool Box # set the parameters of the imgfile to be loaded, if the image is a standard 1.44 or 2.88 MB image, you do not need to set this parameter [c = 78 h = 8 s = 36] # if it is not a standard image, you need to use the winimg software to view the corresponding image file. the parameter kernel/boot/ISOLINUX/MEMDISK c = 78 h = 8 s = 36 floppy # is also the execution parameter attached to the previous line, here is the position of the specified imgfile append initrd =/BOOT/IMGS/MAXDOS. IMG # text help # [MAXDOS] Tool Box menu separator # delimiter for ease of reading -------------------------- label hddreg menu label ^ HDDREG Harddisk Repair Tool kernel/boot/ISOLINUX/MEMDISK c = 80 h = 2 s = 18 floppy append initrd =/BOOT/IMGS/HDDREG. IMG # text help # [HDDREG] Harddisk Repair menu separator # Partition SEPARATOR for ease of reading -------------------------- label dg menu label ^ DISKGEN Partition Management kernel/boot/ISOLINUX/MEMDISK c = 80 h = 2 s = 21 floppy append initrd =/BOOT/IMGS/DGDOS. IMG # text help # [DISKGEN] Partition Management menu separator # Partition SEPARATOR to facilitate reading -------------------------- LABEL hddboot menu label ^ Boot From Harddisk # enter the shortcut key and enter the menu immediate # specify this MENU item is the default menu default # set this MENU to start the computer from the hard disk, A chain is required. the c32 file can be used to implement kernel/boot/ISOLINUX/chain. c32 hd0, 1 # text help # Boot From Harddisk menu separator # --------------------------- separation line for easy reading -------------------------- LABEL reboot menu label ^ Reboot Computer menu immediate # set this MENU to restart the Computer, REBOOT is required. the c32 file can be used to implement kernel/boot/ISOLINUX/REBOOT. c32 # text help # Reboot Computer menu separator # --------------------------- separation line for easy reading ---------------------------- LABEL poweroff menu label ^ Shutdown menu immediate # set this MENU to turn off the Computer, you need the poweroff.com file to implement kernel/boot/ISOLINUX/poweroff.com # text help # Shutdown # set the f1key to display info.txt # FF0000FF as the background color blue # F1 info.txt # FF0000FF to add boot for the disc: first, decompress my attachment, drag all the files into the new file of UltraISO, and then specify a guide for the CD as shown in the figure, is the isolinux in the boot \ isolinux \ folder. bin ..
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.