The Framework laptop is now assembled with an empty 500GB drive waiting for its first operating system. The Cunning Plan requires this to be Windows 10.
You can get a legal download of Windows 10 from here. Note that if you’re already running Windows, Microsoft’s cheesy security system will deny you this download and direct you instead to downloading the Windows “Media Creation Tool” which you’ll then use to access the actual download.
I didn’t want the Media Creation Tool. All I wanted was the Window 10 iso to add to the iso collection on my Ventoy USB stick. Ventoy + Windows 10 iso is recipe for instant booting, as we’ve discussed.
Happily, as I wasn’t using a browser on Windows, I could download the iso directly. Windows users, in fact, can do the same thing simply by tweaking their browser to announce, falsely, that it’s running on Linux. So Microsoft’s security system isn’t just cheesy, it’s Swiss cheesy.
With Windows 10 Pro installed on the Framework, I immediately ran Sven Mauch’s magnificent WinSlap. This gave me, with the minimum of effort, a Windows installation stripped of bloat and telemetry.
What it didn’t give me, alas, was the automatic addition of a number of trusted, useful free software applications—Gimp, DupeGuru, Audacity and others. WinSlap relies on a Windows app called winget to download these, and winget was missing from my Windows installation. It lurks in the Microsoft Store under the name of App Installer. But you can’t get it from there without signing in to a Microsoft account, which I wasn’t inclined to do.
Winget is downloadable from elsewhere, however. With this winget installed I ran Winslap again, just ticking calibre, Gimp and KDEConnect. (I’d already installed Telegram Messenger and DupeGuru manually—also the Vivaldi browser, which isn’t on WinSlap’s list but really should be.)
winget install joplininto the Windows command prompt gets the job done right away.
Would-be Linux users have an even better reason to explore winget as it’s a useful introduction to the command line method of installing and uninstalling Linux apps, as we shall see.
WinSlap was still unable to make use of my newly installed winget. But I found I could run winget directly from the command line to download a few of the WinSlap apps*.
But for me, this Windows 10 installation is only transitory in the Cunning Plan. For the Windows users among you, WinSlap does its main job of cleaning out Microsoft’s crud and cruft, although the downloading of free software apps may be something you have to do manually.
I was now ready to press on to Step Two.
Linux on Windows
“Linux is a cancer that attaches itself in an intellectual property sense to everything it touches,” said the then Microsoft CEO Steve Ballmer in 2001. It was clear at the time that Ballmer’s legal and practical understanding of the issue was tenuous.
Linux was no threat to Microsoft on the desktop but Ballmer was seeing the rapid inroads it was making into the enterprise server market, which he thought Microsoft owned by right.
Well, it’s some of Linux, at any rate. Follow the instructions for installing WSL here and you’ll discover what you actually get is a full implementation of Linux as a command line operating system only. There’s no graphical user interface.
For old Linux hands like me, command line Linux is the real Linux. But I can’t see the average Windows punter doing a lot with this. Perhaps that’s the idea. Hankering after Linux, are you, Microsoft asks. Well, here it is. Good luck with it.
However, if you’re so inclined, there’s a lot you can do and learn at the Linux command line. This isn’t the place for a tutorial (there are plenty on the Web like this one) but once you’ve installed WSL (I’d recommend starting with the Ubuntu 22.04 version) you can quickly pick up the basic vocabulary (for example, from here).
As a tiny sample of this new world, try this:
At the command line prompt, type the word
top. You’ll see something like this:
These commands all derive from Unix and have two Unix characteristics. They’re always in lower case and they’re all terse. Back in the day you were working with line printers and/or monochrome terminals and any available memory was measured in kilobytes.
top stands for “Table of Processes” and that’s what you’re looking at here: a table showing all the processes running on the system at the moment. Not many have turned up because this is the Linux subsystem—you won’t see any Windows processes here.
Type Control-C to get back to the prompt. Now type the word
btop. Something really classy happens.
btop tool isn’t installed by default, as the response tells you. But it does say what you can do to install it! I love this. Don’t be intimidated by the dark waters of the command line. Helpful dolphins lurk below the waves.
If you follow the suggestion to install
btop and run it you’ll get some idea of how programmers have developed the command line in the many decades since the era of line printers and mono terminals.
The Linux/Windows Beginners’ Slope
So far we’ve booted into Linux from a USB stick without affecting our existing operating system. We’ve also installed Microsoft-sanctified versions of Linux (but limited to the command line) into Windows itself, which gives us a good chance to master the underpinnings of Linux.
This is valuable, because one principle of Linux is that what the GUI shows of the operating system (as opposed to the apps running on it) is just a convenient handle on the real stuff that’s defined by human-readable text files below the surface.
In part 7 we’ll peel off Linux from Windows and—while still running it on the same hardware—get a complete Linux installation, GUI and all, working inside
Chris Bidmead 08-Jul-22