Linux mint squashfs error

SquashFS Errors

Some users have reported being unable to boot from the Ubuntu LiveCD, due to SquashFS errors like this:

SQUASHFS error: sb_bread failed reading block 0x9d7f3 SQUASHFS error: Unable to read fragment cache block [275faa28] SQUASHFS error: Unable to read page, block 275faa28, size 23a7
[ 1228.553598] EXT3 FS on sda5, internal journal [ 1228.553605] EXT3-fs: mounted filesystem with ordered data mode. [ 1349.994012] SQUASHFS error: zlib_inflate returned unexpected result 0xfffffffd, srclength 131072, avail_in 352, avail_out 92175 [ 1349.994024] SQUASHFS error: sb_bread failed reading block 0x77162 [ 1349.994029] SQUASHFS error: Unable to read fragment cache block [1dc4df1a] [ 1349.994035] SQUASHFS error: Unable to read page, block 1dc4df1a, size a972

Example error when loading Xubuntu with Wubi on first boot:

[ 81.364872] Btrfs loaded [ 90.596351] Adding 261112k swap on /host/ubuntu/disks/swap.disk. Priority:-1 extents:1 across:261112k [ 104.800436] EXT4-fs (loop2): mounted filesystem with ordered data mode [ 288.909464] SQUASHFS error: zlib_inflate error, data probably corrupt [ 288.909481] SQUASHFS error: squashfs_read_data failed to read block 0x11b3773e [ 288.909490] SQUASHFS error: Unable to read data cache entry [11b3773e] [ 288.909494] SQUASHFS error: Unable to read page, block 11b3773e, size 17512 [ 288.909531] SQUASHFS error: Unable to read data cache entry [11b3773e] [ 288.909534] SQUASHFS error: Unable to read page, block 11b3773e, size 17512 [ 288.909557] SQUASHFS error: Unable to read data cache entry [11b3773e] [ 288.909561] SQUASHFS error: Unable to read page, block 11b3773e, size 17512 [ 288.909574] SQUASHFS error: Unable to read data cache entry [11b3773e] [ 288.909578] SQUASHFS error: Unable to read page, block 11b3773e, size 17512 [ 288.909591] SQUASHFS error: Unable to read data cache entry [11b3773e] [ 288.909594] SQUASHFS error: Unable to read page, block 11b3773e, size 17512 [ 288.909609] SQUASHFS error: Unable to read data cache entry [11b3773e] [ 288.909612] SQUASHFS error: Unable to read page, block 11b3773e, size 17512 [ 288.909626] SQUASHFS error: Unable to read data cache entry [11b3773e] [ 288.909630] SQUASHFS error: Unable to read page, block 11b3773e, size 17512 [ 288.909644] SQUASHFS error: Unable to read data cache entry [11b3773e] [ 288.909647] SQUASHFS error: Unable to read page, block 11b3773e, size 17512 [ 288.909664] SQUASHFS error: Unable to read data cache entry [11b3773e] [ 288.909667] SQUASHFS error: Unable to read page, block 11b3773e, size 17512

Causes and Solutions

  • bad memory modules (solution: use memtest86+ to check your memory)
  • a bad dvd drive (solution: if possible, try using a different cd/dvd drive)
  • bad data cable (solution: change it for a new one)
  • bad media (solution: try burning the iso image to a new disc)
  • a corrupted iso image (solution: run an md5 checksum, and if they don’t match, download the iso image again)
Читайте также:  What is root file system on linux

Temporary Workarounds

Some users have reported that adding the ide=nodma or acpi=off allowed them to work around this issue (which proved to be bad memory modules). You might want to give that a try

Successful boot was achieved by adding «all_generic_ide» to the grub boot line for the live CD.

You can add those lines to the grub entry, either in the grub.conf file or either entering letter ‘e’ on the grub menu and after editing Control+x to boot:

all_generic_ide pci=nommconf

