<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body dir="ltr" bgcolor="#ffffff" text="#000000">
Gilad Ben-Yossef wrote:
<blockquote cite="mid:4A53255C.1080700@codefidence.com" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
<blockquote cite="mid:4A5306F8.5080701@vboxcomm.com" type="cite"><br>
I do not understand this : root device is ready, but boot process
is <br>
stuck ?? <br>
</blockquote>
<br>
Simple: <br>
<br>
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).<br>
<br>
Gilad<br>
</blockquote>
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).<br>
<br>
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"?<br>
<br>
Lev, from the prompt you get, can you do "cat /init" and paste here
what appears there?<br>
<br>
Shachar<br>
<pre class="moz-signature" cols="72">--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
<a class="moz-txt-link-freetext" href="http://www.lingnu.com">http://www.lingnu.com</a>
</pre>
</body>
</html>