Syslinux boot disc installation image _ boot from syslinux (isolinux)

Source: Internet
Author: User
The purpose of this article is to study how to create a boot CD in linux. The core file of syslinux I use comes from the official website version 4.03. Note 1: isolinux
NOTE 2: Syslinux 4.05 released. released. You can download the latest version.
NOTE 3: remove the. img file support from Changelog on the official website. This is very important. For more information, go
-----------------------------------
The purpose of this article is to study how to create a boot CD in linux. The core file of syslinux I use comes from the official website version 4.03.


Step 1:
Decompress the downloaded Syslinux File, extract the following file:
Isolinux. bin Note: boot file of the CD image
Isolinux. cfg note: the configuration file of the Startup Menu; self-edited
Memdisk Note: boot IMG image files
Vesamenu. c32 (or menu. c32) Note: Two window modules are officially provided.
Chain. c32 Note: Specify the partition startup for example: chain. c32 hd0, 1 (or chain. c32 hd0, 2)
Reboot. c32 Note: restart the computer file
M16-640x640-syslinux.jpg(or syslinux_splash.jpg) Note: You can define a new image as the background. The image format is 640*480. jpg/png)


Step 2:
Place the extracted files in the following directory: ("//" Comment content, removed when used )
Root directory (iso-dir)
|
| --- Isolinux --- | isolinux. bin
| Isolinux. cfg
| Memdisk
| Vesamenu. c32 (or menu. c32)
| Chain. c32
| Reboot. c32
| M16-640x640-syslinux.jpg(or syslinux_splash.jpg) // the file name can be customized, and the image can be changed by yourself
|
| --- Boot ----- stores IMG images and startup files. // It mainly stores winpe, grub, dos, and other files.


Step 3:
Isolinux. cfg Edit configuration file (You can modify the content of the sample as follows: "//" Followed by the annotation content, removed when used)
F1 readme.txt // Note: F1 ~~ F12 custom hotkeys. We recommend that you compile these documents in linux format. Otherwise, garbled characters are displayed, which may not support Chinese characters. Therefore, you can write them in English.
F2 isolinux. cfg // same as above
Default vesamenu. c32 // note: the default start window
Menu background m16.jpg // note: the BACKGROUND pattern of the window
Menu title xxxxxxxxxxxx // Note: name of the window MENU
LABEL boothd // note
Menu label Boot System of HD0, 1 // Note: A single MENU name is displayed in the window, that is, the file name displayed when the disc is started.
Kernel/isolinux/chain. c32 hd0, 1 // note: the disk is started in the first partition.
LABEL xxxxxxxxxxxxx
Menu label xxxxxxxxxxxxxxxxx
Kernel/isolinux/memdisk // Note: The image with the IMG image pilot less than 2.88MB does not need to be specified C/H/S. This file is very important and should not be changed.
Append initrd =/boot/xly.gz // Note: IMG images can be compressed using wingzip.
LABEL ghost
Menu label Symantec GHOST 11.0.2 upgrade ate Edition
Kernel/isolinux/memdisk c = 214 h = 2 s = 18 floppy // Note: C/H/S must be specified if it is greater than 2.88 MB
Append initrd =/boot/onekey.gz // If the *. gz or img or iam files exceed 2.88 MB, specify C/H/S. Recommended software: GDParam View
LABEL peldr
Menu label Boot WinPE of Windows XP SP2
Kernel/boot/peldr. bin // Note: This file needs to be processed. For details, see Guide file processing. Here, the software loadbin (for windows) is used to process the file)
LABEL grldr
Menu label Goto Grub4dos Boot Menu
Kernel/boot/mygrldr // Note: This file must be processed. For details, see the guide file processing. I did not try it. Reason: I use grub1/grub2 instead.
LABEL g2ldr
Menu label Goto Grub2 Boot Menu
Kernel/boot/g2ldr // Note: As mentioned above, there seems to be no ready-made on the official website. Because you need to compile your own files, you can use the file of super grub.
LABEL reboot
Menu label Reboot Your Computer
Kernel/isolinux/reboot. c32 // Note: start the computer
It is mainly written at the end of this article: There are a lot of practical settings (maybe I don't need it, or I don't know about this feature) that I did not list, such as setting the font color, etc, if you need a friend, check other materials.
Appendix: simple isolinux. cfg example
Default iso-dir
Prompt 0 //Prompt = 1 This is to say, prompt the user to enter the selection, directly press enter is the default option. Of course, if it is set to 0, the user is not prompted to enter the selection.
LABEL Fedora
Kernel/isolinux/vmlinuz
Append initrd =/isolinux/initrd. img

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.