我已经安装了debian 12后,windows 10,并加载后,有创建grub菜单,当我选择了debian选项,它成为加载,但经过几个屏幕消息,屏幕变成紫色和挂起无尽的,从来没有启动X窗口.我已经在临时grub配置文件中编辑了选项“quiet”到“”,它变成了工作,但当我试图编辑grub.cfg文件时,我无法发出命令
第一个月
bash: update-grub: command not found
字符串
虽然我已经检查,它的路径配置是放在/usr/sbin
root@debian:/# nano /usr/sbin/update-grub
root@debian:/# chmod 777 /usr/sbin/update-grub
root@debian:/# update-grub
型
我还能做什么?
当我hd试图重新安装grub时,它说
oot@debian:/etc/default# apt-get install grub customizer
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package grub is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
grub-efi-amd64 grub-efi-ia32 grub-pc grub2-common
E: Package 'grub' has no installation candidate
E: Unable to locate package customizer
型
(this现在我需要每次编辑GRUB参数在每次 Boot )
那么,我还能做些什么呢?
1条答案
按热度按时间9lowa7mx1#
您已经安装了包含update-grub的软件包。只要确保PATH变量有/usr/sbin目录即可。
字符串