Skip to content

Advanced Tools & Networking

This section contains guides for more complex or less frequent tasks that require careful attention to detail.

Router ConfigurationA step-by-step guide for configuring a TP-Link router to work with the TechLit classroom network.
Downloading YouTube VideosHow to install and use the command-line tool yt-dlp to download educational videos for offline use.
Create an Installer USBHow to prepare a new USB drive or re-provision an existing one to be a bootable TechLit OS installer.

This guide explains how to use the tl-usb-prepare command to create a bootable TechLit OS installer from a standard USB drive. This is useful for creating new installer drives or fixing one that is no longer working correctly.

  1. Ensure Recovery Image is Present

    The installer is created from a recoverycomponent. First, ensure you have the latest version on your machine.

    tl-comp-latest recovery

    If it’s not present, download it from the bastion first.

  2. Identify the USB Drive

    Plug the USB drive into your computer and run the following command to identify its device name.

    lsblk

    Look for a drive that matches the size of your USB. It will likely be named /dev/sda, /dev/sdb, etc.

  3. Run the Prepare Command

    Execute the tl-usb-prepare command, replacing /dev/sdX with the device name you found in the previous step.

    # Example for a USB drive at /dev/sdb
    tl-usb-prepare /dev/sdb

    The script will handle all partitioning, formatting, and copying of necessary files.

  4. Unplug the Drive

    Once the script is complete, you can safely unplug the USB drive. It is now ready to be used to provision other devices.