I can browse the iso image easily enough with a loopback mount, but when it comes to mounting the actual CD (which I did first), I get
$ sudo mount -t udf,iso9660 /dev/dvd /mnt/dvd
mount: block device /dev/dvd is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/dvd,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
I burned it with K3B and it gets the same result trying to mount it. K3B seems to know that the image is an iso9660 and is able to display the various 9660 id fields just fine. It just won’t mount.
There seem to be a lot of google hits on the error message, but none I looked at had a solution that fixes it for me…
$ sudo mount /dev/scd0 /mnt/dvd
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: you must specify the filesystem type
$ sudo mount -t udf /dev/scd0 /mnt/dvd
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
$ sudo mount -t iso9660 /dev/scd0 /mnt/dvd
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
I had tried the fstype-less version first. (/dev/scd0 is the actual device /dev/dvd points to.)
What distro are you using to mount it? openSuse 11.x should automount it, unless there was a problem with the burn process.
Try ejecting the dvd and then closing the drive again.
Did you try dmesg | tail?
Does the drive read other dvd’s?
(The read only messages only tell you it’s a dvd and you can’t write or change anything on the drive, as you would expect.)
unless there was a problem with the burn process.
which is why I verified the burn first with a checksum and then with a full sector-by-sector read. (K3B did that, actually.)
Try ejecting the dvd and then closing the drive again.
I’ve even re-burned copies. I’ve got 3 now.
Did you try dmesg | tail?
Does this reveal anything more?
$ dmesg|tail
attempt to access beyond end of device
sr0: rw=0, want=7199336, limit=4
attempt to access beyond end of device
sr0: rw=0, want=1252, limit=4
attempt to access beyond end of device
sr0: rw=0, want=1028, limit=4
UDF-fs: No partition found (1)
attempt to access beyond end of device
sr0: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
NOTE: dmesg basically reads from /var/log/messages, but omits time stamps…
Does the drive read other dvd’s?
It read the one used by my sysadmin to install CentOS.
It read the one used by my sysadmin to install CentOS.
Ahhhh …
Does your account have permission to mount filesystems/cd or dvds?
Try mounting as root.
From terminal try:
sudo mount -t /dev/dvd (or srx) /mount or similar.
>
> I can browse the iso image easily enough with a loopback mount, but
> when it comes to mounting the actual CD (which I did first), I get
> Code:
> --------------------
> $ sudo mount -t udf,iso9660 /dev/dvd /mnt/dvd
Try without the “-t” option (or use “-t auto”. Also try “file
-s /dev/dvd”.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Minas Tirith))
None of “-t auto”, “-t udf”, “-t iso9660” nor omitted work. The “iso9660” image is apparently
not recognized by CentOS release 5.5. Fortunately, the BIOS does recognize it, but my idea
of perusing the disk beforehand didn’t work. It is odd that I can loopback mount the image,
but not the DVD itself. Anyway, thank you for your suggestions. Regards, Bruce
PS: wrt permissions, I was doing it all with sudo, so I’m sure that wasn’t the issue.
Besides, the error messages speak of things other than permissions and you would see
permissions messages if that were at issue.
You may have a faulty DVD drive, or a coaster. You say the BIOS recognises it. Have you let it boot and then run the self-check? There is a possibility that it will fail.
>
> None of “-t auto”, “-t udf”, “-t iso9660” nor omitted work. The
> “iso9660” image is apparently
> not recognized by CentOS release 5.5. Fortunately, the BIOS does
> recognize it, but my idea
> of perusing the disk beforehand didn’t work. It is odd that I can
> loopback mount the image,
> but not the DVD itself. Anyway, thank you for your suggestions.
And the output of the file command I asked?
My guess is that it did not burn right. Calculate its checksum and
compare with published value.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Minas Tirith))
Gracias, Carlos, para su ayuda. Ultimately, I burned 3 copies and I used
one of them to do the install and it went just fine. The sums were fine.
Just some wierdism on this CentOS thingey. Beats me. I did try some of
your suggestions, thank you.