温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

GRUB怎么安装 @20210406

发布时间:2021-07-12 14:12:19 来源:亿速云 阅读:178 作者:chen 栏目:编程语言

本篇内容介绍了“GRUB怎么安装 @20210406”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!

在多数通常下,我们不需要安装 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怎么安装 @20210406”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注亿速云网站,小编将为大家输出更多高质量的实用文章!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI