尝试将 14.04 安装为 Windows 8 双启动时出现权限被拒绝:‘/var/lib/partman/stopfifo’

尝试将 14.04 安装为 Windows 8 双启动时出现权限被拒绝:‘/var/lib/partman/stopfifo’

我正在尝试安装 UBUNTU 14.0.4.1 LTS 和 Windows 8。我已经关注了这个问题并完成了所有必要的步骤, 如何在预装了 UEFI 的 Windows 的同时安装 Ubuntu?

眼镜:

  • 东芝 p75-A7100
  • 随 Windows 8 一起安装。

我已经这样做了:

  • UEFI 已启用
  • 安全启动已禁用

我正在尝试从 Live CD 安装 Ubuntu。安装程序Prepare to Install phase在调试中卡在以下堆栈跟踪中。

(process:4250): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.

(process:4250): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.

(process:4250): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.

(process:4250): dconf-WARNING **: failed to commit changes to dconf: Could not connect: Connection refused

(process:4263): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.

(process:4263): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.

(process:4263): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.

(process:4263): dconf-WARNING **: failed to commit changes to dconf: Could not connect: Connection refused
update_release_notes_label()
update_release_notes_label()
/usr/lib/ubiquity/ubiquity/frontend/gtk_components/nmwidgets.py:18: Warning: Source ID 512 was not found when attempting to remove it
GLib.source_remove(self.timeout_id)
/usr/lib/ubiquity/ubiquity/frontend/gtk_components/nmwidgets.py:131: Warning: Source ID 578 was not found when attempting to remove it
GLib.source_remove(self.rows_changed_id)
Exception caught in process_line:
Traceback (most recent call last):
File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 145, in process_line
return self.dbfilter.process_line()
File "/usr/lib/ubiquity/ubiquity/debconffilter.py", line 287, in process_line
if not input_widgets[0].run(priority, question):
File "/usr/lib/ubiquity/plugins/ubi-partman.py", line 2977, in run
size = int(parted.partition_info(p_id)[2])
File "/usr/lib/ubiquity/ubiquity/parted_server.py", line 220, in partition_info
self.open_dialog('PARTITION_INFO', partition)
File "/usr/lib/ubiquity/ubiquity/parted_server.py", line 141, in open_dialog
self.error_handler()
File "/usr/lib/ubiquity/ubiquity/parted_server.py", line 112, in error_handler
exception_type = self.read_line()[0]
File "/usr/lib/ubiquity/ubiquity/parted_server.py", line 74, in read_line
line = self.outf.readline().rstrip('\n')
File "/usr/lib/python3.4/codecs.py", line 313, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 66: invalid continuation byte
Exception ignored in: <bound method PartedServer.__del__ of <ubiquity.parted_server.PartedServer object at 0x7f86ed2fbf28>>
Traceback (most recent call last):
File "/usr/lib/ubiquity/ubiquity/parted_server.py", line 62, in __del__
self.close_dialog()
File "/usr/lib/ubiquity/ubiquity/parted_server.py", line 148, in close_dialog
self.sync_server()
File "/usr/lib/ubiquity/ubiquity/parted_server.py", line 132, in sync_server
with open(stopfifo, 'w'):
PermissionError: [Errno 13] Permission denied: '/var/lib/partman/stopfifo'

答案1

好的,我想在这里发布解决方案,以便其他人发现它有用。

问题是

  1. 我将原始 HDD 克隆到适用于 Windows 8 的新 SSD 上,然后尝试在其上安装 UBUNTU。不知道发生了什么,但这触发了一些权限问题,导致安装程序崩溃。因此,不要创建 Windows 8 的克隆,而是使用恢复或原始 CD 来创建分区并安装 Windows。

2.一旦您确定 Windows 启动了。不要篡改您不需要的分区,并且如果使用 14.0.4 LTS,只需禁用快速启动。其余所有 bios 配置都很好。

  1. 点击此链接

http://www.everydaylinuxuser.com/201...e-windows.html

您已设置完毕。能够双启动 Ubuntu 和 Windows,并且两者都运行良好。

相关内容