GRUB2 configuration with linux long mode kernel
Posted: Sun Dec 27, 2020 10:49 am
I made a linux compatible long mode kernel by copying a number of files from the linux source code and was able to compile it and run it in qemu. Here is a screen shot from qemu in legacy mode:
I am bit confused by the output. Here is my grub.cfg file:
I set root=sr0 as the ouput suggests but still getting the same kernel panic.
I am bit confused by the output. Here is my grub.cfg file:
Code: Select all
set timeout=15
set default=0 # Set the default menu entry
menuentry "MYOS" {
linux /boot/kernel-file root=sr0
}