Software :: Using Dd To Find Out Cdroms Checksums?
Mar 9, 2010
I issue the command 'dd if=/dev/hdc|head -c 4294607004|m5sum'. But the checksum I get is not the correct one. Its not the checksum of the first 4294607004 bytes in /dev/hdc. And the message dd outputs is
8387904 records in
8387904 records out
Then I find 8387904 * 512 (512 because 4294607004 / 8387904 = 512.0000186) = 4294606848, which falls short of 4294607004 by a few bytes. But 8387905 * 512 > 4294607004. So I issue 'dd if=/dev/hdc ibs=512 count=8387905|head -c 4294607004|md5sum'. the message is still the same:
I am trying to see how programs for cdroms use reed-solomon coding. I looked in the site lxr.linux.no , but couldnt get anything there, too much details present.
I checked a couple of locations:[URL]... and none of the files listing checksums do so for the LiveCD ISO neither md5 nor sha1. Being a "trust but verify" sort of fellow. . .
Is there something I can do to get a Linux Distro to install right the first time. I have the same types of problems with Mandriva Ubuntu and Fedora over and over again but not with a OS you pay for. Is it time for BSD?
I usually install or upgrade using Ctrl + alt + F1 console in init3 mode.Despite this and while using # zypper re && zypper up i notice that often times upgrade is stopped when checksums are changed. Last day 250 packages could not be upgraded because of maybe 5 packages with changed checksums. Sometimes clearing zypper cache with zypper cc does the trick but not all the time it works, I had to force install manually to be able to upgrade. Is it possible that upgrade is not impeded by such changes ? If not is it at least possible to have a list of changed checksum packages to be able to remove them or install them manually more easily ?
I downloaded GNU coreutils and compiled them both identically on two different computers running Ubuntu 10.04.1 LTS. I performed a random audit, MD5 checking on chown, and they both have different checksums. Does anyone know why this has occurred?
How can I burn the openSUSE 11.3 ISO DVD file to multiple CDROMs to upgrade a legacy notebook (Sony Vaio PCG-FXA32) running 11.1 that has only a CDROM drive? I have the 11.3 ISO on a DVD disk.
What's the point of checking if my file was tampered (as it says in the debians page [URL] ....) if the signatures are downloaded over http? Didn't the recent incident with Linux Mint had cleared our mind about these things?
For the second time in a week, I have set up an unmanaged CentOS 5.5 Storm Server at StormOnDemand, only to discover a ton of unauthorized changes to binaries (updated file checksums and sizes) on the server shortly thereafter.The time stamps do NOT change.If the time stamps did change, I would be hunting down ahat was doing some auto-updates. But the time stamps are not changing.This leads me to believe that either these servers are suffering from:1. A virus or hacker is compromising the box.2. system corruption.3. Something else? To eliminate the possibility of number 1, I toasted the first server and started over with a new server and enabled their firewall from the start to only allow access for two IPs via SSH... my IP and my biz partner's.
Then, one of the first things we installed was a system we created that maintains a snapshot of most directories on the system so that it can be used to watch the live directories for changes. At 4:07am (server time) this morning, we received notice from this system that a massive number of files had changed in these directories. Again, no file time stamps changed.So, my question is this... is there any legitimate reason in a fairly standard CentOS 5.5 install that would cause so many files to change?
I have 4 Linux machines with cluster.My target is to find all kind of IP address (xxx.xxx.xxx.xxx) in every file in the linux system remark: need to scan each file in the linux system and verify if the file include IP address if yes need to print the IP as the following
I am trying to do a find/grep/wc command to find matching files, print the filename and then the word count of a specific pattern per file. Here is my best (non-working) attempt so far:
Is there a way to specify to find that I only want text files (and not binary files)? Grep has an option to exclude binary files, so I thought find probably has a similar feature, but I've been unable to find it.
I've got a setup where I need to use 'find' to find 0 or more files in a certain directory, however, 'find' always produces an error when there are no files that match a certain check. Is it possible to run 'find' while having it omit errors when no files match the pattern?
I know how to search for normal files but can you let me know " How to search for 5 setuid files on the system. Also explain, for each file, why setuid mechanism is necessary for the command to function properly"
am new to linux and trying to find a file in sub directories using find command as:find .-name *.jpg -type fBut I am unable to get the result as find command is not permitted by the server administrator.Is there any way to find files without using find command.
The find command does not seem to find all files in my directory hierarchy. My home directory is automounted from a server. The command to illustrate this is:find | sed -e 's/^.///' | sed -e 's//.*//' | sort -uThe result misses several directories. Likewise, a find of a particular file, like:find . -iname *sample* -printwhere sample_file.txt resides in one of the directories that is missing in the first find command, finds nothing
shell scripting in Fedora14I want a script"Find in curent folder for files, and it copy first file he find with name gived by user, if name already exist then echo error message and finish"command usage " bash scriptname copyASname"
smthing like Code: #!/bin/bash for files in /home/user/* do
I am having issues with 3d I am trying to start up a game called auteria but it displays this error "Could not find a compatible opengl display resolution. Please check your driver configuration. (Error: Couldn't find a matching GLX visual)" I am on ubuntu 10.10 could anybody give me a solution on how to fix this issue?
i'm trying to resize my album art that is dispersed through various artist/album folders. They are mostly 200x200, but i want to make all of them the same size. The code i'm trying to use is,
I'm still learning ubuntu and I'm trying to install windows7 in either vm player or virtualbox. I've downloaded the .iso(took 2hrs) and now I'm not sure how to find it in ubuntu to either burn to c.d. or use virtually. Ubuntu used "Archive manager" as default for downloading. I'm not sure if this was correct to use,as I was thinking ubuntu is alot smarter than I. Where do I go to find the downloaded files?(and yes it's legal). I also downloaded the binary file of vmware, and again not sure what to do. I looked for windows files in <search< files, then alot of files came up, but I'm not sure what I'm looking at.
I have an external hard disk which is not recognized (both by windows and linux). I want to use ddrescue, i may be able to save the data but i do not know which is the right path for the device
I compiled the GMP library and put it into a local directory (I have no idea where to put it otherwise (or how), but I'm just going to use this once anyway). I put this into the terminal:
gcc -L/Users/adm/Downloads/gmp-5.0.1/ -lgmp /Users/adm/Desktop /main.c --> gmp.h: No such file or directory
It won't find gmp.h (which is in that directory) and I don't want to compile my file inside the library directory. I have also tried this with no success.
I can't find gnome-mount using aptitude, but certainly it is listed in packages.debian. org/squeeze. Maybe I need add a new repository. But how do I know what is that repository?
I have a folder structure filled with zip files. I am trying to unzip them and keep them in their original location
This is what I am using
find . -iname "*.zip" -exec unzip {} ;
Now this command just unzips fine but the thing is that it unzips them where I fire this command(root folder of the zipped files). How can I recursively unzip files but keep them in place ?