I could solve my problem using strace to detect where init stops (of course I had to recompile init allowing to not be PID 1). Looking at the errors reported on strace log I could see that the problem was with the /dev/null and /dev/console doesn't exists so I've changed my init script to create they both and now everything works like a charm :)
Oh, and actually I'm using switch_root from busybox which is very similar to pivot_root.
Again, tks for all replies,
Claudinei Matos
On 6/21/06,
Richard Fish <[EMAIL PROTECTED]> wrote:
On 6/21/06, Hans-Werner Hilse <[EMAIL PROTECTED]> wrote:
> chroot. OK, I definately stand currected. But I was pretty sure I once
> did this from initramfs. But that was admittedly back in the 2.6.10
> days, I think.
Yeah, I did it too! ;-> Worked great until I tried to use
fbsplash/bootsplash, which did a 'mount --move' as part of it's
setup.
Cheers,
-Richard
--
gentoo-user@gentoo.org mailing list
--
Claudinei Matos
<[EMAIL PROTECTED]>
55-21-81980605