extlinux1
Install the syslinux bootloader on an ext2/ext3/ext4/btrfs/xfs filesystem
Usage
extlinux [options]
directory
Overview
EXTLINUX is a new syslinux derivative, which boots from a Linux ext2/ext3/ext4/btrfs or xfs filesystem. It works the same way as SYSLINUX, with a few slight modifications. It is intended to simplify first-time installation of Linux, and for creation of rescue and other special-purpose boot disks.
The installer is designed to be run on a mounted directory. For example, if you have an ext2, ext3, ext4, or btrfs usb key mounted on /mnt, you can run the following command:
-
extlinux --install /mnt
Options
-
-H, --heads=# -
Force the number of heads.
-
-i, --install -
Install over the current bootsector.
-
-O, --clear-once -
Clear the boot-once command.
-
-o, --once=command -
Execute a command once upon boot.
-
-M, --menu-save=label -
Set the label to select as default on the next boot
-
-r, --raid -
Fall back to the next device on boot failure.
-
--reset-adv -
Reset auxiliary data.
-
-S, --sectors=# -
Force the number of sectors per track.
-
-U, --update -
Updates a previous EXTLINUX installation.
-
-z, --zip -
Force zipdrive geometry (-H 64 -S 32).
-
--device=devicename -
Override the automatic detection of device names. This option is intended for special environments only and should not be used by normal users. Misuse of this option can cause disk corruption and lost data.
Files
The extlinux configuration file needs to be named syslinux.cfg or extlinux.conf and needs to be stored in the extlinux installation directory. For more information about the contents of extlinux.conf, see syslinux(1) manpage, section files.
Limitations
Booting from XFS only works when an MBR partition table is used (not on GPT partition tables).
Releases
9 releases since Debian 6.0 (Squeeze); the text changed 2 times.
--device since Debian 8 (Jessie).