製作u盤linux根檔案系統掛不上!(轉)

BSDLite發表於2007-08-12
製作u盤linux根檔案系統掛不上!(轉)[@more@]Sample Text

Sample Text
我製作過程大概是這樣的:先編譯核心2.6.13,在本機系統能載入成功,在 u盤建立linux分割槽,並格式化成ext2檔案系統,建立/boot目錄,把新編好的核心及.img,.map檔案拷入/boot目錄,在u盤上安裝好grub,重啟,主機板設成: usb-hdd,啟動u盤上的核心,但出現了以下問題:
Mounting root filesystem
mount:error 6 mounting ext3
Switching to new root
ERROR opening /dev/console!!!!: 2
error dup'2ing fd of 0 to 0
error dup'2ing fd of 0 to 1
error dup'2ing fd of 0 to 2
umounting old /proc
Switchroot :mount failed:22
kernel panic - not syning: Attempted to kill init

我猜會不會是initrd問題,核心初始化好以後找不到u盤的根檔案系統。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10617542/viewspace-949866/,如需轉載,請註明出處,否則將追究法律責任。

相關文章