Decompression Linux Crc Error
Contents |
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about gunzip data stream error Stack Overflow the company Business Learn more about hiring developers or posting ads with gunzip invalid compressed data crc error us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and
Gzip Crc
network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top grub
Gzip Invalid Compressed Data--format Violated
crc error after decompressing linux up vote 1 down vote favorite I have a debian with a raid1 on it. Both HDDs have bootable flags and grub setup in MBR. If I only start up with sda, linux boots. If I only start up with sdb, grub shows up and says Decompressing Linux... crc error -- System halted I have reinstalled grub a few times now but still nothing. It goes like repair gzip file this: /dev/md0 contains /dev/sda1 /dev/sdb1 find /boot/grub/stage1 shows (hd0,0) (hd0,1) The line that boots Linux shows: root (hd0,0) kernel /vmlinuz-2.6.26-1-686 initrd /initrd.img-2.6.26-1-686 This kind of renders my "redundant" array useless. Any clues? update: just to mention, these are 2 different HDDs, sda is 320gb and sdb is 400gb. Both are WD and both have exactly the same partitions, cloned using sfdisk. grub share|improve this question edited Jun 13 '10 at 10:30 asked Jun 13 '10 at 1:25 w00t 5171926 Is this a new installation or has it been working for some time ? –Hangin on in quiet desperation Jun 13 '10 at 10:41 I added the 2nd hard drive last week, but didn't had to test it until yesterday. –w00t Jun 13 '10 at 17:12 add a comment| 3 Answers 3 active oldest votes up vote 2 down vote If you built the raid correctly and it fully synced then chances are high that you have some bad sectors on sdb. What does the output of cat /proc/mdstat say about the device ? share|improve this answer answered Jun 14 '10 at 10:46 community wiki Hangin on in quiet desperation It used to be in sync but now I have kicked the drive out of the arr
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with
Gzrecover
us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and gunzip unexpected end of file ignore answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Linux CRC Error up vote 1 down vote favorite I'm getting an error when trying to boot from live Ubuntu cd. "Uncompressing Linux... crc error -- System http://serverfault.com/questions/150761/grub-crc-error-after-decompressing-linux halted". I've also tried this using a Linux mint live cd, same error. Is this something related to the MB? ubuntu motherboard share|improve this question asked Apr 3 '11 at 20:30 Crackerjack 236134 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote According to this the kernel doesn't like itself. Based on what you've said, I feel like your hard drive might be to blame. Is it old? Do you have a spare to test on? share|improve this answer answered http://superuser.com/questions/266140/linux-crc-error Apr 3 '11 at 20:33 n0pe 7,048145087 add a comment| up vote 0 down vote If you can, try the live cd on another computer, or a different cd rom in the same computer. If you can't do either of those, I'd try installing from a flash drive. I think that a flakey cd drive is more likely than the motherboard. You can also try a memory test, live cd here or some Ubuntu live cds have it on there. Motherboard problems could in theory be an issue too, but I've never seen it, so I'd try the above first. share|improve this answer answered Apr 3 '11 at 21:28 emgee 4,0291426 add a comment| You must log in to answer this question. Not the answer you're looking for? Browse other questions tagged ubuntu motherboard . asked 5 years ago viewed 415 times active 5 years ago Blog International salaries at Stack Overflow Visit Chat Related 0Files disappearing, errors during linux boot0Where can I find which motherboards which cooperate with linux0Installing Linux on an Asus p8z68-m PRO Motherboard0Deleted Linux partitions but still get grub error and cannot boot into windows 7?1Can't read audio CD in Linux, and I getting Sense errors in syslog1Need help installing Ubuntu on newly-built computer0“general assuan error” in gpa under linux1Error when compiling Linux kernel1Apt-get update error Linux Mint 17-1Is my Graphics Card dead, or not getting enough Power? Hot Network Questions If I am fat and unattractive, is it better to opt for a phone interview over a
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about http://stackoverflow.com/questions/13149751/force-gzip-to-decompress-despite-crc-error Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Force gzip to decompress despite CRC error up vote 5 down vote favorite crc error 1 I think there's a way to do this but I'm not sure how? Basically, I was writing a compression program that resulted in a crc error when I tried to unzip the compressed data. Normally this means that the decompressor actually recognized my data as being in the right format and decompressed it, but when it compared the result to the expected length as indicated by the CRC, they invalid compressed data weren't the same. However, for comparison reasons, I actually do want to see the output to see if it's just a concatenation issue (which should be relatively obvious if the decompressed output isn't gibberish but just in the wrong order). java gzip decompression share|improve this question edited Oct 31 '12 at 1:13 alphazero 21.8k32124 asked Oct 31 '12 at 0:53 user1777900 4391719 add a comment| 2 Answers 2 active oldest votes up vote 7 down vote You said "unzip", but the question says "gzip". Which is it? Those are two different programs that operate on two different formats. I will assume gzip. Also the length is not "indicated by the CRC". The gzip trailer contains a CRC and an uncompressed length (modulo 232), which are two different things. The gzip command will decompress all valid deflate data and write it out before checking the crc. So if, for example, I take a .gz file and corrupt just the crc (or length) at the end, and do: gzip -dc < corrupt.gz > result then result will be the entire, correct uncompressed data stream. There is no need to modify and recompile gzip, nor to write your own ungzipper. gzip will complain about the crc, but all of the