Skip to content

Commit 2d4246c

Browse files
authored
Using sha256sum for one step verification of iso (#325)
Just using sha256sum -c instead of cat the checksum file and then verify. Just do it in one step with "sha256sum -c"
1 parent 041f2c6 commit 2d4246c

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

src/content/docs/cachyos_basic/download.mdx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,15 @@ Always take the extra step of verifying the ISO's integrity to avoid any undesir
4747
<Steps>
4848

4949
1. Download the [file](https://mirror.cachyos.org/ISO/desktop/260124/cachyos-desktop-linux-260124.iso.sha256) containing the SHA256 hash.
50-
2. Open a terminal, navigate to the directory containing the `.sha256` file, and execute the following commands:
50+
2. Open a terminal, navigate to the directory containing both the `.sha256` and `.iso` file.
51+
3. Execute the following commands:
5152
```sh
5253
# Example:
5354
cd ~/Downloads
54-
cat cachyos-desktop-linux-260124.iso.sha256
55-
# 0c070fba1eb06a740983e8e195ecb686c4fc2060920137af1cedbd5ffca5be47
56-
```
57-
3. Compare the output from **Step 2** to the ISO file's hash:
58-
```sh
59-
# Example:
60-
sha256sum cachyos-desktop-linux-260124.iso
55+
sha256sum -c cachyos-desktop-linux-260124.iso.sha256
56+
# cachyos-desktop-linux-260124.iso: OK
6157
```
62-
4. If the hashes from **Step 2** and **Step 3** match, you may proceed with the CachyOS installation.
58+
4. If the output from **Step 3** is OK, you may proceed with the CachyOS installation.
6359

6460
</Steps>
6561

0 commit comments

Comments
 (0)