The weird Hewlett Packard FreeDOS option
blog.tmm.cx
blog.tmm.cx
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.
Not unlike "Other OS" on PS3. Same theory, different application.
You are correct - it is basically used as a back door.
Most devices, even in your computer (eg: laptop battery) run an OS. There's a good talk somewhere on how we've lost our way with OS design and now need to write an OS that looks at a single machine as a distributed system.
That generation of laptops can detect a problem with the battery much earlier (e.g. It can warn the user a year before the battery starts to swell. Been there, seen that). This knowledge is the basis of apple's battery technology that we see on their mobiles (iOS and macOS) today.
IIRC the password on these things were set to a default one and a PoC exploit was written for that platform.
[0]: https://www.bunniestudios.com/blog/?p=3554
[1]: https://i.blackhat.com/us-18/Wed-August-8/us-18-Valadon-Reve...
https://www.youtube.com/watch?v=36myc8wQhLo
USENIX ATC '21/OSDI '21 Joint Keynote Address-It's Time for Operating Systems to Rediscover Hardware
Edit or this one (not a talk but a paper)?
https://www.usenix.org/system/files/osdi18-shan.pdf
LegoOS: A Disseminated, Distributed OS for Hardware Resource Disaggregation ... We propose a new OS model called the splitkernel to manage disaggregated systems. Splitkernel disseminates traditional OS functionalities into loosely-coupled mon- itors, each of which runs on and manages a hardware component
Exactly, currently they are too easily exploitable because they are not joined up.
You see it with gpu's being hacked and the OS not recognising this.
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.
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.
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.
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.
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.
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.
I used your apps back when I had a Tungsten T5, and Treo 680. :)
> It as possible, but not documented.
Should probably be:
> It [is|was] possible, but not documented.
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.
(I mean, can it even?)
So I suspect this option is either due to an agreement with MS, or an overly cautious legal department.
And the FreeDOS just works. Doesn't do much, but what it does, it does well.
I guess they only do that because the FreeDOS name does not frighten the average tech guy who only used microsoft products as much as linux.
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.
That's not a universal truth. I've worked with plenty who are.
> Having the keyboard, monitor, and computer in a single housing with a built-in UPS all in a compact device with a single power cord is a big selling point.
That's not a universal truth either. Sometimes the device will be a headless controller. In which case a laptop wouldn't always the right form factor. There might be additional hardware that needs supporting, which can be much more complicated with laptops. There might be other requirements (eg environmental constraints) too.
"Industrial" covers a pretty large spectrum of use cases.
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 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).
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.
So yeah, I'm thinking horribly broken company process and/or outsourcing without actually making sure the requirements make sense.
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.
The Ubuntu license says that if they make any modification whatsoever, no matter how trivial, they can no longer call it Ubuntu. Just adding a driver is enough to trigger the clause, AFAICT.
Most likely it is an agreement that is seen as a win on both party. HP has no incentive to pay ubuntu for anything, and ubuntu can't get any new market if it starts asking companies to pay for it.
And they could use whatever distro they want that do not have those clauses instead of ubuntu.
Also, these agreements are Ubuntu's primary revenue source, AFAICT. And they have hundreds of millions in revenue per annum. Primarily from the cloud vendors.
All distros have these clauses. The software is free, but the name is a protected registered trade mark. Not all distros enforce it, but the HP lawyers will ensure HP is covered.
Finally corporate buyers will want a trusted distribution, not the flavor du jour.
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.
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.