Oso2k 22.09.2020, 22:25 |
Run Linux & Linux binaries on DOS (Announce) |
In case you missed it, DOS Subsystem for Linux [0][1] was announced on HackerNews. Think of it something like WINE, or, something like DPMILD32/HXRT/HXGUI Japeth's HX DOS Extender, but for Linux on top of DOS. A couple interesting things to note: 1) It needs to run w/o XMS [2], 2) It seems to actually boot Linux's bzImage kernel image [3]. |
Oso2k 22.09.2020, 22:28 @ Oso2k |
Run Linux & Linux binaries on DOS |
Oh....and it runs in UnReal Mode?!?! [0][1] Super interesting. |
RayeR CZ, 23.09.2020, 04:25 @ Oso2k |
Run Linux & Linux binaries on DOS |
How should it work? You say it's booting linux kernel so isn't it just yet another linux loader for dos (like loadlin, linld)? Does it use DosEmu? Or it use some magic trick to boot linux on background, then switch back to DOS and in case of running linux binary it switched to linux again? It may have a sense as you say it doesn't work with XMS - so it use only low memory for DOS while linux use mostly the memory above 1MB so they may live together and swapping between. No time to play with it now... --- |
Oso2k 23.09.2020, 04:34 @ RayeR |
Run Linux & Linux binaries on DOS |
> How should it work? You say it's booting linux kernel so isn't it just yet |
RayeR CZ, 24.09.2020, 02:08 @ Oso2k |
Run Linux & Linux binaries on DOS |
Yes, I readed the author post... --- |
Oso2k 01.10.2020, 19:40 @ RayeR |
Run Linux & Linux binaries on DOS |
> Yes, I readed the author post... |
RayeR CZ, 02.10.2020, 02:03 @ Oso2k |
Run Linux & Linux binaries on DOS |
Well thanks for testing and making binaries but I cannot download them, you probaly didn't set the public flag on your Gdrive. But still see no advantage of this over booting linux with dosemu, I see it just as a technical curiosity... --- |
Oso2k 02.10.2020, 02:05 @ RayeR |
Run Linux & Linux binaries on DOS |
> Well thanks for testing and making binaries but I cannot download them, you |
RayeR CZ, 02.10.2020, 02:07 @ Oso2k |
Run Linux & Linux binaries on DOS |
Yes, DL worx now --- |
RayeR CZ, 02.10.2020, 11:42 @ RayeR |
Run Linux & Linux binaries on DOS |
Unfortunatelly after some ACPI errors cannot mount ramfs :( --- |
Oso2k 02.10.2020, 18:09 @ RayeR |
Run Linux & Linux binaries on DOS |
> Unfortunatelly after some ACPI errors cannot mount ramfs :( |
RayeR CZ, 03.10.2020, 13:37 @ Oso2k |
Run Linux & Linux binaries on DOS |
It's my main core i7-2600k machine. I put the DSL on sata disk 0 - IDE emulation as primary master, FAT16 formatted partition C: along my DOS. I will check what device name is used in my debian linux for this disk but it might changed as kernel drivers changed. I saw that dsl.com contains some hardcoded paths and parameter, it' not good idea, better to have a separate config file. Now I just tried to boot it on my compaq notebook with standard ide hdd C: and it rebooted my system immediatelly so I couldn't read any error mesage if there was any. To start dsl I just booted to bare msdos 6.22 without config cd to dsllinux and run dsl.com --- |
Oso2k 03.10.2020, 17:57 @ RayeR |
Run Linux & Linux binaries on DOS |
[SNIP] |
Zyzzle 03.10.2020, 12:27 @ Oso2k |
Run Linux & Linux binaries on DOS |
> > Well thanks for testing and making binaries but I cannot download them, |
Oso2k 03.10.2020, 18:07 @ Zyzzle |
Run Linux & Linux binaries on DOS |
Zyzzle wrote: |
RayeR CZ, 04.10.2020, 00:14 @ Oso2k |
Run Linux & Linux binaries on DOS |
I very doubt that CPU 64-bit support matters. My NTB have Pentium-M Dothan (no 64bit). My debian (kernel 4.3) boots from standard device /dev/sda (sata 0). What kernel version is used in DSL? Enabling some debug messages could tell us more... --- |
Oso2k 04.10.2020, 06:38 @ RayeR |
Run Linux & Linux binaries on DOS |
> I very doubt that CPU 64-bit support matters. My NTB have Pentium-M Dothan |
RayeR CZ, 05.10.2020, 02:03 @ Oso2k |
Run Linux & Linux binaries on DOS |
OK, but maybe it's stripped of important components/modules/drivers to make the image small... --- |
Oso2k 05.10.2020, 02:54 @ RayeR |
Run Linux & Linux binaries on DOS |
> OK, but maybe it's stripped of important components/modules/drivers to make |
Oso2k 11.10.2020, 10:53 @ Oso2k |
Run Linux & Linux binaries on DOS |
> > OK, but maybe it's stripped of important components/modules/drivers to |
RayeR CZ, 12.10.2020, 13:49 @ Oso2k |
Run Linux & Linux binaries on DOS |
In my case I saw a quick waterfall of kernel messages but stopped very soon (cca 0.6s) on found 11 ACPI functions and then frozen... --- |
Zyzzle 13.10.2020, 06:37 @ RayeR |
Run Linux & Linux binaries on DOS |
> In my case I saw a quick waterfall of kernel messages but stopped very soon |
RayeR CZ, 24.10.2020, 15:56 @ RayeR |
Run Linux & Linux binaries on DOS |
I tried adain and here's my kernel error message: --- |
Oso2k 30.09.2023, 09:20 (edited by Oso2k, 01.10.2023, 05:57) @ RayeR |
Run Linux & Linux binaries on DOS |
Don't know if there is any interest in testing this further. I made a cleaner |
Zyzzle 23.09.2020, 11:45 @ Oso2k |
Run Linux & Linux binaries on DOS |
Sounds VERY interesting, but I see only the source is available, no compiled binaries. I am a little confused as to just what kernel version of Linux loads, and how big the binaries are supposed to be. I suppose one could choose just how robust the .iso image is, but my goal would be get it as small as possible, so as to load very quickly. |
Oso2k 23.09.2020, 17:16 @ Zyzzle |
Run Linux & Linux binaries on DOS |
> Sounds VERY interesting, but I see only the source is available, no |