VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: CD unreadable SOLVED  (Read 740 times)

StrayBit

  • Vectorian
  • ****
  • Posts: 542
CD unreadable SOLVED
« on: September 02, 2017, 07:57:31 am »

I attempted to read a disk that I couldn't read with Win7 but could with Win10.  My fstab entry
Quote
/dev/sr0    /media/cdrom auto    ro,user,noauto,unhide 0 0
and the response
Quote
vector://home/bruce
root:# mount /media/cdrom
NTFS signature is missing.
Failed to mount '/dev/sr0': Invalid argument
The device '/dev/sr0' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
I get the same response as user. and other disks are readable.
« Last Edit: September 11, 2017, 07:54:24 am by StrayBit »
Logged
7.2 STD B2 built on Feb-01-2017
HP 670 Win7 & VL7.0

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3482
Re: CD unreadable
« Reply #1 on: September 02, 2017, 10:27:31 am »

Did you burn this disc yourself?  Im wondering why the output is printing ntfs, I dont think its possible to have ntfs on a cd disk.

Can you post your full fstab and and command you are issuing to perform the mount?

StrayBit

  • Vectorian
  • ****
  • Posts: 542
Re: CD unreadable
« Reply #2 on: September 03, 2017, 06:15:31 am »

I believe one of the officers in the Squadron burned it on a Win10 machine.  It contains some editable pdfs.
Quote
# fstab generated by vinstall
#sda1
UUID=2b6746d6-dd14-4812-8f7e-94c257b432c6     /     ext3     defaults 0 0
/dev/sda3   /mnt/Public   vfat   auto,rw,user,sync,exec,dev,suid,uid=500,gid=500,umask=000 0 0
#sda4
#UUID=e40e621f-3c83-4c41-8607-5e41e0b05dff     /mnt/Ovar     ext3     defaults 0 0
#sdb1
#/dev/sdb1   /mnt/Test   ext3   defaults 0 0
UUID=38f5106d-420c-47b0-8034-9c792654249a   /mnt/Test   ext3   defaults 0 0
#UUID=38f5106d-420c-47b0-8034-9c792654249a     /     ext3     defaults 0 0
/dev/sdb3   /mnt/Code   reiserfs   defaults 0 0
/dev/sdb5   /mnt/Iso   reiserfs   users,defaults 0 0
#sdb6
#UUID=90ea6954-5d6a-4e58-b4b9-90325a005c6c     /mnt/Ohome     reiserfs     defaults 0 0
UUID=90ea6954-5d6a-4e58-b4b9-90325a005c6c     /home     reiserfs     defaults 0 0
/dev/sr0    /media/cdrom auto    ro,user,noauto,unhide 0 0
proc     /proc     proc     defaults 0 0
none     /dev/pts     devpts     gid=5,mode=666  0 0
sysfs     /sys     sysfs     defaults 0 0
cgroup     /cgroup/cpuset     cgroup     rw,relatime,cpuset 0 0
cgroup     /cgroup/cpu     cgroup     rw,relatime,cpu 0 0
cgroup     /cgroup/cpuacct     cgroup     rw,relatime,cpuacct 0 0
cgroup     /cgroup/memory     cgroup     rw,relatime,memory 0 0
cgroup     /cgroup/devices     cgroup     rw,relatime,devices 0 0
cgroup     /cgroup/freezer     cgroup     rw,relatime,freezer 0 0
cgroup     /cgroup/net_cls     cgroup     rw,relatime,net_cls 0 0
cgroup     /cgroup/blkio     cgroup     rw,relatime,blkio 0 0
I double clicked the icon and also
Quote
vector://home/bruce
root:# mount /media/cdrom
NTFS signature is missing.
Failed to mount '/dev/sr0': Invalid argument
The device '/dev/sr0' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
both as user and as root.
« Last Edit: September 03, 2017, 06:22:16 am by StrayBit »
Logged
7.2 STD B2 built on Feb-01-2017
HP 670 Win7 & VL7.0

roarde

  • Vectorian
  • ****
  • Posts: 759
  • it's enough
Re: CD unreadable
« Reply #3 on: September 03, 2017, 01:38:34 pm »

Quote
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

Worth checking out, I think. Insert disc, wait for failure, then issue blkid
Logged
Robert

StrayBit

  • Vectorian
  • ****
  • Posts: 542
Re: CD unreadable
« Reply #4 on: September 04, 2017, 05:26:36 am »

Quote
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

