Gilad Ben-Yossef wrote: > > Shachar Shemesh wrote: > >> 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 > > Yes, but initramfs does not support it AFAIK and I wouldn't recommend > anyone to use initrd in favour of initramfs for any system with 2.6 > kernel. I think it's the other way around - if you exit from your linuxrc when running from initramfs, it'll continue on with standard boot sequence, while ending linuxrc in initrd will panic the kernel with "Trying to kill PID 1" error.
-- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com _______________________________________________ Linux-il mailing list [email protected] http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
