> BTW, you may try linld:
>
> http://port.imtp.ilyichevsk.odessa.ua/linux/vda/linld/
>
> instead of loadlin. Its source is way smaller ;)
interesting! it works! however, I noticed some surprising effects.
I boot Linux via BIOS, then boot DOS via LINUX
when I boot linux again via LINLD, the "Uncompressing Linux ..."
takes a lot longer as compared to doing a LINLD from a DOS which
was booted by BIOS. I think this has something to do with switching....
oh! I know .... machine_real_start() from linux turns off the cache,
so this could be the reason. Ok, so I'll check this out by chaning CR0.
anyway, where loadlin hangs when loading the kernel from a Linux-booted
DOS, linld will go. The only hang I experience is cycling the boot-sequence
1) BIOS ->boots ... Linux
2) Linux boots DOS by switching to RM16, loading MBR and jmp 0:7c00
3) DOS boots Linux again via linld
4) Linux restores the realmode IDT by restoring a previously made copy of 0-3fff
5) Linux boots DOS by switching to RM16, loading MBR and jmp 0:7c00
after the C:\> DOS prompt appears, I dont have a keyboard anymore. Anyway,
that's not much of a worry right now. Now I have to figure out *how*
linld works!
thanks for your hint!
herbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/