Initramfs 在 Linux 中建立錯誤/重複的掛載點

Initramfs 在 Linux 中建立錯誤/重複的掛載點

我有一個 CentOS7 系統,我為它構建了一個 4.14.29 內核,為它創建了一個 initrd - 就像我很多很多次一樣。當我現在這樣做時(從 4.11 核心到 4.14.29 核心) - 我看到我的根檔案系統被安裝在/usr.它僅有的發生在 4.14 核心中,儘管我懷疑它是實際的初始化檔案系統那就是在做。

在 initrd 期間 - 我看到:

[  OK  ] Reached target Remote File Systems.
         Mounting /sysroot...
[  OK  ] Mounted /sysroot.
         Mounting /sysroot/usr...
[  OK  ] Mounted /sysroot/usr.
[  OK  ] Reached target Initrd Root File System.
         Starting Reload Configuration from the Real Root...
[  OK  ] Started Reload Configuration from the Real Root.
[  OK  ] Reached target Initrd File Systems.

應該只有一個“根”檔案系統。沒有任何東西應該掛載在 處/usr,當然 /etc/fstab 中也沒有任何東西應該讓它這樣做。所以我不知道為什麼它會安裝一個/sysroot/usr.我甚至明確刪除了usrmountdracut 模組 - 沒有區別。

此外,不應該在這裡重新掛載“根”檔案系統。根檔案系統是 /dev/mapper LVM 設備。

知道什麼會導致這種情況以及如何解決它嗎? (PS,由於某些奇怪的原因,我無法取得 int Dracut 緊急 shell...)

相關內容