

grub2不显示自定义菜单项的解决
source link: https://blog.lilydjwg.me/posts/21781.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

grub2不显示自定义菜单项的解决
本文来自依云's Blog,转载请注明。
今天弄gparted的live版,在虚拟机里按照这里的说明配置grub2,却始终不见自己新加的菜单项,只好每次尝试启动gparted时手动输入那一串长长的指令,郁闷啊。。。
Google了半天,用中文只能找到些grub2的配置说明的文章,而且代码十分地不整洁,光看到页面鼠标就不由自主地中键点击标签页标题了。于是换用英文,搜索“grub2 menuentry not display”,也没什么有针对性的结果,于是我点了第一项,是Ubuntu的文档。看了一小会儿后,终于有了重大发现——
-
Do not leave empty spaces at the end of lines
再看看自己复制过来的配置,果然在最后一个}后多了一个空格!
但我还是有点纳闷:为什么行末多了一个空格就不行了呢?也没有错误或警告。。。
Recommend
-
9
GRUB2 has always rubbed me the wrong way. It works — most of the time — but its complexity and structural distance from GRUB Legacy make debugging and customization nearl...
-
17
GRUB2 UEFI SecureBoot vulnerability - 'BootHole' Developers in Debian and elsewhere in the Linux community have recently become aware of a severe problem in the GRUB2 bootloader that allows a bad actor to comple...
-
18
Several vulnerabilities have been disclosed in the GRUB2 bootloader; they enable the circumvention of the UEFI secure boot mechanism and the persistent installation of hostile software. Fixing the problem is not just a matter...
-
11
11.1 菜单项的角色(role) 常用的菜单项角色 菜单项的角色就是菜单的预定义动作,通过菜单对象的 role 属性设置,通用的角色如下: paste pasteAndMatchStyle selectAll delete min...
-
5
grub2 引导 openSUSE 安装镜像 本文来自依云's Blog,转载请注...
-
33
How to manually add menu entry to GRUB2 menu on Arch LinuxSearch ComputingForGeeksAs I’ve made
-
4
最近遇到了一个故障,在集群软件升级过程中,发现某一个磁盘分区变为只读,导致存储应用识别该磁盘不可用。调查发现集群升级过程中,会重新生成每个节点的 GRUB 配置文件,在执行 grub2-mkconfig 过程中导致的磁盘分区只读。记录下 grub2-mk...
-
9
grub2 引导 Arch Linux 安装镜像的方法 本文来自依云's Blog,转载请...
-
8
Setting a grub2 Boot Splash Image For many years, I used extlinux as my boot loader to avoid having to deal with
-
17
基于electron+vue+element构建项目模板之【自定义标题栏&右键菜单项篇】 ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK