Am 02.02.2011 20:00, schrieb Bjørn Forsman:
Hi all,
[It's my first time posting to the list so be nice :-) ]
I'm having trouble turning a multistrap rootfs (freshly baked) into a
fully configured and ready to use emdebian system.
So far I have used the sample file from "multistrap -h" and built a
rootfs for a ARM board. Then I booted my board with NFS +
init=/bin/sh. I read somwhere that I should do "dpkg --configure -a"
to get everything setup, but this is what I get:
sh-3.2# dpkg --configure -a
dpkg: failed to open package info file `/var/lib/dpkg/available' for
reading: No such file or directory
Hi Björn,
May be you might want to have a look in my example posted earlier on
this mailinglist.
http://comments.gmane.org/gmane.linux.debian.devel.embedded/5984
(It uses GRIP ! instead of Baked)
The default kernels I found in Debian and Emdebian do not support rootfs
over NFS. Which kernel do you use? I dont't think that init=/bin/sh is
sufficient to get dpkg working. Maybe you should try it with standard
init (/sbin/init ?) and/or reconfigure the rootfs before the first mount
by the kernel (like I do in my example above - ok it's not baked but
anyway).
btw: I also tested buildroot and came back to debian (multistrap). It
works a bit different from what we know from buildroot ;-)
Regards,
Marcus
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]