无法在 HP 笔记本电脑上安装 Ubuntu 14.04

无法在 HP 笔记本电脑上安装 Ubuntu 14.04

我正在尝试使用实时 USB 上的 ubuntu-14.04.4-desktop-amd64.iso 在我的 HP 笔记本电脑(15 系列)上安装 Ubuntu。

我使用 Unetbootin 实用程序创建了 Live USB。

我使用实时 USB 启动笔记本电脑。它为我提供了尝试 Ubuntu 或安装它的选项。我选择安装。接下来是停留一段时间的 Ubuntu 启动画面。此后,桌面环境打开并弹出一个窗口,提示安装遇到错误,现在将切换到可以调试此问题的桌面环境。

我已经检查了 iso 的校验和,所以看起来没什么问题。

任何有助于解决这个问题的帮助都将非常好。

谢谢。

编辑:好的伙计们。我刚刚查看了安装日志/var/log/installer/debug

看来 Ubiquity 在使用 UPower 时遇到了一些问题!我将转储粘贴在下面:-

 Ubiquity 2.18.8.12
 ERROR:dbus.proxies:Introspect error on :1.22:/org/freedesktop/UPower: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(ubiquity:2235): IBUS-WARNING **: The owner of /home/ubuntu/.config/ibus/bus is not root!
Exception in GTK frontend (invoking crash handler):
Traceback (most recent call last):
  File "/usr/lib/ubiquity/bin/ubiquity", line 638, in <module>
    main(oem_config)
  File "/usr/lib/ubiquity/bin/ubiquity", line 624, in main
    install(query=options.query)
  File "/usr/lib/ubiquity/bin/ubiquity", line 260, in install
    wizard = ui.Wizard(distro)
  File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 290, in __init__
    mod.ui = mod.ui_class(mod.controller)
  File "/usr/lib/ubiquity/plugins/ubi-prepare.py", line 93, in __init__
    upower.setup_power_watch(self.prepare_power_source)
  File "/usr/lib/ubiquity/ubiquity/upower.py", line 21, in setup_power_watch
    power_state_changed()
  File "/usr/lib/ubiquity/ubiquity/upower.py", line 18, in power_state_changed
    not misc.get_prop(upower, UPOWER_PATH, 'OnBattery'))
  File "/usr/lib/ubiquity/ubiquity/misc.py", line 823, in get_prop
    return obj.Get(iface, prop, dbus_interface=dbus.PROPERTIES_IFACE)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Traceback (most recent call last):
  File "/usr/lib/ubiquity/bin/ubiquity", line 638, in <module>
    main(oem_config)
  File "/usr/lib/ubiquity/bin/ubiquity", line 624, in main
    install(query=options.query)
  File "/usr/lib/ubiquity/bin/ubiquity", line 260, in install
    wizard = ui.Wizard(distro)
  File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 290, in __init__
    mod.ui = mod.ui_class(mod.controller)
  File "/usr/lib/ubiquity/plugins/ubi-prepare.py", line 93, in __init__
    upower.setup_power_watch(self.prepare_power_source)
  File "/usr/lib/ubiquity/ubiquity/upower.py", line 21, in setup_power_watch
    power_state_changed()
  File "/usr/lib/ubiquity/ubiquity/upower.py", line 18, in power_state_changed
    not misc.get_prop(upower, UPOWER_PATH, 'OnBattery'))
  File "/usr/lib/ubiquity/ubiquity/misc.py", line 823, in get_prop
    return obj.Get(iface, prop, dbus_interface=dbus.PROPERTIES_IFACE)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

答案1

您可能想尝试使用 dd 命令创建实时 USB。首先,您必须插入 USB 驱动器并确定它是哪个驱动器(/dev/sda、/dev/sdb)。您可以使用 GParted 之类的程序,也可以直接使用命令fdisk -l。您应该会看到类似 。我知道我的 USB 驱动器大约为 4 GB,所以我的 USB 驱动器必须是 /dev/sdd。接下来,使用命令确保您的 USB 驱动器未安装,umount /dev/sdx其中 /dev/sdx 是您的 USB 驱动器。了解这一点后,您可以使用 dd 命令将映像写入驱动器。命令是dd if=/path/to/file.iso of=/dev/sdx bs=512k。只需确保您没有写入驱动器的分区或 /dev/sdx1。这可能会导致损坏。

相关内容