Author Topic: mediacheck??  (Read 3762 times)

Offline gezza

  • Hero Member
  • *****
  • Posts: 515
mediacheck??
« on: October 05, 2011, 07:00:30 PM »
What has happened to mediacheck?
How can one check the livecd for installation?
I have a live-cd of 32 bit I need to reinstall, but all goes well up to the last moment.
Then I get a message...cannot copy files to ??root.
What can I do to get it working?
Your help would be greatfully received.
This is on a laptop..HP Pavilion DV7,8gbRam and 2 1TB HDDs
Gezza

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: mediacheck??
« Reply #1 on: October 06, 2011, 12:55:22 AM »
Mediacheck stopped functioning correctly, so it was dropped.

You can have k3b check the cd after it has been burned. Brasero has a similar feature. You can also check the cd's md5sum.     

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2847
    • other projects...
Re: mediacheck??
« Reply #2 on: October 06, 2011, 01:01:08 AM »
What has happened to mediacheck?
How can one check the livecd for installation?
I have a live-cd of 32 bit I need to reinstall, but all goes well up to the last moment.
Then I get a message...cannot copy files to ??root.
What can I do to get it working?
Your help would be greatfully received.
This is on a laptop..HP Pavilion DV7,8gbRam and 2 1TB HDDs
Gezza


mediacheck was removed because it does not work for verifying a LiveDVD. Instead you can check the md5sum of the iso before burning it to a CD. The error message you get right now could indicate insufficient disk space on the root-partition ("/") of your installation, make sure it is large enough, like 50GB, considering the size of your HDDs.
-p.

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: mediacheck??
« Reply #3 on: October 06, 2011, 01:05:45 AM »
mediacheck was removed because it does not work for verifying a LiveDVD.

Hi pinoc,

do you know the underlying reason about that failure ? (seek position > 4 Gb ? )

Regards
AS

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2847
    • other projects...
Re: mediacheck??
« Reply #4 on: October 06, 2011, 05:54:52 AM »
mediacheck was removed because it does not work for verifying a LiveDVD.


Hi pinoc,

do you know the underlying reason about that failure ? (seek position > 4 Gb ? )

Regards
AS


no, and I couldn't find out why it doesn't work. It is not a problem of the 4GB limit, i.e., it did not work for a 3.5GB liveDVD, seems to only work for up to CD-size. Tried to replace it with checkisomd5, see here, but that didn't work either. A net search reveals that mediacheck is flaky esp. when dealing with DVDs, e.g., here, or here, it could be related to improper padding problem, or a genisoimage bug.
best regards,
-p.

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: mediacheck??
« Reply #5 on: October 09, 2011, 02:12:54 PM »
mediacheck was removed because it does not work for verifying a LiveDVD.


Hi pinoc,

do you know the underlying reason about that failure ? (seek position > 4 Gb ? )

Regards
AS


no, and I couldn't find out why it doesn't work. It is not a problem of the 4GB limit, i.e., it did not work for a 3.5GB liveDVD, seems to only work for up to CD-size. Tried to replace it with checkisomd5, see here, but that didn't work either. A net search reveals that mediacheck is flaky esp. when dealing with DVDs, e.g., here, or here, it could be related to improper padding problem, or a genisoimage bug.
best regards,
-p.


Thanks for info. I read all the links you posted, and ended up to be more confused  :D  So i decided to try the things myself.

