LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Filesystem.squashfs error invalid checksum (https://www.linuxquestions.org/questions/linux-kernel-70/filesystem-squashfs-error-invalid-checksum-4175455942/)

liaml7 03-28-2013 02:30 PM

Filesystem.squashfs error invalid checksum
 
I opened up the filesystem.squashfs for an Ubuntu version and added a few files so I didn't need to download them every time I do live boot. But now every time I try to boot it I get a checksum error. Where is the checksum file and what do I need to change to fix that error?

goumba 03-28-2013 02:35 PM

Check the root directory of the parent FS for a file sha256sums or md5sums or the like, depending on what Ubuntu used. You'd have to computer a new sum, and modify that file, at the least.

liaml7 03-28-2013 02:38 PM

I found the md5sums file and changed it. It still doesnt work... Is it supposed to be an MD5SUM of the file cause thats what I did.

goumba 03-29-2013 06:56 AM

Maybe this will help, from the live build script:

Code:

        # Calculating checksums
        cd binary
        find . -type f \
                \! -path './isolinux/isolinux.bin' \
                \! -path './boot/boot.bin' \
                \! -path './boot/grub/stage2_eltorito' \
                \! -path './*SUMS' \
                \! -path './*sum.txt' \
        -print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}

cat > ${CHECKSUMS} << EOF



All times are GMT -5. The time now is 09:33 PM.