View previous topic :: View next topic |
Author |
Message |
bruhthakuga n00b
Joined: 10 Aug 2006 Posts: 4
|
Posted: Fri Aug 11, 2006 3:35 pm Post subject: Checkin The md5sum Of The Installation Disk That's Booted Up |
|
|
After I boot up a Universal amd64 installation disk can I check the md5sum of the installation disk it's self?
I know that the Universal amd64 installation disk boot up processes can check the md5sum of a file downloaded from net but will it check the Universal amd64 installation disk it's self and if so how?
Below is the code for downloading and checking the md5sum of the x86 stage tarball:
Code Listing 5: Surfing to the mirror listing with links:
# links http://www.gentoo.org/main/en/mirrors.xml
Code Listing 6: Example checking integrity of a stage tarball :
# md5sum -c stage3-x86-2006.0.tar.bz2.DIGESTS |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Fri Aug 11, 2006 5:13 pm Post subject: |
|
|
See here.
You can't check the digest of a burned cd. You need to check the digest of the .iso file you download. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
troymc Guru
Joined: 22 Mar 2006 Posts: 553
|
Posted: Fri Aug 11, 2006 11:51 pm Post subject: |
|
|
Sure you can.
You should always verify your burns:
Code: |
$ cat install-x86-minimal-2006.0.iso.DIGESTS
# MD5 HASH
9b3bfe28baac417caf3dc942ff8690e2 install-x86-minimal-2006.0.iso
# SHA1 HASH
8a9b5a43c92d4c5fde4bafa33e351d7813ee39bc install-x86-minimal-2006.0.iso
$
$
$ md5sum install-x86-minimal-2006.0.iso
9b3bfe28baac417caf3dc942ff8690e2 install-x86-minimal-2006.0.iso
$
$
$ md5sum /dev/cdrom
9b3bfe28baac417caf3dc942ff8690e2 /dev/cdrom
$
|
Just md5sum the device with the CD in it. You don't have to mount it or anything.
troymc |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Aug 12, 2006 10:31 am Post subject: |
|
|
ok, I suppose you can, but accessing raw devices is not recommended. Better do it before you burn the disk imho. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Aug 12, 2006 10:59 am Post subject: |
|
|
nixnut,
Accessing the raw CDROM device is safe - you can't write anything that way.
Accessing raw disks is very dangerous (to the data) and should not be attempted unless you are really desperate.
Audio CDs, DVD playback etc is all done via raw device access, thats why your user needs to be in the cdrom group for it to work. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|