我在 HP Pavilion Laptop 15-AW004NA 上运行 Ubuntu 16.04。它最初运行了几个星期,但现在只能启动到 initramfs。我重新安装了 Ubuntu 几次,它通常可以工作一两次。然后在执行正常操作(例如网页浏览)时崩溃。之后它无法通过 initramfs 启动。
我努力了: -
手动运行 fsck(使用 -y 命令循环执行数千条命令并增加 CPU 占用)重新安装 Ubuntu 16.04(加密和非加密光盘)安装 Ubuntu 16.04 然后升级到 17.10 安装 Lubuntu 16.04
我已经使用智能数据和自我测试检查了硬盘,结果看起来不错。
实时启动与 Ubuntu 和 Lubuntu 配合良好。
有什么想法我可以进一步调试吗?
干杯蜥蜴
XXXX@Lizard-Laptop:~$ grep -i sda /var/log/syslog*
/var/log/syslog:Aug 31 19:12:21 Lizard-Laptop systemd[1]: Starting Cryptography Setup for sda3_crypt...
/var/log/syslog:Aug 31 19:12:21 Lizard-Laptop systemd-cryptsetup[746]: Volume sda3_crypt already active.
/var/log/syslog:Aug 31 19:12:21 Lizard-Laptop systemd[1]: Started Cryptography Setup for sda3_crypt.
/var/log/syslog:Aug 31 19:12:21 Lizard-Laptop systemd[1]: Found device /dev/mapper/sda3_crypt.
/var/log/syslog:Aug 31 19:12:21 Lizard-Laptop systemd-fsck[751]: /dev/sda2: clean, 299/124928 files, 144327/499712 blocks
/var/log/syslog:Aug 31 19:12:21 Lizard-Laptop systemd-fsck[750]: /dev/sda1: 8 files, 870/130812 clusters
/var/log/syslog:Aug 31 19:12:21 Lizard-Laptop kernel: [ 4.323111] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
/var/log/syslog:Aug 31 19:12:21 Lizard-Laptop kernel: [ 4.323113] sd 0:0:0:0: [sda] 4096-byte physical blocks
/var/log/syslog:Aug 31 19:12:21 Lizard-Laptop kernel: [ 4.323123] sd 0:0:0:0: [sda] Write Protect is off
/var/log/syslog:Aug 31 19:12:21 Lizard-Laptop kernel: [ 4.323125] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
/var/log/syslog:Aug 31 19:12:21 Lizard-Laptop kernel: [ 4.323140] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
/var/log/syslog:Aug 31 19:12:21 Lizard-Laptop kernel: [ 4.429742] sda: sda1 sda2 sda3
/var/log/syslog:Aug 31 19:12:21 Lizard-Laptop kernel: [ 4.430076] sd 0:0:0:0: [sda] Attached SCSI disk
/var/log/syslog:Aug 31 19:12:21 Lizard-Laptop kernel: [ 35.639691] EXT4-fs (sda2): mounting ext2 file system using the ext4 subsystem
/var/log/syslog:Aug 31 19:12:21 Lizard-Laptop kernel: [ 35.778035] EXT4-fs (sda2): mounted filesystem without journal. Opts: (null)
XXXX@Lizard-Laptop:~$
XXXX@Lizard-Laptop:~$ ls -alt /var/crash
total 8
drwxr-xr-x 13 root root 4096 Feb 15 2017 ..
drwxrwsrwt 2 root whoopsie 4096 Feb 15 2017 .
答案1
要检查 Ubuntu 分区上的文件系统...
- 启动到 GRUB 菜单
- 选择高级选项
- 选择恢复模式
- 选择 Root 访问
- 在 # 提示符下,输入
sudo fsck -f /
fsck
如果有错误则重复命令- 类型
reboot
如果由于某种原因您无法执行上述操作...
- 启动至 Ubuntu Live DVD/USB
- 启动
gparted
并确定哪个 /dev/sdaX 是你的 Ubuntu EXT4 分区 - 辞职
gparted
- 打开
terminal
窗户 - 输入
sudo fsck -f /dev/sdaX
# 用你之前找到的数字替换 X - 如果有错误,请重复 fsck 命令
- 类型
reboot