344 points · by erik · 4y ago · 149 comments
Something I recently joked about doing was porting SDL to the UEFI environment and then building DOSBOX for it. I’m sure someone has already done this in some fashion, but the idea was amusing enough for me to genuinely consider it one of these weekends. I guess in that case, though, you can’t really run FreeDOS.
You are correct - it is basically used as a back door.
Not unlike "Other OS" on PS3. Same theory, different application.
This is false. They still can and happily will. Issue is more about vendor not shipping a CSM image. A modern x86 processor will happily run real DOS just fine.
I used your apps back when I had a Tungsten T5, and Treo 680. :)
It might not have happened yet, but it seems inevitable.
...which makes me wonder whether it's possible for the community to write one, given how much docs and source code Intel have released for their GPUs. Of course, how VGA-compatible it is is another thing to consider.
Really booting without UEFI being involved in the process would require completely different firmware image.
Microsoft has a licensing program for .edu that doesn’t require an “embedded” hardware license. There are also many places using Neverware to provide Chrome desktops while using the some warranty services, etc that they have with PCs.
If you buy alot of computers, you can get desktops crazy cheap. Big enterprise buyers get low-spec desktops for ~$225 without windows or $300 with. If you don’t care about power/footprint, they are the best value thin client. Schools are huge PC buyers, some districts have >300k students, so you’re easily talking 40-70k PCs annually.
At any rate, even if you did find some OS you could install from DOS, you’d be installing it into the QEMU image if you installed from FreeDOS on a system with this arrangement. There’s no way to get back to the bare metal hardware from FreeDOS here.
Forget the DOS part.
Renegotiating the contract to something sensible like "don't run DOS anymore" was probably hopeless in the face of the bureaucracy, or risked losing to contact.
Dell has the Ubuntu option for many computers, but for those who do not want to use Ubuntu, like myself, there is no difference between the Dell Ubuntu option and the HP FreeDOS option, because such customers will always install their own preferred OS, immediately after the purchase of a new computer.
In fact, if you just boot FreeDOS 1.3 in VirtualBox, you'll see it detect the virtual NIC, load a TCP/IP stack and acquire an IPv4 address, then report it.
It is mostly developed and run inside VMs these days, AFAICS.
So I suspect this option is either due to an agreement with MS, or an overly cautious legal department.
https://www.justice.gov/atr/competitive-impact-statement-us-...
Though I've assumed that FreeDOS runs on bare metal. This whole Linux-with-a-VM feels strange, to say the least.
And the FreeDOS just works. Doesn't do much, but what it does, it does well.
I’d wager the FreeDOS is a legacy option because they’ve supported it in the past an figures have shown it sells. Even if those figures don’t take into account how many of those legacy FreeDOS installs were for other alternative OS like Linux (though it could also be BSD, Haiku, Illumos, ReactOS or others).
Or there genuinely might still be FreeDOS users out there. Eg running industrial applications. Though I’d wager they’d be more likely to run DosBox and not on laptops either. But “industrial applications” covers such a wide spectrum of uses so never say never.
So while they offer Ubuntu on a limited set of machines, perhaps this emulated approach allows them to effortlessly ship neither-Windows-nor-Ubuntu option to everyone to guide their development/marketing effort (learn if people are happy with Ubuntu/Windows options).
My (relatively new) HP Spectre x360 only got sound working until Ubuntu 22.04 was launched. This is one year after the hardware was launched. I spent some months using Ubuntu without having sound, unless I plugged my USB headphones.
My previous laptop, Dell Inspiron 7375 with an AMD Ryzen 5 2500U CPU, did not even properly boot into Linux until Ubuntu 22.04 was launched. The best I could manage was make it boot it with some MMU kernel parameter, and it worked for half an hour until it froze. And it always froze with Ubuntu 18.04. It is a computer from 2018, so it was four years without me being able to natively run Linux in it. I had to use a virtual machine during these years =(
So, there's a lot of work either by the community or by the vendor to make Linux work in some hardware.
So yeah, I'm thinking horribly broken company process and/or outsourcing without actually making sure the requirements make sense.
Selling it with freedos, you only have to support freedos, and people who buy that option will install something else anyway.
But they do offer to ship with a Linux distro, even apart from this strange frankensystem option. Did you miss where straight Ubuntu is a pre-install option?
But why or how? I just don't see that at all. Dell won't "support" FreeDOS either. It could be just a basic Ubuntu install that's broken as hell, and I don't see why or how Dell would need to support that.
And that's exactly what they're doing. They just did the bare minimum work to be able to fit that Linux setup under their pre-existing "FreeDOS" SKU. And the real point of that SKU is for sophisticated users to wipe the whole thing clean and set up their own OS install. It still works perfectly for that.
HP ships Ubuntu in thin clients by default. So the fact they are doing this implies some specific reason.
I have no idea.
If the laptop is running FreeDOS on "bare metal", what happens when you close the lid and put it in your backpack?
> If the laptop is running FreeDOS on "bare metal", what
> happens when you close the lid and put it in your backpack?
That use case isn't even supported in Windows on some Dell models.Discussed on HN here: https://news.ycombinator.com/item?id=28639952
I wonder if it can actually boot DOS on the physical hardware, and if it can't ( DOS itself is very minimal in what it requires of the hardware), is it really PC-compatible anymore?
EDIT: The answer is yes and it's been done: https://g00se.org/2016/11/seabios-on-libreboot.html (granted, that's booting directly from coreboot to GRUB, but it should be the same booting UEFI to GRUB AFAIK)
But it's also quite surprising considering HP (and HPE which I understand is not very related) usually provides FreeDOS based firmware update and configurarion ISOs on their product download pages.
From some HP documentation archived on some website called icecat
If not, can they just do the same thing with windows, and not bother with supporting it on bare metal?
I find OEMs that bundle operating systems to be weird. Dictating choice is something a dictatorship would do. I used to argue the reasoning until the obscurities hit.