How to make a bootloader at linux

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
AwfulMint
Member
Member
Posts: 35
Joined: Wed Nov 01, 2017 7:41 pm

How to make a bootloader at linux

Post by AwfulMint »

So I'm using Vagrant with Xenial64 my host is a Windows 10 machine. My problem is, the VFD. Since windows 10 looks impossible to make a bootable VFD, bcs VFD(software) don't run at this version of the system. So how to do it in Ubuntu. I really want to do mah own bootloader but I have searched a lot and nothing.

Plz help me m8s. :oops:
OS Development is awesome!

|AetherOS Project|
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: How to make a bootloader at linux

Post by neon »

Hello,

For Windows, I always recommend ImDisk which supports disk image creation, mounting, and partitions. You can also write a custom utility in about 10 lines of C to install the boot sector code. For Linux, everything that you need is already described in the Wiki here.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Post Reply