Worth checking out, I think. Insert disc, wait for failure, then issue blkid
insert disk
Quote
root:# blkid
/dev/sda1: UUID="2b6746d6-dd14-4812-8f7e-94c257b432c6" TYPE="ext3" PARTUUID="f84ef84e-01"
/dev/sda2: UUID="a9ef7459-98f0-4c71-8480-568b9715fadd" TYPE="swap" PARTUUID="f84ef84e-02"
/dev/sda3: UUID="154E-7276" TYPE="vfat" PARTUUID="f84ef84e-03"
/dev/sda4: UUID="e40e621f-3c83-4c41-8607-5e41e0b05dff" SEC_TYPE="ext2" TYPE="ext3" PARTUUID="f84ef84e-04"
/dev/sdb1: UUID="38f5106d-420c-47b0-8034-9c792654249a" TYPE="ext3" PARTUUID="3d76d400-01"
/dev/sdb3: UUID="102c5156-f5a5-40d3-8c2e-c17edc31a35e" TYPE="reiserfs" PARTUUID="3d76d400-03"
/dev/sdb5: UUID="8623f9ad-6f2b-418f-81cb-480b3137c20e" TYPE="reiserfs" PARTUUID="3d76d400-05"
/dev/sdb6: UUID="90ea6954-5d6a-4e58-b4b9-90325a005c6c" TYPE="reiserfs" PARTUUID="3d76d400-06"
vector://home/www/htdocs/wordpress/wp-admin
root:# mount /media/cdrom
NTFS signature is missing.
Failed to mount '/dev/sr0': Invalid argument
The device '/dev/sr0' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
vector://home/www/htdocs/wordpress/wp-admin
root:# blkid
/dev/sda1: UUID="2b6746d6-dd14-4812-8f7e-94c257b432c6" TYPE="ext3" PARTUUID="f84ef84e-01"
/dev/sda2: UUID="a9ef7459-98f0-4c71-8480-568b9715fadd" TYPE="swap" PARTUUID="f84ef84e-02"
/dev/sda3: UUID="154E-7276" TYPE="vfat" PARTUUID="f84ef84e-03"
/dev/sda4: UUID="e40e621f-3c83-4c41-8607-5e41e0b05dff" SEC_TYPE="ext2" TYPE="ext3" PARTUUID="f84ef84e-04"
/dev/sdb1: UUID="38f5106d-420c-47b0-8034-9c792654249a" TYPE="ext3" PARTUUID="3d76d400-01"
/dev/sdb3: UUID="102c5156-f5a5-40d3-8c2e-c17edc31a35e" TYPE="reiserfs" PARTUUID="3d76d400-03"
/dev/sdb5: UUID="8623f9ad-6f2b-418f-81cb-480b3137c20e" TYPE="reiserfs" PARTUUID="3d76d400-05"
/dev/sdb6: UUID="90ea6954-5d6a-4e58-b4b9-90325a005c6c" TYPE="reiserfs" PARTUUID="3d76d400-06"
vector://home/www/htdocs/wordpress/wp-admin
root:#
Logged
7.2 STD B2 built on Feb-01-2017
HP 670 Win7 & VL7.0

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4430
Re: CD unreadable
« Reply #5 on: September 04, 2017, 08:39:42 am »

Try "mount -t iso9660 /dev/sr0 /media/cdrom/"
Logged

StrayBit

  • Vectorian
  • ****
  • Posts: 542
Re: CD unreadable
« Reply #6 on: September 04, 2017, 11:52:58 am »

Quote
root:# mount -t iso9660 /dev/sr0 /media/cdrom/
mount: /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
vector://home/www/htdocs/wordpress/wp-admin
root:# dmesg | tail
[600504.037831] sr 1:0:1:0: [sr0] tag#0 ASC=0x64 ASCQ=0x0
[600504.037838] sr 1:0:1:0: [sr0] tag#0 CDB: opcode=0x28 28 00 00 00 3a 2a 00 00 02 00
[600504.037844] blk_update_request: I/O error, dev sr0, sector 59560
[600504.149831] sr 1:0:1:0: [sr0] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[600504.149842] sr 1:0:1:0: [sr0] tag#0 Sense Key : 0x5 [current]
[600504.149848] sr 1:0:1:0: [sr0] tag#0 ASC=0x64 ASCQ=0x0
[600504.149854] sr 1:0:1:0: [sr0] tag#0 CDB: opcode=0x28 28 00 00 00 3a 2a 00 00 02 00
[600504.149859] blk_update_request: I/O error, dev sr0, sector 59560
[600504.149867] Buffer I/O error on dev sr0, logical block 7445, async page read
[600511.284794] ISOFS: Unable to identify CD-ROM format.
Logged
7.2 STD B2 built on Feb-01-2017
HP 670 Win7 & VL7.0

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4430
Re: CD unreadable
« Reply #7 on: September 04, 2017, 01:40:50 pm »

The I/O errors makes me think there is a hardware problem.

