On Tue, Oct 25, 2022 at 3:57 PM samuel ammonius <sfammon...@gmail.com> wrote: > > I have a simple ISO filesystem set up with busybox and grub. > These are the commands I use in GRUB2 to start the system: > > grub> set root=(cd) > grub> linux /boot/bzImage root=/dev/sda1 > grub> initrd /boot/initrd > grub> boot >
If you are booting from an ISO filesystem, chances are your root= is probably not /dev/sda1. Also, you don't mention how you generated the initrd. > the final error is "kernel panic: attempted to kill init! error code: > 0x00007f00". > I tried building a static "Hello, world!" program as the FAQ said, and it > worked. > What could be causing the error? You could try appending init=/bin/sh to the kernel command line and see if you can at least get a shell prompt. _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox