Gilad Ben-Yossef wrote:

I do not  understand this  : root device is ready, but  boot process  is
stuck ??

Simple:

You either use an initramfs, and if so your initramfs should mount the real root file system itself using switch_root() or you don't use an initramfs and let the kernel mount it (but then you need the driver compiled into the kernel).

Gilad
As a nitpicking, if you are using initrd, there is a mode of operation where the initrd (linuxrc script) loads the kernel module, but the kernel does the actual mounting. I'm not sure it's still available in modern kernels. Initrd can also work similarly to initramfs (typically using pivot_root, though, and not switch_root).

More to the point, however, I believe Lev is using an initramfs generated by his distribution, which begs the question "why didn't the init script on it mount the file system and run switch_root"?

Lev, from the prompt you get, can you do "cat /init" and paste here what appears there?

Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to