Re: Having trouble booting from CD?
Posted: Thu Jun 11, 2015 4:44 pm
Yeah, been using emulators so far. My biggest problem with them is that, for example, even VirtualBox just accepted an iso and ran with it despite the glaring issues people pointed out in my source code earlier. Thinking external hard drive is just a much more simple way to do it. And it also will help me understand how the underlying file systems work as I will have to implement that eventually. And burning a cd every time i want to test it? Pass. xDCombuster wrote:For all your booting problems, try it in a virtual machine or emulator first.
Only the truly ancient BIOSes can't boot from CD. In fact, no-emulation El-Torito is better supported than no-emulation which is generally better supported than USB boot. But each mechanism is different, and you can't simply use code for one method to do the other. However, test cycles using a CD are pretty much the slowest option available - from experience they are worse than floppies.
I have a working external CD drive that can be booted from - I even installed my computer with it.
If you want to do the CD way, your best bet is to make the .iso using mkisofs/genisoimage and specifying the bootcode properly. You can then also post that command for scrutiny if either the VM or real hardware doesn't grok it.
I can see where he's coming from, but I agree. I used the words 'I assume' knowing that someone would correct me if I'm wrong. I'd look stupid if I said things with conviction and they weren't accurate. But you raise a very valid point as well!gerryg400 wrote:This is poor advice. Assumptions are important in all forms of engineering. Without making assumptions, often no progress can be reasonably made. As long as assumptions are considered and stated they should present no problem.kiznit wrote:When programming, never assume. Verify.zehawk wrote:I'm assuming