LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   bootable kernel image creation (https://www.linuxquestions.org/questions/linux-newbie-8/bootable-kernel-image-creation-803079/)

aloktiagi 04-20-2010 11:21 AM

bootable kernel image creation
 
Hi,

the things i've tried:

1. Created an asm bootloader code that calls a c function which just prints a hello message.
2. Compiled both and linked them using LD command using a .ld file available.

Steps followed from http://wiki.osdev.org/Bare_bones

I get a kernel.bin file which is of ELF format. I've set up a tftp server using tftpd32 tool and created the necessary pxelinux.cfg files.

Now how do i create a bootable kernel image out of the elf file. The steps given in the above website to create an image doesn't help!!!

Any help is appreciated

Alok

jcomeau_ictx 05-20-2010 10:17 PM

I just finished following the steps, installed qemu, and booted floppy.img. Did you try that before adding the extra complexity of PXE?


All times are GMT -5. The time now is 02:36 PM.