Hey guys,
I've decided to finally abandon floppy images (with GRUB legacy) and use a GRUB 2 cd-rom image for the VGA/VBE/VESA extensions so I can switch graphics modes (at the moment it's the only way I'm able to). However, I'm having trouble copying the kernel binary in Windows.
I've made my initial image in Arch Linux with grub-mkrescue, and it boots fine in Bochs, however, when I copy a freshly compiled kernel binary to the image (using magicISO), it it seemingly corrupting some kind of data on the disc and it will refuse to boot, citing that it can't find a module I've also noticed the file size changed drastically after saving the image. Before, I could just copy the binary onto my floppy with WinImage, but it's beginning to look impossible to do with an ISO on Windows..
I know a LOT of you guys here use Linux (I know I probably should be haha), but does anyone have any suggestions? I've tried at least 4 different tools to copy files to files to an ISO, but none have worked. At the very least, is there any other way besides what is on the wiki to switch to VGA mode without some of the more fiddly implementations? Perhaps even a patched GRUB legacy (the links are dead on the wiki )
Thanks,
Quaker763
Copying Kernel Binary to a GRUB2 ISO (in Windows)
- BrightLight
- Member
- Posts: 901
- Joined: Sat Dec 27, 2014 9:11 am
- Location: Maadi, Cairo, Egypt
- Contact:
Re: Copying Kernel Binary to a GRUB2 ISO (in Windows)
Try a virtual CD-ROM software for WIndows.
Since you have Arch Linux, most people would recommend you use that anyway, as Linux is much more suited for OS development.
Since you have Arch Linux, most people would recommend you use that anyway, as Linux is much more suited for OS development.
You know your OS is advanced when you stop using the Intel programming guide as a reference.
Re: Copying Kernel Binary to a GRUB2 ISO (in Windows)
Images are mounted in read-only mode.. I probably should start using Linux, but I don't have time to change my build environment. Anyway, on further reading it seems I can change to certain VGA modes just by writing to VGA registers
Thanks,
Quaker763
Thanks,
Quaker763
- BrightLight
- Member
- Posts: 901
- Joined: Sat Dec 27, 2014 9:11 am
- Location: Maadi, Cairo, Egypt
- Contact:
Re: Copying Kernel Binary to a GRUB2 ISO (in Windows)
VGA is ancient. It's limited to 640x480 with 16 colors. Forget about it, and use VESA.
You know your OS is advanced when you stop using the Intel programming guide as a reference.