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
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[startup-disk-creator](ubuntu)

Martin Hope
C.S.Cameron
Asked: 2019-12-24 00:55:01 +0800 CST

将 NTFS 数据分区添加到 Startup Disk Creator USB 安装

  • 2

使用 Startup Disk Creator 创建 Live USB 时,该程序会创建一个明显的 ISO9669 只读分区,该分区跨越整个驱动器。在 2 或 4 GB 闪存驱动器的时代,这并不算太糟糕。16GB 和更大的驱动器完全是浪费。

如何将这个死区转换为有用的 NTFS 分区,Linux 和 Windows 都可以使用它来存储数据?

live-usb usb startup-disk-creator
  • 1 个回答
  • 514 Views
Martin Hope
You'reAGitForNotUsingGit
Asked: 2019-03-15 08:34:54 +0800 CST

Startup Disk Creator 想要擦除驱动器?

  • 0

今天我从我的 16.04 安装中将 18.04 ISO 写入 USB 驱动器,而 Startup Disk Creator 想要擦除整个驱动器:

在此处输入图像描述

现在,也许我的记忆不正确,但我似乎记得当我在 14.04 时,Statup Disk Creator 无需擦除整个驱动器即可工作。

自 14.04 以来,Startup Disk Creator 的行为是否发生了变化?

startup-disk-creator
  • 1 个回答
  • 102 Views
Martin Hope
Dustan Levenstein
Asked: 2018-05-21 12:20:16 +0800 CST

陷入 Ubuntu 安装问题的兔子洞

  • 2

我正在尝试在联想ideapad 320 (151IAP) 上安装覆盖Windows 的Ubuntu。我正在启动使用启动磁盘创建器和 18.04 映像创建的 USB 记忆棒。

这将是一篇很长的文章,因为我尝试了很多不同的东西,但我的假设是我有一个工作安装的 ubuntu,我只需要让它正常启动;我不太确定情况是否如此。这是我最新的引导修复输出。

更新:我尝试使用这些说明从 grub 引导并得到错误“在 /etc/fstab 中找不到 /root”和“在 /root/dev 上挂载 /dev 失败:没有这样的文件或目录”,与运行相同。另外,我看到 /home/dustan/ 目录是空的。我不太确定目录系统在正确安装后应该如何看待,所以如果我错了请纠正我:在我看来,这似乎证明了我只需要修复 grub 的假设的证据。我尝试使用 mkusb 而不是默认的启动磁盘创建器制作 USB 棒;它仍然挂在安装 grub 上。

这是完整的故事:

我遇到的第一个问题是安装程序挂在“配置硬件”上。根据此处给出的建议,我最终弄清楚了如何禁用安全启动和快速启动,并且安装程序不再挂在那里。

相反,它挂在 Grub2 上,所以我按照这里给出的建议(在几次尝试失败后)指定 Ubuntu 分区(sda2)与引导分区(sda1)分开。它仍然挂在 Grub2 上(没有绕过它,所以我不太确定这个答案到底是什么意思)。

在配置硬件和 Grub2 挂起的情况下,我已经给了计算机几个小时来正确安装。

当我查看安装程序中的日志时,它显示了与使用触摸板相关的“无效报告 ID 数据”的重复实例。这个触摸板和 Ubuntu 的驱动程序确实存在一个已知问题,但是尽管存在这些错误,触摸板仍然可以正常工作,我想如果我真的可以让 Ubuntu 正常工作,我以后可能会处理驱动程序问题。不幸的是,这些错误可能掩盖了任何实际的严重错误。

因此,经过多次尝试使其正常工作后,我最终决定尝试修复 Grub。

在我列出引导修复错误之前,我忘了提到我在上面安装时尝试过的另一件事;一旦我弄清楚如何修改引导行,我就尝试了 noacpi、nolapic、irqpoll 和 noapic(我在某种程度上将其用作参考,但我仍然不知道我实际上在做什么)。

如果我按照引导修复中的推荐修复,它会挂起而没有提供任何反馈。

如果我在引导修复中的高级选项下禁用 SecureBoot,然后运行推荐的修复,它将自行设置为清除 grub,然后显示“请打开终端并键入以下命令:”

sudo chroot "/mnt/boot-sav/sda2" dpkg --configure -a
sudo chroot "/mnt/boot-sav/sda2" apt-get install -fy
sudo chroot "/mnt/boot-sav/sda2" apt-get purge -y grub*-common grub-common:i386 shim-signed

运行第一个命令给出:

ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda2" dpkg --configure -a
Setting up grub-efi-amd64-signed (1.93+2.02-2ubuntu8) ...
Installing for x86_64-efi platform.
grub-install: error: efibootmgr failed to register the boot entry: Unknown error -1.
dpkg: error processing package grub-efi-amd64-signed (--configure):
 installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 grub-efi-amd64-signed
ubuntu@ubuntu:~$

我没想到第二个命令会起作用,但我还是尝试了它,然后它就挂了:

ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda2" apt-get install -fy
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-efi-amd64-signed (1.93+2.02-2ubuntu8) ...
Installing for x86_64-efi platform.

在这里尝试终端方法,单独引导分区的说明有点模糊,但这是我的解释:

ubuntu@ubuntu:~$ sudo mkdir /mnt/ubuntu
ubuntu@ubuntu:~$ sudo mkdir /mnt/ubuntu/boot
ubuntu@ubuntu:~$ sudo mount /dev/sda1 /mnt/ubuntu/boot
ubuntu@ubuntu:~$ sudo grub-install --boot-directory=/mnt/ubuntu/boot /dev/sda
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
ubuntu@ubuntu:~$ sudo umount /mnt/ubuntu/boot

