使引导程序和内核成ISO? [英] make bootloader and kernel into iso?

查看:259
本文介绍了使引导程序和内核成ISO?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何创建简单的引导加载器加载内核成ISO?它已经5天,我在谷歌搜索和做试验和错误很多次,但一无所获.....我试过很多教程像mikeos,osdev,超新星爆发,宇宙操作系统,但仍然获得无解.....
我的电脑没有floopy磁盘,所以我不能使用floopy磁盘引导程序做...
我看到mikeos教程第一个扇区512字节启动加载和第二内核可以使用imdisk但使用floopy盘还他可以做的bootloader和放大器进行;另一个内核文件加载到ISO ...他怎么能做到这一点(做ISO不使用floopy盘)?我想引导程序和内核使用汇编,使...这不是我用汇编,并已experinced其他一些语言如C ++第一次,VB,PHP,植酮等....
如何让第一个扇区的引导加载器seacrhing /负载内核编译成ISO?还增加了一些文件和文件夹导入ISO?感谢..

how to create simple bootloader that load kernel into iso? it has been 5 days , I searching in google and do trial and error many times but got nothing.....I have tried many tutorial like mikeos,osdev,supernova,cosmos os but still get no solution..... my computer doesn't have floopy disk so I can't make bootloader using floopy disk... I see in mikeos tutorial first sector 512 byte is for bootloader and second for kernel can be made using imdisk but using floopy disk also he can made bootloader & kernel load another file into iso...how he can do it(make iso without using floopy disk)? I want to make bootloader and kernel using assembly...it's not first time I using assembly and have experinced some other language like c++,vb,php,phyton and others.... how to make first sector for bootloader that seacrhing/load kernel compiled into iso?also adding some file and folder into iso?thanks..

推荐答案

我建议你使用一个标准的引导程序,如果你打算写一个操作系统,并使用模拟器代替真机的任何方式(不是因为你的bootloader可以打破计算机 - 。还是不可能的,但因为它是一个简单的使用和调试启动方式,您将几乎肯定会觉得无聊刻录CD每次更新

I recommend you to use a standard bootloader if you are going to write an OS and use an emulator instead of real machine any way (not because you bootloader could break computer - it probably couldn't, but because it is a simpler way to start up with and debug. You will almost certainly get bored of burning a CD each update.

此外,要注意ISO使用更复杂的引导协议比软盘/硬碟一样。最好的办法是,如果你想使用CD,并使用软盘映像(可以通过仿真后者连接到CD),如果你想拥有你自己的bootloader使用GRUB或ISOLINUX。

Also, note that ISO uses a more complicated boot protocol than floppy/harddisks does. The best approach is to use GRUB or ISOLINUX if you wish to use CD and use a floppy image (which can be attached to CD by emulation latter) if you wish to have you very own bootloader.

这篇关于使引导程序和内核成ISO?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