running kernel on QEMU
17,300
Solution 1
I used:
qemu-system-x86_64 --enable-kvm -m 1024 -machine smm=off -cdrom mint.iso -boot order=d mint_hdd.img
Specifying RAM size i.e.
-m 1024
fixed this issue and booted into mint successfully.
Solution 2
I had this issue, and increasing the guest's RAM fixed it. Try passing -m 1024
.
Related videos on Youtube
Author by
Ash
Updated on September 18, 2022Comments
-
Ash over 1 year
I face this message:
Failed to execute /initKernel panic - not syncing: no init found. Try passing init=option to kernel.
I am using this command line:
qemu-system-x86_64 -hda disk.img -kernel /home/marssonubuntu/linux_qemu/linux-3.3.3/arch/x86/boot/bzImage -initrd my-initramfs.cpio -append "root=/dev/sda rdinit=/sbin/init"
on qemu, the full message is:
Failed to execute /sbin/init Kernel panic - not syncing: No init found. Try passing init= option to kernel. see Linux Documentation/init.txt for guidance. Pid: 1, comm: swapper Not tainted 3.3.3 #1 Call Trace: [<ffffffff811d78b4>] ? panic+0xa9/0x197 [<ffffffff811d6927>] ? init_post+0xb2/0xb2 [<ffffffff812aad96>] ? kernel_init+0xff/0xff [<ffffffff811dcd44>] ? kernel_thread_helper+0x4/0x10 [<ffffffff812aac97>] ? do_one_initcall+0x121/0x121 [<ffffffff811dcd40>] ? gs_change+0xb/0xb
-
Jakob Bennemann almost 10 yearsIt is incredibly difficult to figure out what you are trying to say. Are you asking for further help on this issue? If so, you should not be posting this as an answer, but as a new question and referencing the old one. If you are trying to provide an answer, you should try to make your procedure make sense and be readable.
-
Ciro Santilli Путлер Капут 六四事 almost 9 yearsFor those who prefer code to prose, there is Minimal Linux Live :-)
-
Markus Laire over 7 yearsThank you, increasing RAM fixed this error with custom debian-live.
-
Alex about 7 yearsThis is really unclear to me. There is just so much information missing.