The first test was to check mediacheck against pclinuxos-fullmonty-2011.04 (the previous release) and the result was PASS, i made this test one or two days ago, later i deleted the 2011-04 iso.  :(

I repeated the test against the remaster of my installation, which I created with mylivecd --gzip as.iso (approx 3.9 GB), actually the md5sum it's not embedded into the remaster, so I have added the md5sum using the command:
implantisomd5 as.iso and then runned mediacheck as.iso the result was PASS.

Also, I have burned a DVD and runned mediacheck against /dev/sr0, result PASS

Finally I made a test using pclinuxos-kde-2011.09.iso, again implanting the md5sum and then running mediacheck, the result still is PASS.

Because of your report in the link you posted...:
http://www.pclinuxos.com/forum/index.php/topic,90614.msg759463.html#msg759463

... I have to think that either, I'm crazy, or something is changed in the meantime  :D
(something is changed could be libc.so.6 who has been updated sometime ago, recently).

If you still have a 2011-04 copy of the fullmonty.iso, could you check again ?
Additionally can you try, like I have done, to implant the md5sum into the latest fullmonty and test again using mediacheck ?

Regards
AS

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: mediacheck??
« Reply #6 on: October 09, 2011, 02:19:19 PM »
Mediacheck is run as a live boot option. Is that how you checked, AS?     

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: mediacheck??
« Reply #7 on: October 09, 2011, 02:34:13 PM »
Mediacheck is run as a live boot option. Is that how you checked, AS?     

it was, I have performed all tests from command line against iso images and against CD/DVD device:
# mediacheck filename.iso
# mediacheck /dev/sr0

... I was trying to understand what has gone wrong ...

AS

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10666
  • MLUs Forever!
Re: mediacheck??
« Reply #8 on: October 09, 2011, 02:38:05 PM »
seems mediacheck is functioning .....  if the MD5sum is embedded ...... ??
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: mediacheck??
« Reply #9 on: October 09, 2011, 02:43:42 PM »
seems mediacheck is functioning .....  if the MD5sum is embedded ...... ??

Just made a test using lxde-2011-06.iso:
# implantisomd5 pclinuxos-lxde-2011.06.iso
Read     0 MB
Read    50 MB
Read   100 MB
Read   150 MB
Read   200 MB
Read   250 MB
Read   300 MB
Read   350 MB
Read   400 MB
Read   450 MB
Read   500 MB
Read   550 MB
Read   600 MB
Inserting md5sum into iso image...
md5 = f17395241794b3632ccca7a80db4cddd
Done!
# mediacheck pclinuxos-lxde-2011.06.iso
result PASS

it seems it's working ...

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: mediacheck??
« Reply #10 on: October 09, 2011, 02:57:02 PM »
Excuse me, but I'm wanting to be clear on this. On but up of the liveCD, are you choosing MediaCheck at the grub screen? I ask because your post seems to indicate that you ran it from the terminal.     

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: mediacheck??
« Reply #11 on: October 09, 2011, 02:58:51 PM »
Excuse me, but I'm wanting to be clear on this. On but up of the liveCD, are you choosing MediaCheck at the grub screen? I ask because your post seems to indicate that you ran it from the terminal.     

Exact, I ran it from terminal, not from liveCD.

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10666
  • MLUs Forever!
Re: mediacheck??
« Reply #12 on: October 09, 2011, 03:28:23 PM »
Excuse me, but I'm wanting to be clear on this. On but up of the liveCD, are you choosing MediaCheck at the grub screen? I ask because your post seems to indicate that you ran it from the terminal.     

Exact, I ran it from terminal, not from liveCD.

LiveCD is likely to give "Invalid or unsupported executable format" IIRC .....  or maybe that was LiveUSB ....  so there may be a difference
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: mediacheck??
« Reply #13 on: October 09, 2011, 03:32:36 PM »
Excuse me, but I'm wanting to be clear on this. On but up of the liveCD, are you choosing MediaCheck at the grub screen? I ask because your post seems to indicate that you ran it from the terminal.     

Exact, I ran it from terminal, not from liveCD.

From the first, I was referring to the MediaCheck live boot option. Mediacheck from the terminal is just another way to do a checksum - like md5sum.     

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: mediacheck??
« Reply #14 on: October 09, 2011, 03:42:09 PM »
Excuse me, but I'm wanting to be clear on this. On but up of the liveCD, are you choosing MediaCheck at the grub screen? I ask because your post seems to indicate that you ran it from the terminal.     

Exact, I ran it from terminal, not from liveCD.

From the first, I was referring to the MediaCheck live boot option. Mediacheck from the terminal is just another way to do a checksum - like md5sum.     

Yes, but as far as I can see the Mediacheck on grub menu screen was an entry that was calling /usr/bin/mediacheck ... it's the same executable launched from command line ... (right now that entry is commented out).

Anyway, should have opened a new thread ... but things went this way ...