flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
spideros1
I wrote small stub that allows you to load Menuet kernel from any linux loader.
http://menuetlibc.sourceforge.net/mldr.tar.bz2 cat ldr with kernel.mnt e.g. cat ldr kernel.mnt > kernel.bin and load kernel.bin from any linux loader. Loader thinks that it loads linux kernel. |
|||
![]() |
|
crc
I prefer to use 'dd' as it can be slightly more reliable than 'cat' for this task:
Code: dd if=floppy.img of=/dev/fd0 OR: cp ldr.bin kernel.bin dd if=floppy.img >>kernel.bin |
|||
![]() |
|
spideros1
crc wrote: I prefer to use 'dd' as it can be slightly more reliable than 'cat' for this task: This is bad for ldr.bin. You have to concat. ldr & kernel.mnt to get kernel image with fake bootsector & setup code, so that linux loader think that they load linux image. |
|||
![]() |
|
crc
Quote: This is bad for ldr.bin. You have to concat. ldr & kernel.mnt to get kernel image with fake bootsector & setup code, so that linux loader think that they load linux image. I think I see the mistake. It should have been: Code: cp ldr.bin kernel.bin dd if=kernel.mnt >>kernel.bin I had it concating ldr.bin with the floppy image at first... |
|||
![]() |
|
fasm9
Thanks!
and as of now, i can't use it, i am running console-linux(ext3,JFS), there is no FAT16/32 in my HDD. spideros1 wrote: I wrote small stub that allows you to load Menuet kernel from any linux loader. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.