flat assembler
Message board for the users of flat assembler.
Index
> MenuetOS > small tip to install menuetos in Linux. |
Author |
|
spideros1 02 Aug 2004, 06:11
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. |
|||
02 Aug 2004, 06:11 |
|
crc 02 Aug 2004, 07:57
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 |
|||
02 Aug 2004, 07:57 |
|
spideros1 02 Aug 2004, 10:32
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. |
|||
02 Aug 2004, 10:32 |
|
crc 02 Aug 2004, 10:47
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... |
|||
02 Aug 2004, 10:47 |
|
fasm9 02 Aug 2004, 11:26
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. |
|||
02 Aug 2004, 11:26 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.