R&D/OS

check rootdelay=

sunshout 2014. 10. 17. 14:52

Gave up waiting for root device. Common problems:

- Boot args (cat /proc/cmdline)

-Check rootdelay= (did the system wait long enough?)

-Check root= (did the system wait for the right device?)

- Missing modules (cat /proc/modules; ls /dev)

ALERT! /dev/mapper/EXIFM-root does not exist. Dropping to shell!



오래 동안 고생한 위 에러는 kernel 이 디스크를 못 찾는 경우로 lvm 을 쓰던 아니던 상관 없다.


원인은 disk 가 RAID 뒤에 붙어 있는 상황에서 해당 raid driver를 커널에 포함시키지 않아서 디스크 자체를 찾지 못하는 경우였다.


CONFIG_MEGARAID_SAS=m 설정 후 컴파일 하니 이상없이 동작했다.


My reason was the OS disk was located behind LSI RAID controller, so I have to include CONFIG_MEGARAID_SAS=m in my kernel config.