Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Checkin The md5sum Of The Installation Disk That's Booted Up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
bruhthakuga
n00b
n00b


Joined: 10 Aug 2006
Posts: 4

PostPosted: Fri Aug 11, 2006 3:35 pm    Post subject: Checkin The md5sum Of The Installation Disk That's Booted Up Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Fri Aug 11, 2006 5:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Fri Aug 11, 2006 11:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Aug 12, 2006 10:31 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sat Aug 12, 2006 10:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum