📄 extlinux.doc
字号:
EXTLINUX is a new syslinux derivative, which boots from a Linuxext2/ext3 filesystem.It works the same way as SYSLINUX, with a few slight modifications.1. The installer is run on a *mounted* filesystem. Run the extlinux installer on the directory in which you want extlinux installed: extlinux -i /boot Specify --install (-i) to install for the first time, or --update (-U) to upgrade a previous installation. NOTE: this doesn't have to be the root directory of a filesystem. If /boot is a filesystem, you can do: mkdir -p /boot/extlinux extlinux -i /boot/extlinux ... to create a subdirectory and install extlinux in it. 2. The configuration file is called "extlinux.conf", and is expected to be found in the same directory as extlinux is installed in.3. Pathnames can be absolute or relative; if absolute (with a leading slash), they are relative to the root of the filesystem on which extlinux is installed (/boot in the example above), if relative, they are relative to the extlinux directory. extlinux supports subdirectories, but the total path length is limited to 511 characters.4. EXTLINUX now supports symbolic links. However, extremely long symbolic links might hit the pathname limit. Also, please note that absolute symbolic links are interpreted from the root *of the filesystem*, which might be different from now the running system would interpret it (e.g. in the case of a separate /boot partition.) Therefore, use relative symbolic links if at all possible.Note that EXTLINUX installs in the filesystem partition like awell-behaved bootloader :) Thus, it needs a master boot record in thepartition table; the mbr.bin shipped with SYSLINUX should work well.To install it just do: cat mbr.bin > /dev/XXX... where /dev/XXX is the appropriate master device, e.g. /dev/hda,and make sure the correct partition in set active.If you have multiple disks in a software RAID configuration, thepreferred way to boot is:- Create a separate RAID-1 partition for /boot. Note that the Linux RAID-1 driver can span as many disks as you wish.- Install the MBR on *each disk*, and mark the RAID-1 partition active.- Run "extlinux -i /boot" to install extlinux. This will install it on all the drives in the RAID-1 set, which means you can boot any combination of drives in any order.It is not required to re-run the extlinux installer after installingnew kernels. If you are using ext3 journalling, however, it might bedesirable to do so, since running the extlinux installer will flushthe log. Otherwise a dirty shutdown could cause some of the newkernel image to still be in the log. This is a general problem forboot loaders on journalling filesystems; it is not specific toextlinux. The "sync" command does not flush the log on the ext3filesystem.The SYSLINUX series boot loaders support chain loading other operatingsystems via a separate module, chain.c32 (located incom32/modules/chain.c32). To use it, specify a LABEL in theconfiguration file with KERNEL chain.c32 andAPPEND [hd|fd]<number> [<partition>]For example:# Windows CE/ME/NT, a very dense operating system.# Second partition (2) on the first hard disk (hd0);# Linux would *typically* call this /dev/hda2 or /dev/sda2.LABEL cement KERNEL chain.c32 APPEND hd0 2See also README.menu.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -