AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-528780

Fanta's questions

Martin Hope
Fanta
Asked: 2020-10-01 12:19:30 +0800 CST

在 Focal 安装和引导修复后丢失时,如何将 Windows 10 添加到 GRUB 菜单?

  • 0

我已经安装了 Focal(双启动,已经安装了 Windows 10),并且 GRUB 菜单只列出了 Ubuntu,没有列出 Windows,这在我的 PC 上也是以前的 Ubuntu 版本的习惯。但是,对于以前的版本,运行boot-repair可以解决问题,但这次不行。

奇怪的是,当我看到 GRUB 菜单时,如果我:

  • 点击 [Esc] 进入 GRUB CLI
  • 键入exit以离开 GRUB CLI

然后系统直接启动进入 Windows 10。

我也跑了sudo grub-update,但没有变化。

在 Windows 10 下,我已经运行bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi但没有任何变化。我注意到在 C:\Windows\Boot\EFI 下没有 ubuntu 目录,并且在其中找不到shimx64.efi。

在主板 UEFI 中,我可以选择另外两个启动项,但一个行为相同,另一个直接启动到 Windows 10,没有 GRUB 菜单。

这是来自boot-repair https://paste.ubuntu.com/p/6ZHvQqSfMN/报告的粘贴箱

这里下面/etc/default/grub

我可以收集任何其他信息来解决问题吗?

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

[附加信息] 我有两个 SSD 配置为带有 Intel RST 的 RAID 0。在那个 RAID 上,我有 Windows 10 和 Ubuntu 20.04。见下图。在 UEFI BIOS 中,Sata 模式选择设置为 RAID,无 AHCI。 英特尔 RAID 配置

根据 oldfred 的建议(带有efibootmgr)删除引导条目后,PC 直接引导至 Windows 10,不再显示 GRUB 菜单。从那里,我再次修改了引导条目以重新获得对 Ubuntu 的访问权限;我也尝试boot-repair再运行一次,这是当前状态:

