# Tails installation using img

**URL:** <https://forum.torproject.org/t/tails-installation-using-img/10752>\
**Category:** Tails\
**Tags:** tails\
**Created:** [December 21, 2023, 2:21pm UTC](https://forum.torproject.org/t/tails-installation-using-img/10752 "2023-12-21T14:21:34Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![compis](https://forum.torproject.org/letter_avatar_proxy/v4/letter/c/9d8465/32.png) [@compis](https://forum.torproject.org/u/compis)\
**Post date:** [December 21, 2023, 2:21pm UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/1 "2023-12-21T14:21:34Z")

</div>

Why does tails use an .img installation file instead of an ISO? This would allow local SHA256 verification of the ISO instead of using the “select your download”, [Tails - Install Tails from Linux](https://tails.net/install/linux/index.en.html) to verify the download ?

---

<div class="post-metadata">

**Author:** ![trinity-1686a](https://forum.torproject.org/user_avatar/forum.torproject.org/trinity-1686a/32/1679_2.png) [@trinity-1686a](https://forum.torproject.org/u/trinity-1686a)\
**Post date:** [December 21, 2023, 2:49pm UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/2 "2023-12-21T14:49:00Z")

</div>

Hi,

Local verification of sha256 has nothing to do with it being a .img or an .iso file. You can check sha256 in both case. Tails (and TorBrowser, and many other security sensitive projects) prefer to use PGP over sha256 because it provides better security against downloads from a rogue (or hacked) mirror.  
Tails actually has iso releases, they are linked from the guide to [burn Tails on a DVD](https://tails.net/install/dvd/index.en.html), which are signed the same way as .img releases.

If you don’t like the “select your download” way of verifying your download, you can use gpg to do the same locally. Tails thinks this [provides little benefit for people who don’t already know about gpg](https://tails.net/contribute/design/download_verification/#index2h1), while TB (which has no such “verify my download” afaik) provides a [guide on how to verify your download locally](https://support.torproject.org/tbb/how-to-verify-signature/)

---

<div class="post-metadata">

**Author:** ![Vort](https://forum.torproject.org/user_avatar/forum.torproject.org/vort/32/63_2.png) [@Vort](https://forum.torproject.org/u/Vort)\
**Post date:** [December 21, 2023, 3:09pm UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/3 "2023-12-21T15:09:06Z")

</div>

> Why does tails use an .img installation file instead of an ISO?

Because you were looking at instructions for USB drives.  
Here are instructions for DVDs:

[https://tails.net/install/dvd/index.en.html](https://tails.net/install/dvd/index.en.html)

---

<div class="post-metadata">

**Author:** ![compis](https://forum.torproject.org/letter_avatar_proxy/v4/letter/c/9d8465/32.png) [@compis](https://forum.torproject.org/u/compis)\
**Post date:** [February 29, 2024, 2:21am UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/4 "2024-02-29T02:21:40Z")

</div>

I am looking to use Tails on a USB. Th question still has not been answered as to why a .img file for USB instead of .ISO.

---

<div class="post-metadata">

**Author:** ![FranklyFlawless](https://forum.torproject.org/user_avatar/forum.torproject.org/franklyflawless/32/4366_2.png) [@FranklyFlawless](https://forum.torproject.org/u/FranklyFlawless)\
**Post date:** [February 29, 2024, 6:52am UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/5 "2024-02-29T06:52:25Z")

</div>

You can ask questions about Tails in the XMPP chatroom.

[https://tails.net/support/chat/index.en.html](https://tails.net/support/chat/index.en.html)

---

<div class="post-metadata">

**Author:** ![compis](https://forum.torproject.org/letter_avatar_proxy/v4/letter/c/9d8465/32.png) [@compis](https://forum.torproject.org/u/compis)\
**Post date:** [March 3, 2024, 11:39am UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/6 "2024-03-03T11:39:31Z")

</div>

This is a valid forum for tails.

---

<div class="post-metadata">

**Author:** ![FranklyFlawless](https://forum.torproject.org/user_avatar/forum.torproject.org/franklyflawless/32/4366_2.png) [@FranklyFlawless](https://forum.torproject.org/u/FranklyFlawless)\
**Post date:** [March 4, 2024, 9:23am UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/7 "2024-03-04T09:23:01Z")

</div>

Sure, then feel free to continue to wait around until someone answers your original question from over 2 months ago.

---

<div class="post-metadata">

**Author:** ![compis](https://forum.torproject.org/letter_avatar_proxy/v4/letter/c/9d8465/32.png) [@compis](https://forum.torproject.org/u/compis)\
**Post date:** [May 20, 2024, 7:39am UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/8 "2024-05-20T07:39:00Z")

</div>

It is strange that tails unike almost every other distro uses an .img and when verification is done after Tails is installed it has to be done from the tails web site installed of the user performing a check using sha256. Since a SHA256 is a simple calculation of a file which only produces one value it is an easy an popular method to validate any file. How does the tails site connect to a users computer and validate the file on the users machine?

---

<div class="post-metadata">

**Author:** ![FranklyFlawless](https://forum.torproject.org/user_avatar/forum.torproject.org/franklyflawless/32/4366_2.png) [@FranklyFlawless](https://forum.torproject.org/u/FranklyFlawless)\
**Post date:** [May 21, 2024, 1:37pm UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/9 "2024-05-21T13:37:23Z")

</div>

> [@compis](#):
>
> How does the tails site connect to a users computer and validate the file on the users machine?

The user selects their image file with a prompt, then the website compares it using JavaScript against a SHA256 checksum from this URL:

[https://tails.net/install/v2/Tails/amd64/stable/latest.json](https://tails.net/install/v2/Tails/amd64/stable/latest.json)

If JavaScript is disabled, the website will mention manually comparing the SHA256 checksum using GtkHash, which can be installed in Tails as additional software:

> **[GtkHash](https://gtkhash.org/)**
>
> A desktop utility for computing message digests or checksums

Otherwise, you can also verify the image’s integrity using the OpenPGP signing key and the OpenPGP signature files of either the IMG or ISO. If the image was downloaded through a BitTorrent client, it is automatically verified with the included checksum file after the download is finished.

See also:

[https://tails.net/contribute/design/download\_verification/](https://tails.net/contribute/design/download_verification/)

---

<div class="post-metadata">

**Author:** ![compis](https://forum.torproject.org/letter_avatar_proxy/v4/letter/c/9d8465/32.png) [@compis](https://forum.torproject.org/u/compis)\
**Post date:** [June 4, 2024, 7:23am UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/10 "2024-06-04T07:23:07Z")

</div>

the user does not have the option to perform their own sha256 hash. Where is the sha256 values for tails?

---

<div class="post-metadata">

**Author:** ![FranklyFlawless](https://forum.torproject.org/user_avatar/forum.torproject.org/franklyflawless/32/4366_2.png) [@FranklyFlawless](https://forum.torproject.org/u/FranklyFlawless)\
**Post date:** [June 4, 2024, 10:07am UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/11 "2024-06-04T10:07:47Z")

</div>

They are found at `https://tails.net/install/v2/Tails/amd64/stable/latest.json`. Here is the current output for the latest release of Tails:

```auto
{
  "build_target": "amd64",
  "channel": "stable",
  "installations": [
    {
      "installation-paths": [
        {
          "target-files": [
            {
              "sha256": "81177ab73849b2a8d7a6d9a42867128f36be4fe5abd7920c126515be740eff23",
              "size": 1474297856,
              "url": "https://download.tails.net/tails/stable/tails-amd64-6.3/tails-amd64-6.3.img"
            }
          ],
          "type": "img"
        },
        {
          "target-files": [
            {
              "sha256": "784f7dffd1aa8a8b8ceea0b1175c70b1c02a14ecf4077f85c30706e895e00422",
              "size": 1464100864,
              "url": "https://download.tails.net/tails/stable/tails-amd64-6.3/tails-amd64-6.3.iso"
            }
          ],
          "type": "iso"
        }
      ],
      "version": "6.3"
    }
  ],
  "product-name": "Tails"
}

```

As I have previously mentioned above your post, when JavaScript is disabled on the Tails website, it informs the user can manually verify the SHA256 checksum using GtkHash.

---

<div class="post-metadata">

**Author:** ![compis](https://forum.torproject.org/letter_avatar_proxy/v4/letter/c/9d8465/32.png) [@compis](https://forum.torproject.org/u/compis)\
**Post date:** [July 2, 2024, 2:44am UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/12 "2024-07-02T02:44:35Z")

</div>

> [@FranklyFlawless](#):
>
> [https://tails.net/install/v2/Tails/amd64/stable/latest](https://tails.net/install/v2/Tails/amd64/stable/latest)

404 file no found for `https://tails.net/install/v2/Tails/amd64/stable/latest`  
If it is valid why is it not placed where the download area is located ?

---

<div class="post-metadata">

**Author:** ![capole](https://forum.torproject.org/letter_avatar_proxy/v4/letter/c/f6c823/32.png) [@capole](https://forum.torproject.org/u/capole)\
**Post date:** [July 2, 2024, 11:02am UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/13 "2024-07-02T11:02:40Z")

</div>

> [@compis](#):
>
> the user does not have the option to perform their own sha256 hash

What do you mean?

```auto
sha256sum Downloads/tails-amd64-6.4-img/tails-amd64-6.4.img

f8c36fad61a7f8c0fce45202369f85499a1c90f1bc7e5e5b320f2de1c3fa4e8d 

```

> [@compis](#):
>
> 404 file no found

You missed the file extension. It is `https://tails.net/install/v2/Tails/amd64/stable/latest.json`, not `https://tails.net/install/v2/Tails/amd64/stable/latest`.

As FranklyF shared.

As to why not make the hash more visible? Well, that’s a question for devs. They decided to make an easier UX by checking it for you. They also mention that if you use BT, the check is automatically made.

---

<div class="post-metadata">

**Author:** ![FranklyFlawless](https://forum.torproject.org/user_avatar/forum.torproject.org/franklyflawless/32/4366_2.png) [@FranklyFlawless](https://forum.torproject.org/u/FranklyFlawless)\
**Post date:** [July 2, 2024, 11:02am UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/14 "2024-07-02T11:02:59Z")

</div>

The link you quoted is invalid because the JSON extension is omitted from the URL, so you need to append `.json` to the end of the URL path to properly resolve it.

---

<div class="post-metadata">

**Author:** ![compis](https://forum.torproject.org/letter_avatar_proxy/v4/letter/c/9d8465/32.png) [@compis](https://forum.torproject.org/u/compis)\
**Post date:** [July 3, 2024, 12:31pm UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/15 "2024-07-03T12:31:46Z")

</div>

> [@FranklyFlawless](#):
>
> [https://tails.net/install/v2/Tails/amd64/stable/latest](https://tails.net/install/v2/Tails/amd64/stable/latest)

Still the question is why is this not made available in the download area?

---

<div class="post-metadata">

**Author:** ![FranklyFlawless](https://forum.torproject.org/user_avatar/forum.torproject.org/franklyflawless/32/4366_2.png) [@FranklyFlawless](https://forum.torproject.org/u/FranklyFlawless)\
**Post date:** [July 4, 2024, 3:06am UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/16 "2024-07-04T03:06:03Z")

</div>

Not sure, you could email Tails’ help desk for questions regarding their decisions and the reasoning behind them:

[https://tails.net/support/index.en.html](https://tails.net/support/index.en.html)

> [@](#):
>
> You can write to our help desk by email:
> 
> [tails-support-private@boum.org](https://tails.net/about/contact/index.en.html#tails-support-private)
> 
> Encrypting your emails with our [OpenPGP key](https://tails.net/doc/about/openpgp_keys/index.en.html#support) is the only way to achieve end-to-end encryption.

---

<div class="post-metadata">

**Author:** ![compis](https://forum.torproject.org/letter_avatar_proxy/v4/letter/c/9d8465/32.png) [@compis](https://forum.torproject.org/u/compis)\
**Post date:** [July 20, 2024, 11:47am UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/17 "2024-07-20T11:47:25Z")

</div>

I shouldn’t have to Email them it is logical as an example several Linux distros locate verification SHA256 hash where the download is located.

---

<div class="post-metadata">

**Author:** ![FranklyFlawless](https://forum.torproject.org/user_avatar/forum.torproject.org/franklyflawless/32/4366_2.png) [@FranklyFlawless](https://forum.torproject.org/u/FranklyFlawless)\
**Post date:** [July 22, 2024, 12:54am UTC](https://forum.torproject.org/t/tails-installation-using-img/10752/18 "2024-07-22T00:54:22Z")

</div>

Sure, then feel free to continue to wait around until someone from Tails’ help desk discovers and answers your various questions on the Tor Project Forum.
