Creating A Torrent

Now it is time to setup software and create a torrent.

We are going to use Vuze.  (Other options, such as qBittorrent, should work as well).  Download it and read the options carefully as you install so as to avoid add-ons you don't want.  Then fire it up.

Prepare to Turn On A Tracker

Vuze comes with an internal tracker, but we need to turn it on first.

  1. Go to Vuze -> Preferences...
  2. Set the mode to "Intermediate." (The tracker server options are not available to a beginner).

a91b3208-5805-479a-8320-b89409626f25.png


Turn on the Tracker

  1. Choose Tracker -> Server from the menu pane.
  2. Type in an appropriate IP address for your server.
  3. Enable the tracker on HTTP or HTTPS.

I left all other settings at their defaults; some of them sound promising for improving performance on a LAN.

Hit the "Save" button in the lower left corner (not shown) and close the preference window.

63a05ce7-b7b3-48c5-84d6-e2c04ae222fd.png


New Torrent - Set Tracker

  1. Choose File -> New Torrent.
  2. Use the Vuze embedded tracker
  3. If you are using an HTTP seed, click the appropriate box.
  4. Next.

5386c64a-6880-49dd-99c8-427282e381ea.png


New Torrent - Set Webseed

If you are using a web seed,

  1. Hit the "New..." button.
  2. Hilight "webseed"
  3. Paste/type in your URL
  4. Save
  5. Next

75830d8e-e08a-49e6-8879-17bd2f92995c.png


New Torrent - Add One File

Drag and drop your raw disk image onto the "Make A Torrent" window, and hit Next.

11e6aa8b-f86e-4bad-ad63-dfb766992f23.png


New Torrent - Set Options

At the very least:

  1. Open the torrent for seeding when done.  (Possibly optional, if you are web seeding, but recommended).
  2. Host the torrent on the built-in tracker.  (This is the whole point of the exercise!)

The best settings for the other options are unclear to me.  On a LAN, large pieces seem sensible.  [If you have recommended settings, please e-mail clinton.blackmore+bt_imaging@gmail.com].

Hit the "Finish" button.

718f02fc-5dc3-48f1-bb02-ecd62a73be55.png


Hurry Up And Wait

The computer will now calculate checksums for every single piece in the torrent file.  It took about 7 minutes for it to generate a torrent for a 31 GB file for me.

24d52508-56df-4379-82aa-2076989ba696.png


Final Result

The torrent is done, and is being seeded from this computer.  Now that the seed shows up as being 'inactive' -- nothing is connected to it.

One more thing to note -- you can right click on the torrent's entry in your list and tell it to "Force Start" and "Pause" if you feel like it.

8d602f10-70e9-4995-a194-1dbd2a4e32be.png


Copy Torrent For DeployStudio

Lastly, copy your resulting torrent file into your DeployStudio "Torrents" folder (creating the folder if it doesn't already exist).

IMPORTANT: If your raw disk image is named "myawesomeimage.cdr", your torrent must be named "myawesomeimage.cdr.torrent" (or the script will not be able to create the necessary symlink to restore the file to a disk partition device).

4e705d18-9610-45fd-8e74-0235f08c1b15.png


Next: Using BitTorrent With DeployStudio