另一种终端方法。

ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt
ubuntu@ubuntu:~$ sudo mount --bind /dev /mnt/dev && sudo mount --bind /dev/pts /mnt/dev/pts && sudo mount --bind /proc /mnt/proc && sudo mount --bind /sys /mnt/sys
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# grub-install /dev/sda
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
root@ubuntu:/# exit
exit
ubuntu@ubuntu:~$ sudo umount /mnt/sys && sudo umount /mnt/proc && sudo umount /mnt/dev/pts && sudo umount /mnt/dev && sudo umount /mnt

用 sda1 再试一次。

ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt
ubuntu@ubuntu:~$ sudo mount /dev/sda1 /mnt/boot
ubuntu@ubuntu:~$ sudo mount --bind /dev /mnt/dev && sudo mount --bind /dev/pts /mnt/dev/pts && sudo mount --bind /proc /mnt/proc && sudo mount --bind /sys /mnt/sys
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# grub-install /dev/sda
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
root@ubuntu:/# exit
exit
ubuntu@ubuntu:~$ sudo umount /mnt/sys && sudo umount /mnt/proc && sudo umount /mnt/dev/pts && sudo umount /mnt/dev && sudo umount /mnt/boot && sudo umount /mnt

再来一张。

ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt
ubuntu@ubuntu:~$ sudo mount /dev/sda1 /mnt/boot
ubuntu@ubuntu:~$ sudo mkdir -p /mnt/boot/efi
ubuntu@ubuntu:~$ sudo mount /dev/sda1 /mnt/boot/efi
ubuntu@ubuntu:~$ sudo mount --bind /dev /mnt/dev
ubuntu@ubuntu:~$ sudo mount --bind /proc /mnt/proc
ubuntu@ubuntu:~$ sudo mount --bind /sys /mnt/sys
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# apt-get install grub-efi-amd64
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
root@ubuntu:/# sudo dpkg --configure -a
Setting up grub-efi-amd64-signed (1.93+2.02-2ubuntu8) ...
Installing for x86_64-efi platform.
grub-install: error: efibootmgr failed to register the boot entry: Unknown error -1.
dpkg: error processing package grub-efi-amd64-signed (--configure):
 installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 grub-efi-amd64-signed
root@ubuntu:/# exit
exit
ubuntu@ubuntu:~$ sudo umount /mnt/dev
ubuntu@ubuntu:~$ sudo umount /mnt/proc
ubuntu@ubuntu:~$ sudo umount /mnt/sys
ubuntu@ubuntu:~$ sudo umount /mnt/boot/efi
ubuntu@ubuntu:~$ sudo umount /mnt/boot
ubuntu@ubuntu:~$ sudo umount /mnt
system-installation grub2 boot boot-repair startup-disk-creator
  • 2 个回答
  • 2859 Views
Martin Hope
Richardgw
Asked: 2018-05-20 22:07:27 +0800 CST

如何创建一个真正有效的可启动 U 盘?

  • 4

如果有人可以帮助创建一个真正有效的可启动 USB 记忆棒,我将不胜感激。我没有启动,而是收到以下错误消息:

Gfx.c32: not a COM32R image
boot:

我在 Ubuntu 14.04 中使用内置的启动磁盘创建器。作为 USB 设备,我使用的是空的 8GB USB 闪存驱动器。我尝试安装的 ISO 映像是 Ubuntu 18.04。

我按照 Startup Disk Creator 应用程序的说明进行操作。它会自动选择图像和 USB 设备。过了一段时间,我收到了消息Installation complete。

问题是,当我将 USB 设备设置为第一个可启动设备时,我会在本文开头收到上述消息。

PS:我已经查找了等效问题的答案,但它们对我不起作用。是否有修复了 bug 1325801 的新版本的 Startup Disk Creator?

live-usb startup-disk-creator
  • 1 个回答
  • 828 Views
Martin Hope
eDeviser
Asked: 2018-03-29 03:09:53 +0800 CST

如何修复以未处理异常结束的启动磁盘创建器?

  • 3

我正在 Ubuntu 17.10 (4.13.0-37-generic) 上启动 ubuntu 启动磁盘创建器 (usb-creator-gtk) 并获得此对话框:

在此处输入图像描述

我已经通过以下方式重新安装了它:

sudo apt remove usb-creator-gtk
sudo apt autoremove
sudo apt install usb-creator-gtk

我检查了它的安装路径:

whereis  usb-creator-gtk
usb-creator-gtk: /usr/bin/usb-creator-gtk /usr/share/man/man8/usb-creator-gtk.8.gz

我试图直接启动它:

/usr/bin/usb-creator-gtk

我做了一个 hexdump 显示第二个0xd9位置没有。有一个0x21:

hd -n 32 /usr/bin/usb-creator-gtk
00000000  23 21 2f 75 73 72 2f 62  69 6e 2f 70 79 74 68 6f  |#!/usr/bin/pytho|
00000010  6e 33 0a 0a 23 20 43 6f  70 79 72 69 67 68 74 20  |n3..# Copyright |

但仍然是同样的问题。

如何修复以异常结尾的启动磁盘创建器?

python python3 17.10 startup-disk-creator
  • 1 个回答
  • 394 Views
Martin Hope
Dante
Asked: 2015-11-05 16:23:27 +0800 CST

为什么 Startup Disk Creator 说 Ubuntu 14.04.3 是测试版?

  • 0

当我用Startup Disk Creator实用程序制作可启动的 USB 驱动器时,它说操作系统版本ubuntu-14.04.3-desktop-amd64.iso是Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805). 为什么会这样说呢?顺便说一句,我正在Startup Disk Creator运行14.04.3 LTS。

startup-disk-creator
  • 1 个回答
  • 216 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