Omnimaga
Calculator Community => TI Calculators => General Calculator Help => Topic started by: Elec72 on July 25, 2014, 11:28:41 am
-
I'm new here so I don't know if this is the right forum/topic to post in, sorry if I'm wrong.
Trying to boot linux on the nspire cx, I've booted it from initrd fine before, and when I try to boot it from a flash drive it panics:
Kernel panic - not syncing: No init found.
A microsecond before that:
request_module: runaway loop modprobe binfmt-0000
And then there's the backtrace after that. My kernel is the expanded one from ti-planet, rootfs is the x-config or something from ti-planet, and the commandline does include 'init=/sbin/init'
-
- Unzipped image correctly?
- Right partition given by "root=/dev/sdaX"?
- Correct filesystem (ext4)?
-
1) I used your instructions
2) no, just sda because it's all one filesystem (following your (and tangrs') instructions)
3) ext4
-
If there's a partition table on the drive (recommended) then it hast to be sda1.
-
If I use sda1 then it panics, but this time I can't see why because the backtrace takes up more than one screenful.
-
What happens if you strart an initrd and mount /dev/sda1? Can you execute <mountpoint>/sbin/init?
-
If I mount /dev/sda and run <mountpoint>/sbin/init, init returns and doesn't display anything. Trying to mount /dev/sda1 fails: no such file or directory.
-
If I mount /dev/sda and run <mountpoint>/sbin/init, init returns and doesn't display anything.
Then it seems to work. I don't know why it says it's unable to find an init binary. What happens if you specify "init=/bin/sh"?
-
Commandline= root=/dev/sda rootdelay=10 init=/bin/sh. Kernel panic: not syncing: No init found.
-
Does /bin/sh work?
-
Work meaning work as the init program or meaning able to run when I boot into a initrd and mount the flashdrive? It doesn't work as init=/bin/sh but it runs if I boot into initrd and run it.
-
Then the filesystem image may be broken, e.g. some dynamlic libs missing.
What happens if you extract the initrd onto the flash drive?
-
How would I extract a .tns file?
-
Mount it and copy the files.