Therefore I tried what is described everywhere: take a machine with
the right architecture and chroot into the new image and run
debootstrap --second-stage.
Unfortunately this does not work on our mipsbooks. The reason is
that it runs a 2.4 kernel (which isn't upgraded by chroot :). And
the debian lenny chroot is a 2.6 system. Therefore some libraries
are not compatible and the error message is simply: FATAL: kernel
too old.
So does anyone have a working debian lenny rootfs for mipsel
available? Or is there a trick to bootstrap from 2.4 to 2.6 systems?
Well, I have a little progress bootstrapping 2.6.
The idea was to install the Linux 2.6-kernel but a Debian Etch rootfs
on the SD. This boots (but has no external connectivity or automounter
due to misconfigurations in the rootfs).
Then, I added the first stage debootstrap file system for Lenny on the
same rootfs (in a subdirectory).
Using this combination, I could chroot from the Etch system in the
first-stage-bootstrapped Lenny (since I now have a compatible kernel).
But debootstrap/debootstrap --second-stage fails after trying to
install the core packages. Some post-inst script appears to return an
error.
Ideas and proposals are welcome :)
Nikolaus
_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel