在/etc/fstab里加入自动挂载硬盘后,启动时打印出如下信息

[   10.892000] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[   11.528000] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
[   12.536000] Bluetooth: Core ver 2.21
[   12.540000] NET: Registered protocol family 31
[   12.548000] Bluetooth: HCI device and connection manager initialized
[   12.560000] Bluetooth: HCI socket layer initialized
[   12.568000] Bluetooth: L2CAP socket layer initialized
[   12.576000] Bluetooth: SCO socket layer initialized
[   12.644000] Bluetooth: HCI UART driver ver 2.3
[   12.652000] Bluetooth: HCI UART protocol H4 registered
[   12.660000] Bluetooth: HCI UART protocol BCM registered
[   12.676000] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   12.684000] Bluetooth: BNEP filters: protocol multicast
[   12.696000] Bluetooth: BNEP socket layer initialized
[   12.824000] setting PHY_BASEADDR_POWER_GATE, set 1
[   12.832000] setting PHY_BASEADDR_PMU_ISOLATE+4, set 0
[   12.840000] setting PHY_BASEADDR_PMU_ISOLATE+8, set 0
[   12.848000] setting PHY_BASEADDR_PMU_ISOLATE, set 1
[   12.860000] read PHY_BASEADDR_PMU_ISOLATE + 0xC
[   12.868000] Wait Power UP Ack(powerUpAck=0x00000000)
[   12.872000] setting ClockGen, set 1
[   12.880000] setting Reset VR addr(0xf0012008)
[   12.888000] setting PHY_BASEADDR_VR_PMU addr(0xf0072000)
[   12.896000] Vr: VR device driver loaded(ver1.2) for s5p4418
[   16.440000] EXT4-fs (sda5): warning: mounting fs with errors, running e2fsck is recommended
[   16.452000] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[   16.576000] systemd-journald[196]: Received request to flush runtime journal from PID 1
[   16.968000] eth0: device MAC address 86:7e:d6:cd:78:45
[   20.596000] PHY: stmmac-0:07 - Link is Up - 1000/Full

无法进入系统,原因是无法挂载sda5分区,使用"e2fsck -y /dev/sdb5" 对该分区进行修复后,成功进入系统


注意:本文归作者所有,未经作者允许,不得转载