← 返回命令列表

Linux command

limine 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

limine bios-install [/dev/sdX]

Example

limine bios-install [/dev/sdX] [partition_number]

Example

limine bios-install [path/to/image.iso]

Example

limine enroll-config [path/to/BOOTX64.EFI]

说明

limine is a modern, advanced, portable, multiprotocol bootloader and boot manager supporting BIOS and UEFI systems. It can boot operating systems and kernels using the Limine Boot Protocol, Multiboot 1 and 2, Linux boot protocol, and chainloading. For BIOS systems, use limine bios-install to write the bootloader to a device or image. The boot device must contain limine-bios.sys and limine.conf in a /boot/limine, /boot, /limine, or root directory of one of the partitions. For UEFI systems, copy the appropriate BOOT*.EFI file to the EFI System Partition. Use limine enroll-config to enroll a configuration hash for Secure Boot verification.

参数

bios-install _DEVICE_ _PARTITION_
Install Limine BIOS bootloader to a device or image. For GPT disks, optionally specify a 1-based stage 2 partition number (at least 32 KiB). If omitted on GPT, automatic detection is attempted.
enroll-config _EFI_FILE_
Enroll the BLAKE2B hash of the Limine config file into the Limine EFI executable image for verification purposes (Secure Boot).

FAQ

What is the limine command used for?

limine is a modern, advanced, portable, multiprotocol bootloader and boot manager supporting BIOS and UEFI systems. It can boot operating systems and kernels using the Limine Boot Protocol, Multiboot 1 and 2, Linux boot protocol, and chainloading. For BIOS systems, use limine bios-install to write the bootloader to a device or image. The boot device must contain limine-bios.sys and limine.conf in a /boot/limine, /boot, /limine, or root directory of one of the partitions. For UEFI systems, copy the appropriate BOOT*.EFI file to the EFI System Partition. Use limine enroll-config to enroll a configuration hash for Secure Boot verification.

How do I run a basic limine example?

Run `limine bios-install [/dev/sdX]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does bios-install _DEVICE_ _PARTITION_ do in limine?

Install Limine BIOS bootloader to a device or image. For GPT disks, optionally specify a 1-based stage 2 partition number (at least 32 KiB). If omitted on GPT, automatic detection is attempted.