• 1 Post
  • 12 Comments
Joined 1 year ago
cake
Cake day: February 17th, 2024

help-circle
  • You can do this with the dd command. To prep:

    Set up a live boot USB stick with your distro of choice.

    Install another SSD/nvme/HDD at least the same size as your bookworm install into your bookworm machine. If that’s not an option connect a USB drive that’s at least the same size as the drive with your bookworm installation.

    Boot into the live USB on the bookworm machine.

    Make sure the partition(s) from your bookworm install are unmounted.

    Quadruple check the drives/devices for the dd command. Here’s the basics of the command:

    dd if=/device/where/bookworm/is/installed of=USB/or/second/drive/in/machine bs=8M status=progress

    So, if your bookworm install is on /dev/sda, and the USB or secondary is /dev/sdb, then the Cmand would be:

    dd if=/dev/sda of=/dev/sdb bs=8M status=progress



  • I’ve been learning bash and working on scripts to automate stuff in my homelab. It’s been a lot of fun. I’m currently working on a script that will rename the movies and TV shows I rip from my DVD collection.

    The script queries the tmdb api, presents me with a mwnu of matches if there’s multiple matches, renames the media files according to jellyfin spec, and then places them in the proper folders to be indexed by Jellyfin and Kodi.