$ sudo efibootmgr -v
BootCurrent: 000E
Timeout: 1 seconds
BootOrder: 000E,0000,0007,0004,0009,0001
Boot0000* Windows Boot Manager  HD(2,GPT,baeb537c-b470-48ab-ae4c-4663a62e8d2a,0x109000,0x32000)/File(\EFI\ubuntu\shimx64.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...,................
Boot0001* CD/DVD Drive  BBS(CDROM,,0x0)AMGOAMNO........o.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.H.2.2.N.S.7.0....................A...........................>..Gd-.;.A..MQ..L.2.K.B.Z.9.8.5.8.2.5. .9. . . . . . . . ......AMBO
Boot0004* ST31000524AS  BBS(HD,,0x0)AMGOAMNO........m.A.0.S.0. .T.O.S.H.I.B.A. .H.D.W.D.1.2.0.........................rN.D+..,.\...........>..Gd-.;.A..MQ..L.A.0.S.0. .T.O.S.H.I.B.A. .H.D.W.D.1.2.0......AMBOAMNO........g.A.0.S.1. .S.T.3.1.0.0.0.5.2.4.A.S.........................rN.D+..,.\...........8..Gd-.;.A..MQ..L.A.0.S.1. .S.T.3.1.0.0.0.5.2.4.A.S......AMBOAMNO........_.I.n.t.e.l. .V.o.l.u.m.e.0.........................rN.D+..,.\...........0..Gd-.;.A..MQ..L.I.n.t.e.l. .V.o.l.u.m.e.0......AMBO
Boot0007* Windows Boot Manager  HD(2,GPT,baeb537c-b470-48ab-ae4c-4663a62e8d2a,0x109000,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)
Boot0009* Removable Drive   BBS(Floppy,,0x0)AMGOAMNO..........G.e.n.e.r.i.c. .M.a.s.s.S.t.o.r.a.g.e.C.l.a.s.s.1.5.3.6....................A.....................................N..Gd-.;.A..MQ..L.G.e.n.e.r.i.c. .M.a.s.s.S.t.o.r.a.g.e.C.l.a.s.s.1.5.3.6......AMBOAMNO..........G.e.n.e.r.i.c. .M.a.s.s.S.t.o.r.a.g.e.C.l.a.s.s.1.5.3.6....................A.............................N..Gd-.;.A..MQ..L.G.e.n.e.r.i.c. .M.a.s.s.S.t.o.r.a.g.e.C.l.a.s.s.1.5.3.6......AMBO
Boot000E* ubuntu    HD(2,GPT,baeb537c-b470-48ab-ae4c-4663a62e8d2a,0x109000,0x32000)/File(EFI\Ubuntu\grubx64.efi)
grub2 dual-boot boot-repair
  • 1 个回答
  • 4356 Views
Martin Hope
Fanta
Asked: 2019-09-04 00:16:55 +0800 CST

Gnome 下的 Dolphin 不显示任何缩略图,如何解决?

  • 2

我已经在 Ubuntu 18.04/Gnome 下安装了 Dolphin 文件管理器(带有apt install)。它不显示任何文件的缩略图,无论是在文件夹中还是在信息面板(右侧)中。见截图。我该如何解决?

在此处输入图像描述

此外,在 Dolphin Preferences 中,我注意到在General > Previews > Show previews for:下有一个空白列表,我不允许对其进行编辑。我相信我应该在那里有一个文件类型列表。见截图。

在此处输入图像描述

我尝试删除~/.cache/icon-cache.kcache和~/.cache/thumbnails.tar的内容,然后注销并再次登录,但没有任何变化。

我还尝试了应该解决视频剪辑缩略图的修复程序,但在此过程中出现错误:

-> sudo apt install ffmpegthumbs mplayerthumbs kffmpegthumbnailer
[sudo] password for fanta: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package mplayerthumbs 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

E: Package 'mplayerthumbs' has no installation candidate

请注意,此问题不仅限于视频剪辑的缩略图,它适用于所有文件,包括图像(Jpeg、PNG 等)。

更新:我尝试添加 KDE Plasma 存储库

deb http://archive.neon.kde.org/user bionic main

然后运行​​sudo apt upgrade并重新启动。我实际上并没有安装 KDE Plasma。现在缩略图正常工作,但我遇到了其他故障,包括无法启动的软件和更新应用程序(software-properties-gtk问题“aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for neon/bionic ”)。因此,我正在撤消更改。

gnome dolphin previews plasma-5
  • 1 个回答
  • 3542 Views
Martin Hope
Fanta
Asked: 2019-05-30 22:58:06 +0800 CST

在哪里阅读 gnome-terminal 使用的主题颜色?

  • 4

我在哪里可以读取 gnome 终端使用的颜色的十六进制或 RGB 代码?

在终端首选项下,我看到它正在使用系统主题中的颜色,但我不知道在哪里阅读这些颜色。系统主题应该是 Ubuntu 18.04 默认安装的主题。

我知道主题在 /usr/share/themes 下;但我不知道应该查看哪个 CSS 文件和其中的代码。

themes gnome-terminal
  • 2 个回答
  • 2907 Views
Martin Hope
Fanta
Asked: 2018-02-03 16:29:34 +0800 CST

如何将 Ubuntu 桌面/GUI 恢复到以前的外观?

  • 2

安装 Evolution 和 Geary 电子邮件客户端后,Ubuntu 桌面和应用程序 GUI 变得一团糟。请参阅下面的屏幕截图以获取示例;如您所见,选项卡不再分开,按钮(恢复、关闭)也不再绘制。

如何在不重新安装 Ubuntu 的情况下恢复以前的桌面/GUI 外观?

我尝试过的事情:

  • 清除 Evolution 和 Geary
  • 清除并重新安装ubuntu-desktop(从控制台,CTRL+ALT+F1)
  • 清除并重新安装unity(从控制台,CTRL+ALT+F1)
  • rm -rf ~/.compiz-1 ~/.config/compiz-1

使用默认桌面运行 Ubuntu 16.04。

截屏

unity evolution 16.04 geary
  • 1 个回答
  • 774 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve