Copying Kernel Binary to a GRUB2 ISO (in Windows)
Posted: Thu Jan 07, 2016 11:44 pm
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
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