Issue
I'm trying to boot a basic os on qemu. but it shows the following error: When I write make qemu from terminal
$make qemu
mkdir -p build/isofiles/boot/grub
cp build/kernel.bin build/isofiles/boot/kernel.bin
cp grub.cfg build/isofiles/boot/grub
grub2-mkrescue -o build/hello.iso build/isofiles #2> /dev/null
/bin/sh: 1: grub2-mkrescue: not found
make: *** [Makefile:31: build/hello.iso] Error 127
Solution
I've edited the makefile. Replaced grub2-mksrescue with grub-mkrescue. Now it works fine.
Answered By - Zeshan Ahmed Nobin Answer Checked By - Dawn Plyler (WPSolving Volunteer)