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

Marco Castro's questions

Martin Hope
Marco Castro
Asked: 2020-03-13 09:23:49 +0800 CST

是否有可以发送到 USB 端口以请求系统时间的命令?

  • 0

我想为我正在处理的项目添加一个功能,其中一旦外部控制器设备打开电源,它就会向 Ubuntu PC 的 ttyusb 端口和 Ubuntu PC 发送时间请求/命令发回系统的时间和日期。Ubuntu中是否存在这样的命令?

例如:

'timeReq' > /dev/ttyUSB0

其中“时间”是回显系统时间的命令

time tty serial-port embedded-system
  • 1 个回答
  • 2159 Views
Martin Hope
Marco Castro
Asked: 2020-01-27 21:23:02 +0800 CST

当我连接 USB 鼠标重新启动时,GRUB 冻结

  • 6

我正在使用 Windows 10 和 Ubuntu 20.04 运行 EFI 双引导。带有 NVIDIA 显卡的 HP Spectre。

仅当我启动并且有闪存驱动器或任何设备连接到 USB 端口时才会出现此问题。GRUB 冻结并停留在那里。我必须强制重新启动计算机并删除设备,只有这样它才能正常启动

wireless grub2 boot drivers usb
  • 2 个回答
  • 965 Views
Martin Hope
Marco Castro
Asked: 2020-01-26 16:58:39 +0800 CST

如果已经有 Windows 的 EFI 分区,我需要为 Ubuntu 创建一个新的 EFI 分区吗?

  • 6

我正在尝试对 Ubuntu 进行双引导安装,但我注意到我的 SSD 中已经有一个 EFI 分区。我需要为我的 Ubuntu 分区创建一个新分区吗?

磁盘分区

grub2 boot dual-boot partitioning uefi
  • 2 个回答
  • 8172 Views
Martin Hope
Marco Castro
Asked: 2020-01-21 04:53:09 +0800 CST

双启动安装后 Windows 10 无法启动 - 傲腾卷

  • 1

刚买了一台 HP Spectre x360 并立即安装了 Ubuntu。我安装了 Ubuntu 19.10,刚安装完 GNU grub2 就冻结了,它不会让我做任何事情。

几次重新启动后,它开始正常工作,但是当我尝试启动 Windows 时,它会进入“准备 Windows 修复”屏幕,然后进入“诊断您的 PC”,然后显示一条消息:

“自动修复无法修复您的 PC”。并指出 中的一个日志文件D:\Recovery\WindowsRE\Winre.wim\System32\Logfiles\Srt\SrtTrail.txt,但是当我尝试使用wimextract它时说该目录不存在。我尝试使用它查找它wimdir并且没有这样的目录。

从那里您可以关闭或选择高级选项以尝试从其他地方启动或进入 UEFI。有时在启动时它会先进入 mok 管理,然后进入 grub,我使用的是安全启动。

我试过update-grub,启动修复应用程序,但它不会修复它,不会让我检查“修复 Windows 启动文件”选项,我尝试使用 syslinux,但我没有成功。

我已经运行了引导修复引导信息脚本,结果如​​下:

                      Boot Info Script 0.61      [1 April 2012]


============================= Boot Info Summary: ===============================


md/imsm0: ______________________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /tmp/BootInfo-DuWW9OCP/MDRaid/md/imsm0: unknown filesystem type ''.

============================ Drive/Partition Info: =============================

no valid partition table found
"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/loop1                                              squashfs   
/dev/loop10                                             squashfs   
/dev/loop11                                             squashfs   
/dev/loop12                                             squashfs   
/dev/loop13                                             squashfs   
/dev/loop14                                             squashfs   
/dev/loop15                                             squashfs   
/dev/loop16                                             squashfs   
/dev/loop17                                             squashfs   
/dev/loop2                                              squashfs   
/dev/loop3                                              squashfs   
/dev/loop4                                              squashfs   
/dev/loop5                                              squashfs   
/dev/loop6                                              squashfs   
/dev/loop7                                              squashfs   
/dev/loop8                                              squashfs   
/dev/loop9                                              squashfs   
/dev/nvme0n1p1   247F-AFEF                              vfat       SYSTEM
/dev/nvme0n1p2                                                     
/dev/nvme0n1p3   4ACCCEDACCCEBF85                       ntfs       Windows
/dev/nvme0n1p4   EE98564E98561585                       ntfs       Windows RE tools
/dev/nvme0n1p5   b59b4873-c674-4655-a8ef-3dc8045776ec   ext4       
/dev/nvme1n1                                            isw_raid_member 

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/fuse        /run/user/1000/doc       fuse       (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/nvme0n1p1   /boot/efi                vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/nvme0n1p5   /                        ext4       (rw,relatime,errors=remount-ro)


======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on md/imsm0

=============================== StdErr Messages: ===============================

mdadm: (IMSM): Unsupported attributes : 3000000
mdadm: Unsupported attributes in IMSM metadata.Arrays activation is blocked.
mdadm: Cannot activate member /md127/0 in /dev/md/imsm0.
mdadm: (IMSM): Unsupported attributes : 3000000
mdadm: Unsupported attributes in IMSM metadata.Arrays activation is blocked.
mdadm: Cannot activate member /md127/1 in /dev/md/imsm0.

引导修复错误信息:

An error occurred during the repair.

Please write on a paper the following URL:
https://paste.ubuntu.com/p/HptHXhysPZ/

In case you still experience boot problem, indicate this URL to:
[email protected] 

You can now reboot your computer.
Please do not forget to make your BIOS boot on nvme0n1p3/efi/ubuntu/shimx64.efi file!

The boot files of [The OS now in use - Ubuntu 19.10] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot/efi partition (FAT32, 100MB~250MB, start of the disk, boot flag). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot/efi partition:] option of [Boot Repair].

我想我已经有了 /boot/efi 分区(FAT32,100MB~250MB,磁盘启动,引导标志),分区没有挂载。还要注意 windows 分区上的小警告

文件分区

所以我尝试过使用 Rescatux,但由于某种原因,我对我的设备非常挑剔。当我启动到 Rescatux 时,我没有找到关于我所看到内容的说明,我要求选择一个内核,但如果选择第一个选项,它只会进入下一个屏幕,并且什么也不做。

Rescatux 图形用户界面

Rescatux GUI 中的选项 1

如果我选择第二个选项,它将在一个看起来黑屏的 shell 中运行一些东西,最后会返回一条错误消息。我想我可以得到一个日志文件。

Rescatux GUI 中第二个选项的错误

Rescatux GUI 中第二个选项的错误

其他 2 个选项只是说该目录不存在

来自 Rescatux 的日志可以在以下链接中找到: 来自 Rescatux 的日志文件

这就是我的 GRUB 在这一点上的样子:

格鲁布

我还尝试从我刻录到外部 SSD 的 Windows 映像启动,但它也无法启动。如何根据这些问题彻底卸载 Ubuntu?

grub2 dual-boot uefi windows-10 19.10
  • 1 个回答
  • 1803 Views
Martin Hope
Marco Castro
Asked: 2018-12-31 14:49:40 +0800 CST

安装 VirtualBox “您的系统已启用 UEFI 安全启动。” 信息

  • 4

我正在尝试在另一个驱动器分区上使用 Windows 10 的双启动系统中的 Ubuntu 18.04 上安装 VirtualBox,我的系统使用 UEFI 分区启动。

安装后会出现以下消息,但我无法接受或创建要求我输入的密码。

第1部分 留言第 1 部分

第2部分 消息第 2 部分

virtualbox boot dual-boot uefi
  • 1 个回答
  • 19845 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