grub 边框乱码

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
头像
NetDreamer
帖子: 858
注册时间: 2007-10-19 20:40
联系:

Re: grub 边框乱码

#16

帖子 NetDreamer » 2014-07-29 19:40

:~$ sudo cat /etc/fstab
[sudo] password for frank:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=d0907983-00e6-44cc-b9f3-906816f986d5 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=B8BB-3212 /boot/efi vfat defaults 0 1
# swap was on /dev/sda4 during installation
UUID=23b1e3d6-c60e-478e-8ea6-1294b7d0382b none swap sw 0 0
:~$ sudo ls -al /dev/disk/by-uuid/* | grep sda
lrwxrwxrwx 1 root root 10 Jul 29 19:35 /dev/disk/by-uuid/23b1e3d6-c60e-478e-8ea6-1294b7d0382b -> ../../sda4
lrwxrwxrwx 1 root root 10 Jul 29 19:35 /dev/disk/by-uuid/7882C32582C2E72A -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 29 19:35 /dev/disk/by-uuid/B8BB-3212 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 29 19:35 /dev/disk/by-uuid/d0907983-00e6-44cc-b9f3-906816f986d5 -> ../../sda5
求 poloshiao 大神帮忙给编一下 grub.cfg 。
Live and let live.
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: grub 边框乱码

#17

帖子 poloshiao » 2014-07-29 21:31

試試
1. 先安裝 gksu 套件
2. gksudo gedit /boot/efi/EFI/fedora/grub.cfg
search.fs_uuid d0907983-00e6-44cc-b9f3-906816f986d5 root hd0,gpt5
set prefix=($root)/boot/grub
configfile $prefix/grub.cfg
3. 意思是 引導到 /dev/sda5 的 /boot/grub/grub.cfg
請複核一下
头像
NetDreamer
帖子: 858
注册时间: 2007-10-19 20:40
联系:

Re: grub 边框乱码

#18

帖子 NetDreamer » 2014-07-29 22:15

好了!grub 界面终于恢复。

终于可以回到开头的问题:怎么解决无法更改 grub 选单显示时间的问题。

是不是执行这个就可以:
試試
sudo grub-mkconfig -o /boot/grub/grub.cfg
先前你提到的,我原来以为跟 update-grub 是一样的。
Live and let live.
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: grub 边框乱码

#19

帖子 poloshiao » 2014-07-29 22:45

恭喜你 可以試試
動手之前 先把 /boot/grub/grub.cfg 備存
sudo cp -a /boot/grub/grub.cfg /boot/grub/grub.cfg.backup
這樣 動手以後 可以比較 也可以回復
头像
NetDreamer
帖子: 858
注册时间: 2007-10-19 20:40
联系:

Re: grub 边框乱码

#20

帖子 NetDreamer » 2014-08-04 17:27

一直执着于不显示 grub 选单,所以一直在试 timeout=0,一直也没效果,今天发现 timeout=1 起作用,聊胜于 10 吧。 :em06
Live and let live.
回复