More information about the problem in grub can be found here: https://bugs.launchpad.net/wubi/+bug/608941

If is not a HW problem and you can probe it

If you definitely found that is not a HW issue, add you comment with all the logs and evidence you can get to Launchpad bug #172937

SquashfsErrors (последним исправлял пользователь 118 2010-07-23 10:40:22)

The material on this wiki is available under a free license, see Copyright / License for details
You can contribute to this wiki, see Wiki Guide for details

Источник

Linux Mint Forums

Workaround: SQUASHFS errors while installing LMDE from USB

Workaround: SQUASHFS errors while installing LMDE from USB

Post by j-a » Fri Jun 08, 2012 12:31 pm

Last night, after a 12 hour tinkering marathon, I finally managed to install LMDE 201204 on my ThinkPad X220 (i5-2520M). Lacking a DVD-Drive (and with my 1GB USB stick being too small for the LMDE ISO) I decided to use one of my microSD cards in combination with a USB-Adapter. I used Ubuntu’s ImageWriter to copy the ISO to the card and it took a few copies until the md5 consistency checks finally validated.

The problem:

Booting the live system worked perfectly. The installation went smooth — until the last few percent (some kernel module files were copied) where it suddenly halted. dmesg revealed the infamous SQASHFS errors:

[ 779.679780] SQUASHFS error: xz_dec_run error, data probably corrupt [ 779.679786] SQUASHFS error: squashfs_read_data failed to read block 0x255ca67 [ 779.679790] SQUASHFS error: Unable to read fragment cache entry [255ca67] [ 779.679793] SQUASHFS error: Unable to read page, block 255ca67, size 712c [ 779.679798] SQUASHFS error: Unable to read fragment cache entry [255ca67] [ 779.679800] SQUASHFS error: Unable to read page, block 255ca67, size 712c [ 779.679804] SQUASHFS error: Unable to read fragment cache entry [255ca67] [ 779.679806] SQUASHFS error: Unable to read page, block 255ca67, size 712c [ 779.679809] SQUASHFS error: Unable to read fragment cache entry [255ca67] [ 779.679811] SQUASHFS error: Unable to read page, block 255ca67, size 712c [ 779.679815] SQUASHFS error: Unable to read fragment cache entry [255ca67] [ 779.679817] SQUASHFS error: Unable to read page, block 255ca67, size 712c [ 779.679820] SQUASHFS error: Unable to read fragment cache entry [255ca67] [ 779.679822] SQUASHFS error: Unable to read page, block 255ca67, size 712c [ 779.679827] SQUASHFS error: Unable to read fragment cache entry [255ca67] [ 779.679829] SQUASHFS error: Unable to read page, block 255ca67, size 712c [ 779.679832] SQUASHFS error: Unable to read fragment cache entry [255ca67] [ 779.679834] SQUASHFS error: Unable to read page, block 255ca67, size 712c [ 779.679838] SQUASHFS error: Unable to read fragment cache entry [255ca67] [ 779.679840] SQUASHFS error: Unable to read page, block 255ca67, size 712c
  • /source/, where /live/image/casper/filesystem.squashfs ist mounted, and
  • /target/, where the freshly formatted root partition of the new system is mounted
Читайте также:  Editor pdf linux libreoffice

To determine which files had not been copied yet, I diff’ed the two directories, which again led to many SQUASHFS errors. I unmounted /source/ and did a md5sum on filesystem.squashfs which promptly failed, although it had validated correctly right before the installation.

Although /live/image/casper/filesystem.squashfs is mounted with the readonly option, the mounting and/or reading of the volume somehow modifies the file, which leads to a corrupted filesystem. Maybe this is a strange recursion- and/or permission-related bug in squashfs which occurs when a mounted filesystem.squashfs tries to mount itself again and thus somehow gains write access. Or my microSD-USB adapter is crap. Oh well.

The workaround:

