Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4912

Compute Module • Re: Kernel Panic on exec switch_root

$
0
0
I get an error

Code:

getty: can't open '/dev/null': No such file or directory
That's probably because you are not mounting /dev in the simplified init script?

Looking at an initramfs init script I've used (not on the Pi), I start the script with mounting a couple of directories:

Code:

mount -t devtmpfs none /devmount -t proc proc /procmount -t sysfs sysfs /sys

Statistics: Posted by jj_0 — Fri Mar 08, 2024 3:12 pm



Viewing all articles
Browse latest Browse all 4912

Trending Articles