我有一个三重启动模式的系统,其中装有 Windows 7、Windows 10 和 Kubuntu 16.10。最近更新了被忽略的 Windows 10 后,我的 Ubuntu 无法始终启动。有时它可以毫无问题地启动,有时似乎分区存在一些问题。
首先有一些作业运行了 1 分 30 秒:
Started Initial Check File System Quotas.
(1 of 4) A start job is running for dev-disk-by\x2uuid-ef...
完成后似乎找不到分区:
[ OK ] Started Initial Check File System Quotas
[ OK ] Started Monitoring of LVM2 mirrors, snapshots etc. using ...
[ OK ] Reached target Local File Systems (Pre).
[ TIME ] Timed out waiting for device dev-disk-by\x2duuif-df044add\x2d6a90\x2d4673\x2dbe3d\x2d1863e600846c.
[DEPEND] Dependency failed for /home.
[DEPEND] Dependency failed for /home/prog.
[DEPEND] Dependency failed for File System Check on /dev/disk/by-uuid/df044add-6a90-4673-be3d-1863e600846c
[ TIME ] Timed out waiting for device dev-disk-by\x2duuid-c311c811\x2d9b69\x2d4009\x2d90a4\x2d7befc02da893
[DEPEND] Dependency failed for /dev/disk/by-uuid/c311c811-9b69-4009-90a4-7befc02da893.
[DEPEND] Dependency failed for Swap.
[ TIME ] Timed out waiting for device dev-disk-by\x2duuid-e2ff1401\x2d52b2\x2d453d\x2db4d0\x2dd73720ba51a0
[DEPEND] Dependency failed for File System Check on /dev/disk/by-uuid/e2ff1401-52b2-453d-b4d0-d73720ba51a0
Starting Set console font and keymap...
Starting Enable support for additional executable binary fomats...
[ OK ] Started Stop ureadahead data collection 45s after completed...
...随后是一些其他 OK 打印件,最终定稿如下:
[ OK ] Reached target Network is Online.
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to
try again to boot into default mode.
Press Enter for maintenance
(or press Control-D to continue): _
Control-D 只会让控制台无响应。系统日志未显示任何错误或异常行为。
如果我从恢复模式(无需执行任何其他操作)它可以无问题地启动。
我认为这可能是一个错误fstab
,但在我看来没问题。
/etc/fstab
:
UUID=b3d25587-e1eb-43b2-a028-dd8f56f26f59 / ext4 errors=remount-ro 0 1
UUID=0A12-AB93 /boot/efi vfat defaults 0 2
UUID=df044add-6a90-4673-be3d-1863e600846c /home ext4 defaults 0 2
UUID=e2ff1401-52b2-453d-b4d0-d73720ba51a0 /home/prog ext4 defaults 0 2
UUID=c311c811-9b69-4009-90a4-7befc02da893 none swap sw 0 0
lsblk -o NAME,UUID,MOUNTPOINT,FSTYPE
:
NAME UUID MOUNTPOINT FSTYPE
sdd
├─sdd1 c311c811-9b69-4009-90a4-7befc02da893 [SWAP] swap
└─sdd2 e2ff1401-52b2-453d-b4d0-d73720ba51a0 /home/prog ext4
sdb
├─sdb1
├─sdb2 FA3CC2643CC21B8F ntfs
└─sdb3 df044add-6a90-4673-be3d-1863e600846c /home ext4
sr0
sdc
└─sdc1 55D123D9E79ABF54 ntfs
sda
├─sda1 0A12-AB93 /boot/efi vfat
├─sda2
├─sda3 0C401616401606DC ntfs
├─sda5 01D2642C29AB5A80 ntfs
└─sda6 b3d25587-e1eb-43b2-a028-dd8f56f26f59 / ext4
有谁知道什么可能导致这个问题?
更新:正在尝试Ubuntu 启动修复不起作用。以下是摘要:http://paste2.org/y2k0xMa5
答案1
最后我的解决办法是重新安装Kubuntu。我已经尝试了在论坛上能找到的所有其他东西。
我已经使用上面的分区表来安全地识别我的分区。
仅有的根(/
)sda6 和交换在安装过程中必须格式化。所有其他分区(及其上的数据)都可以重复使用。
可以通过先保存列表来重新安装软件包
dpkg --get-selections | awk '!/deinstall|purge|hold/ {print $1}' > packages.list.save
并通过重新安装它们
xargs -a "packages.list.save" sudo apt-get install