GRUB|安装

原文地址:GRUB|安装(永久地址,保存网址不迷路 🙃)

在多数通常下,我们不需要安装 GRUB 程序(因为 Linux 发行版会自带),反而升级场景较多。

但是仍有小部分场景需要我们安装,因此本笔记将记录如何安装 GRUB 引导加载程序。

Kali GNU/Linux Rolling

# 仅安装 GRUB 程序
apt-get install grub-common grub-pc grub-pc-bin grub2 grub2-common

# 安装文档包,包含了grub的相关文档
apt-get install grub-doc grub-legacy-doc

方法二、源码编译安装

参考LFS/GRUB-2.02~beta3

安装的程序列表

grub-bios-setup
Is a helper program for grub-install

grub-editenv
A tool to edit the environment block

grub-file
Checks if FILE is of the specified type.

grub-fstest
Tool to debug the filesystem driver

grub-glue-efi
Processes ia32 and amd64 EFI images and glues them according to Apple format.

grub-install
Install GRUB on your drive

grub-kbdcomp
Script that converts an xkb layout into one recognized by GRUB

grub-macbless
Mac-style bless on HFS or HFS+ files

grub-menulst2cfg
Converts a GRUB Legacy menu.lst into a grub.cfg for use with GRUB 2

grub-mkconfig
Generate a grub config file

grub-mkimage
Make a bootable image of GRUB

grub-mklayout
Generates a GRUB keyboard layout file

grub-mknetdir
Prepares a GRUB netboot directory

grub-mkpasswd-pbkdf2
Generates an encrypted PBKDF2 password for use in the boot menu

grub-mkrelpath
Makes a system pathname relative to its root

grub-mkrescue
Make a bootable image of GRUB suitable for a floppy disk or CDROM/DVD

grub-mkstandalone
Generates a standalone image

grub-ofpathname
Is a helper program that prints the path of a GRUB device

grub-probe
Probe device information for a given path or device

grub-reboot
Sets the default boot entry for GRUB for the next boot only

grub-render-label
Render Apple .disk_label for Apple Macs

grub-script-check
Checks GRUB configuration script for syntax errors

grub-set-default
Sets the default boot entry for GRUB

grub-sparc64-setup
Is a helper program for grub-setup

grub-syslinux2cfg
Transform a syslinux config file into grub.cfg format

相关文章

「GRUB」- 修改字体
「Grub」- 手动引导启动
「启动错误」- Begin: Running /scripts/local-block … done
「GRUB」- 加载模块
「GRUB」- 杂记
「GRUB」- 杂记
「GRUB」- 在BIOS系统上的GRUB引导

参考文献

LFS / GRUB-2.02~beta3

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值