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-1112385

dionode's questions

Martin Hope
dionode
Asked: 2020-08-06 23:25:25 +0800 CST

更新 grub 链接到不正确的分区

  • 0

我的电脑上安装了两次 Ubuntu 18.04。理想情况下,我只想要一个,但是当我运行sudo update-grub它时,它会不断更新错误分区的配置。我最终想删除第二个分区,但在我可以用 grub 重新链接我的主分区之前不想这样做。

> sudo update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-42-generic
Found initrd image: /boot/initrd.img-5.4.0-42-generic
Found linux image: /boot/vmlinuz-5.3.0-28-generic
Found initrd image: /boot/initrd.img-5.3.0-28-generic
Found linux image: /boot/vmlinuz-4.15.0-112-generic
Found initrd image: /boot/initrd.img-4.15.0-112-generic
Found Ubuntu 18.04.4 LTS (18.04) on /dev/nvme0n1p6
Adding boot menu entry for EFI firmware configuration
done

我要删除的分区是/dev/nvme0n1p6。我想保留并与 grub 链接的是 /dev/nvme0n1p1 但似乎没有被检测到。有没有办法安全地更改配置,以便为 /dev/nvme0n1p1 更新 grub?如果保存的话,我最终会删除 /dev/nvme0n1p6 。

编辑:我尝试了建议的帖子askubuntu.com/questions/1168713/(我知道它是针对非 UEFI 的),并在 /dev/nvme0n1p6 (我想删除的分区)上运行时得到下面的输出。

$ sudo dpkg-reconfigure grub-pc
[sudo] password for dionode: 
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-42-generic
Found initrd image: /boot/initrd.img-5.4.0-42-generic
Found linux image: /boot/vmlinuz-5.3.0-28-generic
Found initrd image: /boot/initrd.img-5.3.0-28-generic
Found Ubuntu 18.04.4 LTS (18.04) on /dev/nvme0n1p1
Adding boot menu entry for EFI firmware configuration
done

来自同一分区的 Sudo update-grub 也包含该行Found Ubuntu 18.04.4 LTS (18.04) on /dev/nvme0n1p1,因此看起来每个分区的 update-grub 只为另一个分区找到 Ubuntu。这正常吗?

grub2 boot partitioning
  • 1 个回答
  • 411 Views
Martin Hope
dionode
Asked: 2020-08-04 23:53:41 +0800 CST

未显示 Ubuntu 18.04 的 Chrome 远程桌面主机设置说明

  • 10

我目前正在尝试在装有 Ubuntu 18.04 的新计算机上设置 chrome 远程桌面。但是,每当我尝试按照https://support.google.com/chrome/answer/1649523#linux-crd上的说明进行操作时,它都会跳过设置阶段并直接进入“设置另一个设备以进行远程访问”。

为了澄清,步骤是:

  1. 安装 chrome 扩展
  2. 安装 Debian 文件https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb
  3. 检查它是否成功使用systemctl status chrome-remote-desktop
  4. https://remotedesktop.google.com/access/上的蓝色设置按钮永远卡住
  5. 如果我尝试在新选项卡中打开它或刷新,我唯一的选择是“设置另一个设备以进行远程访问”或远程访问我已经设置的设备。

今年早些时候,我已经让它在虚拟机上运行,​​并且在我的 Windows 计算机上运行良好。但它似乎只在我的 Ubuntu 18.04 计算机上失败。我还尝试重新安装 google-chrome、chrome-remote-desktop chrome 扩展和 chrome-remote-desktop Debian 文件安装。

有人对可能发生的事情有建议吗?

google-chrome remote-desktop chrome-extension
  • 4 个回答
  • 16012 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