|
4#
楼主 |
发表于 2016-7-1 07:27:52
来自手机
|
只看该作者
The Syslinux configuration file, syslinux.cfg, should be created in the same directory where you installed Syslinux. In our case, /boot/syslinux/ for BIOS systems and $esp/EFI/syslinux/ for UEFI systems. The bootloader will look for either syslinux.cfg (preferred) or extlinux.conf Tip: Instead of LINUX, the keyword KERNEL can also be used. KERNEL tries to detect the type of the file, while LINUX always expects a Linux kernel. TIMEOUT value is in units of 0.1 seconds. Examples Note: Any configuration file found in the examples needs to be edited to set the proper kernel parameters. See section #Kernel parameters. Please, pay close attention to the paths. The examples may not be suitable for your installation, especially when using UEFI. Boot prompt This is a simple configuration file that will show a boot: prompt and will automatically boot after 5 seconds. If you want to boot directly without seeing a prompt, set PROMPT to 0. Configuration: /boot/syslinux/syslinux.cfg PROMPT 1 TIMEOUT 50 DEFAULT arch LABEL arch LINUX ../vmlinuz-linux APPEND root=/dev/sda2 rw INITRD ../initramfs-linux.img LABEL archfallback LINUX ../vmlinuz-linux APPEND root=/dev/sda2 rw INITRD ../initramfs-linux-fallback.img |
|