[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "FATAL: kernel too old" when running mmdebootstrap'd riscv64 chroot



ah!  finally!  okay, so it would appear that merely installing a
statically-compiled latest git version of qemu (qemu-riscv64 copied to
/usr/bin/qemu-riscv64-static) is not enough on its own: it's
*specifically* necessary to run the commands to register that
*specific* program, after it has been copied into /usr/bin, with
binfmt, as the commands listed here show:

https://wiki.debian.org/RISC-V#Qemu

possible hypothetical explanations are that binfmt uses an old
(cached?) version of the /usr/bin/qemu-riscv64-static.

honestly though, i don't know.

the mmdebootstrap chroot i may retry (it's not working at present,
however now that qemu can run it may work if i retry it).  the sid one
that was recommended, it was missing libudev which stops "apt-get
update" running, so i copied libudev over from the *other* chroot...
:)

now libffi.7.so is missing, so /usr/lib/apt/methods/http doesn't
start: that's easily fixed by manually downloading the relevant .deb.

it's getting there.

l.


Reply to: