QEMU Black Screen After Grub Menu
Posted: Tue Aug 08, 2017 4:34 pm
I used the mingw toolset to create a i686-elf cross compiler attempting to follow the Bare Bones and Meaty Skeleton cross compiler. Once it finished building, I built the files with the commands
And then use grub-mkrescue in the Windows Unix Subsystem to create the iso.
My kernel is straight from Bare Bones, and the asm has a modification to accout for the name of the main function being modified in compilation to '_Z11kernel_mainv'. The linking script is also straight from bare bones.
The kernel is checked by grub-file and has a valid multiboot header, and i start up QEMU.
It gets to the grub menu, i hit enter over my operating system and QEMU shows a black screen with a blinking cursor. I saw no errors during building, creating the cross compiler, or from mkrescue, so I'm confused.
Any Help is Appreciated,
My Thanks
Sean
Code: Select all
i686-elf-g++ -c kernel.cpp -o kernel.o -ffreestanding -O2 -Wall -Wextra -fno-exceptions -fno-rtti
i686-elf-as boot.asm -o boot.o
i686-elf-gcc -T linker.ld -o PinkSeagle.bin -ffreestanding -O2 -nostdlib boot.o kernel.o -lgcc
My kernel is straight from Bare Bones, and the asm has a modification to accout for the name of the main function being modified in compilation to '_Z11kernel_mainv'. The linking script is also straight from bare bones.
The kernel is checked by grub-file and has a valid multiboot header, and i start up QEMU.
It gets to the grub menu, i hit enter over my operating system and QEMU shows a black screen with a blinking cursor. I saw no errors during building, creating the cross compiler, or from mkrescue, so I'm confused.
Any Help is Appreciated,
My Thanks
Sean