Automic VaultAutomic Vault

brew

使用 Homebrew 安装 x86_64-elf-grub

查看 x86_64-elf-grub 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install x86_64-elf-grub

local Homebrew formula metadata

概览

软件包摘要

GNU GRUB bootloader for x86_64-elf

命令和别名

  • x86_64-elf-grub-editenv
  • x86_64-elf-grub-file
  • x86_64-elf-grub-fstest
  • x86_64-elf-grub-glue-efi
  • x86_64-elf-grub-kbdcomp
  • x86_64-elf-grub-menulst2cfg
  • x86_64-elf-grub-mkfont
  • x86_64-elf-grub-mkimage
  • x86_64-elf-grub-mklayout
  • x86_64-elf-grub-mknetdir
  • x86_64-elf-grub-mkpasswd-pbkdf2
  • x86_64-elf-grub-mkrelpath
  • x86_64-elf-grub-mkrescue
  • x86_64-elf-grub-mkstandalone
  • x86_64-elf-grub-render-label
  • x86_64-elf-grub-script-check
  • x86_64-elf-grub-syslinux2cfg

历史

项目历史与用法

GNU GRUB is the GNU Project boot loader used to load operating-system kernels and chain-load other boot paths. It is closely associated with the Multiboot specification and is a common bootloader for GNU/Linux and hobby operating-system development.

The x86_64-elf variant is useful when building GRUB tools and images for an x86-64 ELF target from a different host environment. Users reach for it when producing bootable images for kernels, teaching OS development, or assembling freestanding boot artifacts rather than managing the host's own boot loader.

项目历史

GRUB originated in 1995 when Erich Boleyn was trying to boot GNU Hurd with the University of Utah's Mach 4 microkernel, now GNU Mach. Boleyn and Brian Ford designed the Multiboot Specification to avoid adding yet another incompatible PC boot method, and Boleyn began from FreeBSD boot-loader work before deciding to write a new boot loader.

In 1999 Gordon Matzigkeit and Yoshinori K. Okuji adopted GRUB as an official GNU package and opened development via anonymous CVS. Around 2002 Okuji began PUPA, a rewrite intended to make GRUB cleaner, safer, more robust, and more powerful; PUPA became GRUB 2, while the original line became GRUB Legacy.

采用历史

GRUB Legacy's last release was 0.97 in 2005, while GRUB 2 gradually replaced it. The GNU manual records limited GNU/Linux distribution use of GRUB 2 by about 2007 and default installation by multiple major distributions by the end of 2009.

GRUB also became important in the OS development community because it can load Multiboot-compliant kernels and can be used to create bootable ISO, disk, USB, BIOS, and UEFI images for test kernels. OSDev documentation treats GRUB 2 as a standard way to avoid writing a bootloader before testing a kernel.

使用方式

The cross-target GRUB package is not about changing the host's boot configuration. It supplies target-prefixed GRUB utilities such as grub-mkimage, grub-mkrescue, and grub-mkstandalone for creating x86-64 ELF boot artifacts from a development machine.

Typical users build a kernel with a Multiboot or Multiboot2 header, create a grub.cfg, and use GRUB image-building commands to produce an ISO, disk image, or UEFI binary that can be tested in an emulator or on hardware. The target-prefixed tools keep that flow separate from any GRUB installation that might boot the developer's own machine.

为什么软件包爱好者会关心

This is a niche but meaningful package for people building operating systems on macOS or another non-target host. It pairs naturally with x86_64-elf-gcc and x86_64-elf-binutils, because GRUB builds for a target platform need target-aware compiler and binary utilities rather than host-default tools.

时间线

  • 1995: GRUB begins while Erich Boleyn works on booting GNU Hurd with Mach.
  • 1999: GRUB becomes an official GNU package under Gordon Matzigkeit and Yoshinori K. Okuji.
  • Around 2002: PUPA begins as a major rewrite that becomes GRUB 2.
  • 2005: GRUB Legacy 0.97 is released as the last Legacy release.
  • 2007-2009: GRUB 2 moves from limited distribution use to defaults in multiple major GNU/Linux distributions.

Related projects

  • The Multiboot and Multiboot2 specifications define the kernel-loading contract many hobby OS kernels use with GRUB.
  • GNU Binutils and GCC cross toolchains provide the target-aware build tools used alongside x86_64-elf GRUB.
  • QEMU is commonly used to boot and test the images GRUB creates.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:image

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 6 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
x86_64-elf-grub-editenvcli全局可执行文件
x86_64-elf-grub-filecli全局可执行文件
x86_64-elf-grub-fstestcli全局可执行文件
x86_64-elf-grub-glue-eficli全局可执行文件
x86_64-elf-grub-kbdcompcli全局可执行文件
x86_64-elf-grub-menulst2cfgcli全局可执行文件
x86_64-elf-grub-mkfontcli全局可执行文件
x86_64-elf-grub-mkimagecli全局可执行文件
x86_64-elf-grub-mklayoutcli全局可执行文件
x86_64-elf-grub-mknetdircli全局可执行文件
x86_64-elf-grub-mkpasswd-pbkdf2cli全局可执行文件
x86_64-elf-grub-mkrelpathcli全局可执行文件
x86_64-elf-grub-mkrescuecli全局可执行文件
x86_64-elf-grub-mkstandalonecli全局可执行文件
x86_64-elf-grub-render-labelcli全局可执行文件
x86_64-elf-grub-script-checkcli全局可执行文件
x86_64-elf-grub-syslinux2cfgcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本2.12
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://savannah.gnu.org/projects/grub

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://savannah.gnu.org/projects/grubnone 置信度

安装元数据

软件包元数据

软件包键brew:x86_64-elf-grub
版本2.12
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/x86_64-elf-grub
主页https://savannah.gnu.org/projects/grub
仓库https://gitlab.freedesktop.org/gnu-grub/grub
上游文档https://www.gnu.org/software/grub/manual/grub/grub.html
许可证GPL-3.0-or-later
源码归档https://ftpmirror.gnu.org/gnu/grub/grub-2.12.tar.xz
依赖freetype, gettext, xz
构建依赖gawk, help2man, pkgconf, texinfo, x86_64-elf-binutils, x86_64-elf-gcc
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namex86_64-elf-grub
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment