"Error: Can't get mode info" in GRUB2
-
- Posts: 15
- Joined: Sat Sep 15, 2012 5:02 pm
- Libera.chat IRC: csacchi
"Error: Can't get mode info" in GRUB2
Whenever I load my kernel with grub, it loads fine. Except, when I type "boot" and hit enter a message appears that says: "Error: Can't get mode info" and automatically reboots. I don't think it's a problem with my code, because I tested it on QEMU and it worked fine without error messages, but with real hardware and GRUB2, the message has no error number, and automatically reboots afterwards. Could you guys help?
https://github.com/christophersacchi/RazorOS
"... you notice that this scanner will... woah!"
"Moving right along!"
"That must be, uh. That must be why we're not shipping Windows 98 yet..."
"Absolutely. Absolutely."
"... you notice that this scanner will... woah!"
"Moving right along!"
"That must be, uh. That must be why we're not shipping Windows 98 yet..."
"Absolutely. Absolutely."
Re: "Error: Can't get mode info" in GRUB2
Can you please post all the commands you use to load your kernel in GRUB2? "Mode info" sounds like something to do with VESA -- have you tried googling that error? Does your kernel use VESA? It doesn't sound like a Multiboot problem...
-
- Posts: 15
- Joined: Sat Sep 15, 2012 5:02 pm
- Libera.chat IRC: csacchi
Re: "Error: Can't get mode info" in GRUB2
I use: "root=(hd0,msdos1)", "multiboot /ChrisOS.BIN", and "boot" to load my kernel in GRUB2. I've tried googling "Error: can't get mode info" and can't find an already-answered question about the same topic. I'm not sure if my kernel uses VESA, I only output to 0xB8000, so I'm not sure if that's VGA or VESA.
https://github.com/christophersacchi/RazorOS
"... you notice that this scanner will... woah!"
"Moving right along!"
"That must be, uh. That must be why we're not shipping Windows 98 yet..."
"Absolutely. Absolutely."
"... you notice that this scanner will... woah!"
"Moving right along!"
"That must be, uh. That must be why we're not shipping Windows 98 yet..."
"Absolutely. Absolutely."
Re: "Error: Can't get mode info" in GRUB2
That's very odd -- when I google your error, the few results that come up all talk about VESA. Could you please post your Makefile, linker script, and the file that contains your Multiboot information? I'm drawing up blank here -- GRUB shouldn't complain about VESA if you're not using VESA...
-
- Posts: 15
- Joined: Sat Sep 15, 2012 5:02 pm
- Libera.chat IRC: csacchi
Re: "Error: Can't get mode info" in GRUB2
I fixed it, I changed it to a kernel that runs off a floppy disk instead of a multiboot-compliant kernel that runs in GRUB. Thanks for all the help!
https://github.com/christophersacchi/RazorOS
"... you notice that this scanner will... woah!"
"Moving right along!"
"That must be, uh. That must be why we're not shipping Windows 98 yet..."
"Absolutely. Absolutely."
"... you notice that this scanner will... woah!"
"Moving right along!"
"That must be, uh. That must be why we're not shipping Windows 98 yet..."
"Absolutely. Absolutely."