Do you also have Win10 installed on this machine, and it reads this disc, in this drive?
Logged

roarde

  • Vectorian
  • ****
  • Posts: 759
  • it's enough
Re: CD unreadable
« Reply #8 on: September 04, 2017, 09:26:43 pm »

edit: I'll leave my original response below, but I recalled file's "-s" option after posting. Instead of copying the first part of the disc to hd for checking, it can be read directly:
Code: [Select]
file -s /dev/sr0quack!

===========================================
I'm more quackery than hackery lately, but here goes:
Code: [Select]
dd if=/dev/sr0 of=GuessMe bs=1M count=2
file GuessMe

Maybe file knows what it is.
« Last Edit: September 04, 2017, 09:36:01 pm by roarde »
Logged
Robert

StrayBit

  • Vectorian
  • ****
  • Posts: 542
Re: CD unreadable
« Reply #9 on: September 09, 2017, 07:43:21 am »

Quote
vector://home/bruce
root:# dd if=/dev/sr0 of=GuessMe bs=1M count=2
dd: error reading '/dev/sr0': Input/output error
0+1 records in
0+1 records out
655360 bytes (655 kB) copied, 4.37813 s, 150 kB/s
vector://home/bruce
root:# file GuessMe
GuessMe: data
vector://home/bruce
root:# 1504966690953   addons.xpi-utils   WARN   Disabling foreign installed add-on modern@themes.mozilla.org in app-global

(seamonkey:13067): GLib-GIO-WARNING **: Failed to execute child process "update-desktop-database" (No such file or directory)
As you can see, I even tried to open Guesme with Seamonkey.
nightflier:  This machine only has VL.  I do know that the disk was recorded on a Win10 machine by a non-techie operator.  I've had the same issue with other disks that he has given me.  Usually, I just fire up my Win10 laptop to read it and copy the files to my Win7 laptop workhorse. 
Speaking of which, I have VL7.0 on the Win7 laptop.  Rebooted it just thinks this is an empty CD-R.  (so did Win7!)
I only use the Win10 once every 2 or 3 months!  It is not mine or I would put VL on it.
Logged
7.2 STD B2 built on Feb-01-2017
HP 670 Win7 & VL7.0

roarde

  • Vectorian
  • ****
  • Posts: 759
  • it's enough
Re: CD unreadable
« Reply #10 on: September 09, 2017, 01:06:49 pm »

I feel like Columbo. There's just one more thing:
Code: [Select]
root# mount -t udf /dev/sr0 /media/memory
If that fails and cites io errors, I'm betting DRM. Remember to thank BSA.
Logged
Robert

StrayBit

  • Vectorian
  • ****
  • Posts: 542
Re: CD unreadable
« Reply #11 on: September 10, 2017, 11:31:02 am »

That did it!  ;D ;D  Thank-you - Thank-you!
Should I put that into fstab in addition to the other entry?
Logged
7.2 STD B2 built on Feb-01-2017
HP 670 Win7 & VL7.0

roarde

  • Vectorian
  • ****
  • Posts: 759
  • it's enough
Re: CD unreadable
« Reply #12 on: September 10, 2017, 12:07:25 pm »

I've never tried several filesystems for the same device from fstab. You might try
Code: [Select]
/dev/sr0    /media/cdrom udf,iso9660    user,noauto,unhide,utf8 0 0
That will have "bridge" type udf filesystems, which you've already been mounting as iso9660, mount as udf instead. You might reverse that behavior by swapping udf and iso9660. May also consider the option "noexec" there, and just mount manually when you want to run executables directly from disc.
« Last Edit: September 10, 2017, 12:20:48 pm by roarde »
Logged
Robert

StrayBit

  • Vectorian
  • ****
  • Posts: 542
Re: CD unreadable
« Reply #13 on: September 11, 2017, 07:53:49 am »

That seems to work.  I did try 4 different disks - the only one that didn't want to be read was the install disk.  As that was the first one tried, it might be just how I tried.
Logged
7.2 STD B2 built on Feb-01-2017
HP 670 Win7 & VL7.0

roarde

  • Vectorian
  • ****
  • Posts: 759
  • it's enough
Re: CD unreadable SOLVED
« Reply #14 on: September 13, 2017, 02:46:25 pm »

If you're talking about the VL installer, it's a bridge udf with a DOS MBR up front. Due to its being a bootable hybrid, it may not be readable as udf and would actually require access only as iso9660.

If it's of interest, you can try iso9660,udf instead of udf,iso9660. I should have suggested that in the first place, I think. Anything that's aware of non-udf will be a bridged iso9600, anything that's "real" udf will fail at iso9660 mount, then try udf. At least that's what they say.
Logged
Robert