Manjaro Difference between revisions of "Check a Downloaded ISO Image For Errors/fa"

Difference between revisions of "Check a Downloaded ISO Image For Errors/fa"

From Manjaro
(Created page with "sha1 و sha256")
Line 15: Line 15:


{{SectionTemplate|
{{SectionTemplate|
1=SHA1 and SHA256|
1=sha1 و sha256|
2=The 'sha' part of the checksum file name stands for <u>S</u>ecure <u>H</u>ash <u>A</u>lgorithm. This algorithm is used to generate a particular code unique to the downloaded ISO image. '''sha1''' and '''sha256''' are different versions of the algorithm that you can use to do this. Whilst sha1 is the most commonly used version, sha256 is a later and more secure version. Whichever you decide to use is entirely your choice. '''However, if you are unsure, then it is recommended to use sha256'''.
2=The 'sha' part of the checksum file name stands for <u>S</u>ecure <u>H</u>ash <u>A</u>lgorithm. This algorithm is used to generate a particular code unique to the downloaded ISO image. '''sha1''' and '''sha256''' are different versions of the algorithm that you can use to do this. Whilst sha1 is the most commonly used version, sha256 is a later and more secure version. Whichever you decide to use is entirely your choice. '''However, if you are unsure, then it is recommended to use sha256'''.



Revision as of 08:44, 31 January 2022

Other languages:
English • ‎Türkçe • ‎español • ‎français • ‎русский • ‎فارسی
BigManjaroIcon.png

بررسی اجمالی

قبل از رایت تصویر ISO دانلود شده (یا استفاده از آن به عنوان یک دیسک مجازی در ویرچوال باکس)، به شدت توصیه می‌شود ابتدا بررسی کنید که خراب نشده باشد. عواقب عدم انجام این کار، به خصوص اگر قصد دارید مانجارو را به عنوان سیستم‌عامل اصلی خود نصب کنید، باید واضح باشد، یعنی یک تصویر خراب منجر به نصب خراب می شود.

برای بررسی، ابتدا باید فایل checksum مناسب را از همان صفحه دانلود تصویر ISO انتخابی‌تان در سایت sourceforge دانلود کنید. یک فایل checksum نامی مشابه تصویر ISO خواهد داشت که قرار است با آن استفاده شود.تنها تفاوت این است که به iso.sha1. یا iso.sha256. ختم می شود. برای مثال، فایل‌ checksum مناسب برای فایلmanjaro-kde-21.2.2-210123-linux515.iso (نسخه 21.2.2 مانجارو با دسکتاپ kde) خواهد بود:

  • manjaro-kde-21.2.2-210123-linux515.iso.sha1

یا

  • manjaro-kde-21.2.2-210123-linux515.iso.sha256

sha1 و sha256

The 'sha' part of the checksum file name stands for Secure Hash Algorithm. This algorithm is used to generate a particular code unique to the downloaded ISO image. sha1 and sha256 are different versions of the algorithm that you can use to do this. Whilst sha1 is the most commonly used version, sha256 is a later and more secure version. Whichever you decide to use is entirely your choice. However, if you are unsure, then it is recommended to use sha256.

The checksum file itself is just a text document that contains a code that should match the code generated by the sha1 or sha256 algorithm. As such, if the code generated from the ISO file matches that contained in the checksum file, then the ISO is fine; otherwise, if the two codes don't match then it means that the ISO file has changed in some way, most likely due to being corrupted. You can think of it like someone using a secret password to identify who they are: if they provide the wrong password, then something is obviously amiss!

Don't worry if this all sounds a bit much, it's actually very straightforward and easy to use!

Checking in Linux

To check the integrity of your downloaded file, it will be necessary to first open the downloaded checksum file using a text editor such as Gedit. Depending on whether you intend to use sha1 or sha256, ensure that you have downloaded and opened the appropriate checksum file, that is one ending in *.sha1sum or *.sha256sum respectively) as they will contain different codes. Once the checksum file has been opened and the code is visible, open up your terminal and change to the directory where your downloaded ISO is stored. For example, if your ISO file is located in the default Downloads folder, you would enter the following command:
user $ cd Downloads COPY TO CLIPBOARD

The command to then perform a checksum uses the following syntax:

[sha1sum or sha256sum] [ISO Image]
Sha256.png

For example, the following command will use sha256 to generate a code from the 64 bit Manjaro XFCE 0.8.1 ISO. The code generated can then be compared to the code provided by the appropriate sha256 checksum file:

user $ sha256sum manjaro-xfce-0.8.1-x86_64.iso COPY TO CLIPBOARD


As illustrated, in this instance both codes match, thus confirming that the downloaded ISO file is correct. The following command would use sha1 to undertake exactly the same task:

user $ sha1sum manjaro-xfce-0.8.1-x86_64.iso COPY TO CLIPBOARD


When satisfied that both codes match, then it is safe to proceed to either burning the ISO to your chosen installation media, or using it immediately in Virtualbox. If the codes do not match, then it will be necessary to delete the ISO image and download it again.

Checking in Windows

Wincheck.jpg

It will be necessary to download and install a checksum utility application. There are many tools which can provide sha1 and sha256 sums. One such tool is Quick Hash


Cookies help us deliver our services. By using our services, you agree to our use of cookies.