Quantcast
Viewing all articles
Browse latest Browse all 18

Making a bootable pendrive for custom kernel

I read the tutorials to make a mimalistic custom kernel from here and am able to boot it up as explained in the tutorial over a virtual machine using GRUB as the boot loader.

I think it would be more fun if I could do the same over bare hardware using a bootable pendrive. That is use GRUB, pendrive and my Kernel executable to form a bootable pendrive and then boot into the kernel from this pendrive.

Q1. I thought of using the normal procedure of how I make a bootable linux pendrive, but my kernel isn’t really an iso image, its an elf format executable. Will the normal method work if I somehow convert my executable to iso format ?

Q2. Any other ideas / link to some resource how I should proceed ?

P.S. : Its NOT Linux kernel per-se, Its absolutely minimal kernel, no file system nothing. Just boots up, prints something on console and can handle keyboard events, thats it.


Viewing all articles
Browse latest Browse all 18

Trending Articles