Mount

無法掛載root fs

  • January 8, 2020

我從 USB 密鑰啟動新編譯的 linux 核心時出現核心恐慌(就像這裡Unable to mount root fs

1. error      : unable to mount root fs on unknown-block(0,0)
2. kernel version : 5.5-rc5
3. bootloader : none (EFI stub)
4. built-in kernel command line : root=PARTUUID=xx1-xx1-xx1-1xx
5. root file system : f2fs
6. kernel is moduleless

嘗試/測試的解決方案

1. kernel supports the filesystem on root
2. checked PARTUUID of the root device 3 times
3. no modules 
4. kernel do load my sata ssd with proper PARTUUID
5. kernel doesn't mount other USB drive
6. BLK_DEV=y, BLK_DEV_SD=y, USB_STORAGE=y, ...
7. tried with UUID and /dev/sda2 same result

似乎是 USB 問題,核心配置有問題?

一些連結已經檢查 無法掛載根 fs不同步 vfs 無法在未知塊上掛載根 fs (0 0)

  • 好的,它變成了一個慢速 USB 子系統。
  • rootwait 添加到核心命令行修復了

Gentoo 論壇 連結到文章Unable to mount root fs的所有功勞都歸於 NeddySeagoon

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