리눅스 설치..

hcjung의 이미지

ext3:No journal on filesystem on ide1(22, 2)
mount : error 22 mounting ext3
pivotroot : pivot_root(/sysroot, /sysroot/initrd) failed : 2
umount /initrd/proc failed :2

Kernel panic : No init found. Try passing init= option to kernel

임베디드를 하면서 부트로더 부터 커널 이미지, 장치 등등을 책과 자료를 통해 따라해 봤는데요.
이런 에러가 발생했습니다. 어떻게 해결해야 되는지 알려주시면
감사하겠습니다.

익명 사용자의 이미지

hcjung wrote:
ext3:No journal on filesystem on ide1(22, 2)
mount : error 22 mounting ext3
pivotroot : pivot_root(/sysroot, /sysroot/initrd) failed : 2
umount /initrd/proc failed :2

Kernel panic : No init found. Try passing init= option to kernel

마운트 대상이 ext3로 포멧이 안돼있는 것 아닐까요?

아니면, 다른 디바이스에 마운트를 하려고 시도하거나...

hcjung의 이미지

맞습니다. ext3로 인식하지 않죠

리눅스를 플래쉬 메모리에 올리는 중이라서요.

hdc1, 2 모두 ext2 형식입니다.

이럴때는 어떻게 해야하는 건지 모르겠네요

1day1의 이미지

hcjung wrote:
맞습니다. ext3로 인식하지 않죠

리눅스를 플래쉬 메모리에 올리는 중이라서요.

hdc1, 2 모두 ext2 형식입니다.

이럴때는 어떻게 해야하는 건지 모르겠네요

커널에 ext3 모듈을 넣어주어야 할 것입니다.
mkinitrd 등을 찾아보시면 init 로드시 ext3 모듈을 올릴 수 있습니다.

F/OSS 가 함께하길..

hcjung의 이미지

ext3는 분명히 포함시켰는데요.

혹시 몰라서 확인도 해봤는데 menuconfig상에서는 제대로 체크가

됐던데요.