我遇到了一些严重的启动问题。当我启动我的 ThinkPad T450s 时,我可以使用普通的 Ubuntu 密码加密来解锁我的驱动器。然后我得到了一种终端(或 shell,我猜是一样的),我可以自己登录。我发现当我输入
sudo mount -o remount,rw /
sudo mount -a
sudo lightdm
我检查了 /var/log 中的 boot.log:
lvmetad is not active yet, using direct activation during sysinit
Volume group "ubuntu-mate-vg" not found
Cannot process volume group ubuntu-mate-vg
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
Reading all physical volumes. This may take a while...
Found volume group "ubuntu-mate-vg" using metadata type lvm2
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
2 logical volume(s) in volume group "ubuntu-mate-vg" now active
/dev/mapper/ubuntu--mate--vg-root: clean, 657327/14786560 files, 34622765/59141120 blocks
所以我猜我的 fstab 有问题:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# /boot was on /dev/sda2 during installation
UUID=b14a41f2-a23b-494a-9524-f01ae898d61e /boot ext2 defaults 0 2
# /boot/efi was on /dev/sda1 during installation
UUID=BFC3-1A74 /boot/efi vfat umask=0077 0 1
/dev/mapper/ubuntu--mate--vg-swap_1 none swap sw 0 0
但是我对 Ubuntu 不太熟悉,无法找出问题所在。
我还通过输入检查了卷组
sudo lvdisplay
输出:
--- Logical volume ---
LV Path /dev/ubuntu-mate-vg/root
LV Name root
VG Name ubuntu-mate-vg
LV UUID AsKTiD-ZGwk-7B9o-XWLt-rEMZ-usiM-TSK2uo
LV Write Access read/write
LV Creation host, time ubuntu-mate, 2016-05-10 08:13:22 +0200
LV Status available
# open 1
LV Size 225,61 GiB
Current LE 57755
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:1
--- Logical volume ---
LV Path /dev/ubuntu-mate-vg/swap_1
LV Name swap_1
VG Name ubuntu-mate-vg
LV UUID lJDLAc-sd6q-mJff-6Ds2-KrlK-sXSm-xxdoDw
LV Write Access read/write
LV Creation host, time ubuntu-mate, 2016-05-10 08:13:22 +0200
LV Status available
# open 2
LV Size 11,88 GiB
Current LE 3041
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:2
使用 pvs:
marius@marius-ThinkPad-T450s:~/Schreibtisch$ sudo pvs
PV VG Fmt Attr PSize PFree
/dev/mapper/sda3_crypt ubuntu-mate-vg lvm2 a-- 237,49g 8,00m
我希望有人能帮忙,因为我不想安装所有新东西。如果您需要更多信息,请告诉我!
提前感谢马里乌斯