shows no errors, simply copy /live/image/casper/filesystem.squashfs to another medium. I put it into my already mounted /target/tmp/. Finally, you have to tell the installer where to find the filesystem.squashfs image by pointing LIVE_MEDIA_SOURCE in /etc/live-installer/install.conf to the new location. Here’s my install.conf:

# Defines the distribution name and version.. [distribution] DISTRIBUTION_NAME=Linux Mint Debian Edition DISTRIBUTION_VERSION=1.0 # Installation specific paths etc. [install] #LIVE_MEDIA_SOURCE = /live/image/casper/filesystem.squashfs LIVE_MEDIA_SOURCE = /target/tmp/filesystem.squashfs LIVE_MEDIA_TYPE = squashfs LIVE_USER_NAME = mint

I’m glad I pulled through all the hassle. Everything feels so solid and responsive now. As a former Debian user it’s quite like coming home.

Greetings from Bavaria
j-a

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Источник

Linux Mint Forums

SQUASHFS errors while installing Mint from USB

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

SQUASHFS errors while installing Mint from USB

Post by MagicMint » Tue Jan 20, 2015 12:19 pm

Strange, two years later I had the exact same problem with an LM 17.1 Cinnamon 64 bit live USB. I didn’t bother to patch the squashfs image tough, as I could burn the original ISO to a DVD.

Fortunately, the USB stick still booted and I had kept my home partition where the ISO file had been downloaded. Prior to that, the seemingly uncorrupted live ISO formatted the root partition and installed the new system half the way, then the installer crashed and thus made a terrible mess of the BIOS.

Читайте также:  Linux bios boot gpt

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 5 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Re: SQUASHFS errors while installing Mint from USB

Post by acidicX » Mon Feb 02, 2015 3:13 pm

I just had the exact same issue with LM17.1 MATE 64 Bit from USB. this is one of the worst things that could go wrong when creating a Live medium? Still no fix??

Re: SQUASHFS errors while installing Mint from USB

Post by acidicX » Mon Feb 02, 2015 4:21 pm

Meh.. I think I found the issue.
First of all: who still uses DVDs? Most laptops don’t even have an optical drive anymore. And what for? I cannot even remember the last time I used a DVD as an installation medium. Even Windows installs now (nearly) flawlessly from USB disks/sticks.

So, just to state this:
1. You cannot use dd to copy the ISO to the USB stick, which I did first. Does not work — wrong sizes everywhere! Seems to be the hybrid format LM uses for the ISO.
2. Aparrently, neither can you use any other tool on linux distros (Unetbootin and the like) — does not work with UEFI!

Seriously. please provide images that work with dd or other standard tools or provide easy tools for other OS.

tl;dr:
LM + UEFI + Live USB is a proper pain in the ass!

I still don’t know how I can get LM17.1 on that UEFI Laptop. Well, let’s use Arch then.

Re: SQUASHFS errors while installing Mint from USB

Post by MagicMint » Tue Feb 03, 2015 8:45 am

acidicX wrote: So, just to state this:
1. You cannot use dd to copy the ISO to the USB stick, which I did first. Does not work — wrong sizes everywhere! Seems to be the hybrid format LM uses for the ISO.
2. Aparrently, neither can you use any other tool on linux distros (Unetbootin and the like) — does not work with UEFI!

Seriously. please provide images that work with dd or other standard tools or provide easy tools for other OS.

tl;dr:
LM + UEFI + Live USB is a proper pain in the ass!

I don’t think this is the case… According to the comments on the officially supported procedure, Unetbootin is actually not compatible with Ubuntu’s & LM’s hybrid images. But as mintStick did work for me, I presume that the (proper) dd method does too.

It’s true however, that the GPT was not correct on my stick, but I could boot it without UEFI; it was just the image that got corrupted. I had rewritten the ISO and I still use the stick as a LiveUSB.

Источник

Оцените статью
Adblock
detector