[Buildroot] Problems after building rootfs.i386.ext2

John Voltz john.voltz at gmail.com
Fri Mar 14 16:14:54 UTC 2008


In the latest buildroot, there is a shell script located in the scripts
directory called build-ext3-img. It will build a bootable ext3 image that
can be run using qemu or vmware (you have to convert the image to vmdk to
use it with vmware, see qemu-img). You might try this instead. Take a look
inside the script to see how it works.

John


On Fri, Mar 14, 2008 at 10:23 AM, Micha Holzmann <holzmann at gmx.de> wrote:

> Hi,
>
> i did what you recommended. I chrooted and tried to mount proc with
> several methods.
>
> mount -t proc proc /proc
> mount -t proc none /prot
>
> proc was not mounted. mount said, to mount it needs proc mounted. At
> this moment mount is a symlink to busybox. I left the chroot and mounted
> proc to the proc inside the rootfs and do chroot again. mount without
> options shows me infos. But ls -al still stucks until i press CTRL-C.
> No change in the behavior.
>
> The second hint you gave me, was to use strace. I activated strace in
> the menuconfig. The compiler gives me errors for two lines:
>
> net.c: In function ¿printsock¿:
> net.c:958: error: field ¿ll¿ has incomplete type
> net.c:961: error: field ¿nl¿ has incomplete type
> make[2]: *** [net.o] Fehler 1
>
> In this case i have no strace which runs inside the chroot.
>
> I tried to build buildroot the last two weeks over 30+ times.
> Now i am running out of ideas what to do.   :-)
>
> May you have any further idea(s)?
>
>
> Quoting John Voltz:
> > I think when you chroot you need to remount /proc. That can cause weird
> > problems like you describe. Also try using strace on commands that fail
> or
> > freeze up. This can be very enlightening (or confusing). You might not
> even
> > be able to chroot into it since you are using uClibc instead of glibc. I
> > don't know for sure. Does anyone else?
> >
> > John Voltz
>
>
> Best regards,
> Micha Holzmann
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/buildroot/attachments/20080314/67258a31/attachment-0001.htm 


More information about the buildroot mailing list