Sunday, 6 September 2015

Panicking Linux kernels and a deleted Windows Store

Hello, anyone who still reads this...

I actually built a linux kernel today, well several in fact.

Linux ulysses 4.2.0-4-desktop #1 SMP PREEMPT Sun Sep 6 14:29:35 BST 2015 x86_64 GNU/Linux

Doesn't it look nice? It's a mildly modified version of the Arch Linux stock kernel to turn some silly shit off, like NUMA and paravirtualisation and hypervisor guest (which all just add pointless overhead), bump to 1000Hz and compile with -march=native.

The great thing is it doesn't panic after most reboots like the Arch 4.1.6 one does...

Funnily enough, I ran their 3.14-lts kernel for a few days and wondered why the interactivity was a bit lacking - it's because it is obscurely compiled with preemption disabled and 100Hz. Crazy...

...but the real point of this post is the following:

If you have Windows 10, and don't want all the shite so called 'modern apps' which come with it, you can execute a PowerShell command (as a normal user, not elevated) which removes them:

Get-AppxPackage | Remove-AppxPackage

Unfortunately it also removes the Store for some obscure reason (you'd have thought Microsoft would have stopped you uninstalling the store, but hey).

It is possible to get it back, and the point of this blog post wasn't to bore people about buggy kernels, it's to record the command so I don't have to look it up the next time:

Get-AppxPackage -AllUsers | Where-Object {$_.Name -like "*store*"} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

No comments:

Post a Comment