Remember a boot failure

Remember a boot failure

Terrace
2019.08.30

This machine uses Windows 10 Manjarodual system, today Winswitched to Linuxoccur when You are in emergency mode...other words, no graphical interface, the login prompt to view the system log to solve the problem.

It is worth mentioning that, I started to log almost did not go in, because the default is not open Numlock, I used to be a self-executing the command to open Numlock, and today the system failed to start, there is no such orders. In addition, my terminal default is Chinese, at emergency modeno load under Chinese font, q is word of mouth on the whole, is quite uncomfortable.

Entered, using a mobile phone looked, found similar errors are mountdue to failure. I have here a total of five mountitems:

# cat /etc/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>
UUID=DDCD-6F29                            /boot/efi      vfat    defaults,noatime 0 2
UUID=b29ee45c-93a6-427e-82bf-7f3bfde174c2 swap           swap    defaults,noatime 0 2
UUID=123b452d-6c60-4cec-86d0-495d2a00b5bb /              ext4    defaults,noatime 0 1
UUID=d94b36fa-6770-4afe-9181-5496c8bab862 /home          ext4    defaults,noatime 0 2
/dev/nvme0n1p5                       /home/terrasse/DATA ntfs    defaults,noatime 0 0

View Which is a problem, find /home/terrasse/DATA( Winat the data in the disk) is empty, you catch up!

I have known Windowsthe 快速启动模式locks its hard disk, resulting in Linuxinaccessible under, I initially thought it was a problem, but I obviously had to turn off this option, does after he updated himself open? Not think.

I kept that in mind, look at each partition:

# fdisk -l
Disk /dev/nvme0n1:476.96 GiB,512110190592 字节,1000215216 个扇区
磁盘型号:SAMSUNG MZVLB512HAJQ-000H1              
单元:扇区 / 1 * 512 = 512 字节
扇区大小(逻辑/物理):512 字节 / 512 字节
I/O 大小(最小/最佳):512 字节 / 512 字节
磁盘标签类型:gpt
磁盘标识符:40D4DC63-A570-4E0C-8AC2-7595E3E84682

设备                 起点       末尾      扇区   大小 类型
/dev/nvme0n1p1       2048     534527    532480   260M Microsoft 基本数据
/dev/nvme0n1p2     534528     567295     32768    16M Microsoft 保留
/dev/nvme0n1p3     567296  251030490 250463195 119.4G Microsoft 基本数据
/dev/nvme0n1p4  251031552  252229631   1198080   585M Windows 恢复环境
/dev/nvme0n1p5  252231680  253255679   1024000   500M EFI 系统
/dev/nvme0n1p6  253255680  257449983   4194304     2G Linux swap
/dev/nvme0n1p7  257449984  383279103 125829120    60G Linux 文件系统
/dev/nvme0n1p8  383279104  522280959 139001856  66.3G Linux 文件系统
/dev/nvme0n1p9  522280960  524275711   1994752   974M Windows 恢复环境
/dev/nvme0n1p10 524275712 1000212479 475936768   227G Microsoft 基本数据


Disk /dev/loop0:499.5 MiB,523288576 字节,1022048 个扇区
单元:扇区 / 1 * 512 = 512 字节
扇区大小(逻辑/物理):512 字节 / 512 字节
I/O 大小(最小/最佳):512 字节 / 512 字节

(Above all when the Chinese mouth) (hard to endure a bit messy)

and many more? ! /dev/nvme0n1p5Shi EFI System? That I used to how to start? Before this is definitely the number corresponding to 227Gthe data disk!

Well, the truth, and Windowsupdate when fear is handy to help me sort out the order in the partition table, sorted by the sector (I thank it). It turns out that at that time I used to plan a convenient /dev/nvme0n1p5foolishness represent data disk Yes.

# ls -l /dev/disk/by-uuid

Then found the UUIDfill to the /etc/fstabinside perfect.

Guess you like

Origin www.cnblogs.com/terrasse/p/boot_fail.html