LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 03-28-2013, 02:30 PM   #1
liaml7
LQ Newbie
 
Registered: Mar 2013
Posts: 5

Rep: Reputation: Disabled
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?
 
Old 03-28-2013, 02:35 PM   #2
goumba
Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Wheezy (7.0), Jessie (future 8) and Sid (unstable)
Posts: 546
Blog Entries: 3

Rep: Reputation: 62
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.
 
Old 03-28-2013, 02:38 PM   #3
liaml7
LQ Newbie
 
Registered: Mar 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
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.
 
Old 03-29-2013, 06:56 AM   #4
goumba
Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Wheezy (7.0), Jessie (future 8) and Sid (unstable)
Posts: 546
Blog Entries: 3

Rep: Reputation: 62
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/filesystem.squashfs lenovoy460p Linux - Newbie 1 10-09-2011 10:02 PM
modifications in a squashfs filesystem fenix4life Linux - General 2 11-10-2009 03:26 AM
invalid metadata checksum error, (I think) zogthegreat Linux - Hardware 2 07-22-2009 05:18 PM
Invalid loop location: /image.squashfs crontab Linux - Software 2 09-18-2008 08:54 AM
failed to mount squashfs filesystem!!! hotice Linux - General 3 03-30-2008 06:57 PM


All times are GMT -5. The time now is 07:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration