=^.^=

youtube-dl Command Line for Downloading a YouTube Playlist as MP3s

So I don't have to go looking for this again:
youtube-dl --yes-playlist --extract-audio --audio-format mp3 --audio-quality 0 --keep-video --metadata-from-title "%(artist)s - %(title)s" Playlist URL
--embed-thumbnail errored out after the first conversion for me :(

debian-10 TemplateVM Does Not Install Correctly on Qubes

For reasons unknown I have experienced an unclean installation of the Debian 10 TemplateVM under Qubes 4.0.3. Symptoms include:

  • The only menu entry for debian-10 is Start
  • The TemplateVM and derivative AppVMs does not start

It is easy to re-install the template; from dom0:
sudo dnf qubes-dom0-update --enablerepo=qubes-templates-itl --action=reinstall qubes-template-debian-10
It should be noted that an alternative minimal installation template is available which can be installed thus:
sudo dnf qubes-dom0-update --enablerepo=qubes-templates-itl qubes-template-debian-10-minimal
Due to the large size of these packages it is probably worth clearing the package cache post-installation:
sudo dnf clean packages

Firefox and Chromium Won't Stream Videos on Qubes/Fedora/RHEL/CentOs

On a fresh installation of Qubes you may find that Firefox and Chromium are unable to stream certain videos, particularly those not hosted by YouTube. The Qubes documentation suggests installing VLC which is a good idea anyway but I also install ffmpeg which pulls in additional codecs as its dependencies. To install ffmpeg you will need to enable the RPM Fusion repos.
dnf install vlc
sudo bash dnf config-manager --set-enabled rpmfusion-free rpmfusion-nonfree dnf upgrade --refresh
dnf install ffmpeg

Citrix Hypervisor (XenServer) Will not Boot After Intallation (Error 1962 on Lenovos)

You may find a fresh installation of Citrix Hypervisor (previously XenServer) will not boot on relatively older systems. In my case a Lenovo ThinkCentre from 2011 threw the error:

[attachment-im8M3g]
Error 1962: No operating system found. Press any key to repeat boot sequence.

This seems to be caused by the UEFI-enabled BIOS not supporting GUID Partition tables (GPT).

While it isn't necessary, I choose to force the BIOS' boot mode to Legacy:

[attachment-rryte8]

Next we need to add the disable-gpt kernel command line argument when we run the installation.

If your BIOS supports UEFI booting when the Citrix Hypervisor installation media runs you'll be greeted with a fancy GRUB splash:

[attachment-o7mBNt]

Enter menu.c32 at the prompt:

[attachment-OsGqRO]

This will load the conventional menu you're probably accustomed to:

[attachment-Mbthqc]

Press the E key to edit the boot arguments and add disable-gpt to the end of the linux kernel line as shown:

[attachment-9jw0Gc]

If you have already configured your BIOS to boot in legacy mode you will instead be greeted by a more minimalist boot menu:

[attachment-Ri5jyX]

Press the Tab key to edit boot options and append disable-gpt to the kernel command line:

[attachment-LaoayK]

Now continue to boot and complete the installation as normal.