Automounting

Manjaro linux 錯誤:無法啟動重新掛載根和核心文件系統

  • July 21, 2020

我正在使用帶有5.7.9-1-MANJARO核心的 Manjaro Linux。系統啟動,但出現錯誤

Failed to start Remount Root and Kernel File Systems。我查看了Manjaro論壇以及此處的問題askubuntu。兩者都提出了幾乎相同的解決方案:更正 UUID。如果我的問題是一樣的,這會很好。但似乎我的 fstab 中有正確的 UUID。


/etc/fstab:

# /dev/sda2
UUID=71126187-20e1-4a92-a3d1-c5a71b06680a   /           ext4        rw,noatime,nodelalloc,data=writeback    0 0

# /dev/sda3
UUID=86d64f64-fb05-41c2-abd4-2f7f698a6b70   /home       ext4        rw,noatime  0 0

# /dev/sda1
UUID=6864-F1CB          /boot/efi   vfat        rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro   0 0

# /dev/sda4
UUID=9b8acffc-5cc9-43fc-98c0-27c9e8716d86   none        swap        defaults,pri=-2 0 0

須藤 blkid:

/dev/nvme0n1p1: LABEL="WINDOWS EFI" UUID="9A8E-E384" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="0f84d38b-3466-4076-9db7-e3027f78271f"
/dev/nvme0n1p2: PARTLABEL="Microsoft reserved partition" PARTUUID="bd2f56b5-ee7e-47b8-a2e2-b631a2b12f96"
/dev/nvme0n1p3: LABEL="Windows" BLOCK_SIZE="512" UUID="32566CB5566C7C0B" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="2982626d-ba52-4080-a3de-9aba273c06d1"
/dev/nvme0n1p4: BLOCK_SIZE="512" UUID="807C00447C003804" TYPE="ntfs" PARTUUID="f1bb9b23-726a-46be-8e63-853c35763ba5"
/dev/nvme0n1p5: LABEL="Windows RE tools" BLOCK_SIZE="512" UUID="78B85430B853EAE0" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="c470bed2-96de-4701-90e1-7ad703c597b6"
/dev/sda1: UUID="6864-F1CB" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="c847197a-6d98-45df-9f40-607423e0c083"
/dev/sda2: UUID="71126187-20e1-4a92-a3d1-c5a71b06680a" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="b829b40a-495b-4788-a6f8-7b39a49c40e4"
/dev/sda3: UUID="86d64f64-fb05-41c2-abd4-2f7f698a6b70" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="db88ffde-d83b-4c46-9227-b2960cf4bf0a"
/dev/sda4: UUID="9b8acffc-5cc9-43fc-98c0-27c9e8716d86" TYPE="swap" PARTUUID="51070783-cd6b-4cc8-9e0c-6951d49beb6b"
/dev/sda5: LABEL="New Volume" BLOCK_SIZE="512" UUID="F2220740220708F5" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="21ef0b4b-f298-47c6-9cdc-70eca0cc4cb8"

lsblk -f:

NAME        FSTYPE FSVER LABEL            UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda                                                                                           
├─sda1      vfat   FAT32                  6864-F1CB                            1021.7M     0% /boot/efi
├─sda2      ext4   1.0                    71126187-20e1-4a92-a3d1-c5a71b06680a     81G    12% /
├─sda3      ext4   1.0                    86d64f64-fb05-41c2-abd4-2f7f698a6b70  137.1G     1% /home
├─sda4      swap   1                      9b8acffc-5cc9-43fc-98c0-27c9e8716d86                [SWAP]
└─sda5      ntfs         New Volume       F2220740220708F5                                    
nvme0n1                                                                                       
├─nvme0n1p1 vfat   FAT32 WINDOWS EFI      9A8E-E384                                           
├─nvme0n1p2                                                                                   
├─nvme0n1p3 ntfs         Windows          32566CB5566C7C0B                                    
├─nvme0n1p4 ntfs                          807C00447C003804                                    
└─nvme0n1p5 ntfs         Windows RE tools 78B85430B853EAE0      

是什麼導致了問題,我該如何解決?

我猜你可以啟動到故障恢復控制台?嘗試在其上執行e2fsck手冊頁),例如:

e2fsck -f -v -C 0 -t /dev/sda2

如果它沒有幫助,請檢查您的 GRUB 命令行。


編輯:這個問題實際上是由可疑的預設掛載選項引起的:

rw,noatime,nodelalloc,data=writeback

我建議將它們減少到

defaults,noatime

這解決了 OP 遇到的問題。

引用自:https://unix.stackexchange.com/questions/599512