In this article, we will delve into the common issue that many users face while installing Ubuntu 20.04 – the SQUASHFS error. This error typically manifests as “SQUASHFS ERROR: UNABLE TO READ DATA AND PAGE” and is often a result of a corrupted ISO file or a flawed write to the installation media. Here, we will guide you through the process of troubleshooting and resolving this issue.
To fix the SQUASHFS error while installing Ubuntu 20.04, you should first verify the downloaded ISO file using SHA256 checksums. If the file is not corrupted, rewrite it to your installation media using tools like Rufus or Balena Etcher. If the error persists, try using a different computer or media for installation. Checking the system logs can also provide more insight into the issue.
Understanding the SQUASHFS Error
SQUASHFS is a highly compressed read-only file system for Linux. It’s used for archiving and distributing software packages, and is the file system that Ubuntu uses for its installation media. When the system can’t read this file system, it throws the SQUASHFS error.
Step 1: Verifying the Ubuntu ISO File
The first step in resolving the SQUASHFS error is to verify the downloaded ISO file. This ensures that the file is not corrupted. Ubuntu provides SHA256 checksums for every release, which you can use to verify your downloaded ISO file.
To verify the ISO, open a terminal and navigate to the directory containing the ISO file. Run the following command:
[iso-file-name] with the name of your ISO file. This command calculates the SHA256 checksum of your file and prints it to the terminal.
Compare the output with the official Ubuntu SHA256 checksum. If they match, your ISO file is not corrupted.
Step 2: Writing the ISO to Installation Media
If your ISO file is verified and not corrupted, the next step is to rewrite it to your installation media. This could be a USB stick or a DVD. You can use tools like Rufus or Balena Etcher to write the ISO file to your installation media.
Step 3: Trying a Different Computer or Media
If you’ve verified your ISO file, rewritten it to your installation media, and are still facing the SQUASHFS error, it may be necessary to try a different computer or media. It’s possible that the issue is with the computer’s hardware or the media you’re using for installation.
Step 4: Checking the Logs
The SQUASHFS error message can be found in the logs. To check the logs, open a terminal and run the following command:
dmesg | grep SQUASHFS
This command filters the system log for entries containing “SQUASHFS”. The output can give you more insight into what’s causing the error.
Resolving the SQUASHFS error while installing Ubuntu 20.04 involves verifying the ISO file, rewriting it to the installation media, and possibly trying a different computer or media. If all else fails, checking the logs can provide more information on the issue.
Remember, if you’re still facing issues, you can always reach out to the Ubuntu community for help. The Ubuntu Forums and Ask Ubuntu are great resources for getting help with Ubuntu-related issues.
The SQUASHFS error is an error that occurs during the installation of Ubuntu 20.04. It is usually displayed as "SQUASHFS ERROR: UNABLE TO READ DATA AND PAGE" and indicates a problem with reading the SQUASHFS file system, which is used for archiving and distributing software packages in Linux.
To verify the Ubuntu ISO file, you can use the SHA256 checksum provided by Ubuntu. Open a terminal, navigate to the directory containing the ISO file, and run the following command:
sha256sum [iso-file-name]. Replace
[iso-file-name] with the name of your ISO file. The command will calculate the SHA256 checksum of your file. Compare the output with the official Ubuntu SHA256 checksum to determine if your ISO file is corrupted or not.
If the ISO file is corrupted, you will need to download a new copy of the Ubuntu ISO file from the official Ubuntu website. Make sure to verify the new ISO file as well to ensure its integrity.
You can use tools like Rufus or Balena Etcher to write the Ubuntu ISO file to your installation media, such as a USB stick or a DVD. These tools provide an easy and user-friendly way to create bootable installation media.
If you have verified the ISO file, rewritten it to the installation media, and tried on a different computer or media, but still encounter the SQUASHFS error, you can check the system logs for more information. Open a terminal and run the command
dmesg | grep SQUASHFS. This will filter the system log for entries containing "SQUASHFS" and may provide additional insight into the cause of the error. If you are still unable to resolve the issue, consider seeking help from the Ubuntu community through forums or online support platforms like Ask Ubuntu.