Why initramfs stops although root device is mountable and ready to use

Why initramfs stops although root device is mountable and ready to use

Gilad Ben-Yossef gilad at codefidence.com
Tue Jul 7 14:05:41 IDT 2009


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.

Gilad


-- 
Gilad Ben-Yossef
Chief Coffee Drinker & CTO
Codefidence Ltd.

Web: http://codefidence.com
Cell: +972-52-8260388
Tel: +972-8-9316883 ext. 201
Fax: +972-8-9316884
Email: gilad at codefidence.com

Check out our Open Source technology and training blog - http://tuxology.net

	"Now the world has gone to bed
	 Darkness won't engulf my head
	 I can see by infra-red
	 How I hate the night."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090707/0852cc3c/attachment.html>


More information about the Linux-il mailing list