You are not logged in.

#1 2008-06-18 16:12:04

pbrisson
Member
Registered: 2008-06-18
Posts: 6

[SOLVED] Can't mount any CD

Hi.

Whenever I'm trying to mount a CD, I get this message;

mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

I've even tried to mount the CD I've used to install ArchLinux, which I'm sure is correct... I use;

mount /dev/cdrom /media/cdrom

which gives;

mount: you must specify the filesystem type

then I use;

mount /dev/cdrom /media/cdrom -t iso9660

to get;

mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

...

dmesg | tail

gives;

sr0: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16

here's my /etc/fstab;

/dev/cdrom /media/cdrom   auto    ro,user,noauto,unhide   0      0
/dev/fd0 /media/fd0   auto    user,noauto   0      0
/dev/sda1 /boot ext2 defaults 0 1
/dev/sda2 swap swap defaults 0 0
/dev/sda3 / ext2 defaults 0 1
/dev/sda4 /home ext2 defaults 0 1

... I'm using a DVD Burner as cdrom, dunno if it can be the cause of this issue, but I guess it doesn't make difference... I've also tried using /dev/sr0 instead of /dev/cdrom, but same result.

Thanks. Any help is welcome...

Last edited by pbrisson (2008-06-19 14:48:31)

Offline

#2 2008-06-18 17:21:25

pbrisson
Member
Registered: 2008-06-18
Posts: 6

Re: [SOLVED] Can't mount any CD

Ok, I got it working removing;

/dev/cdrom /media/cdrom   auto    ro,user,noauto,unhide   0      0

from my /etc/fstab ...

Now, I can mount cds using;

mount /dev/cdrom /media/cdrom -t iso9660

My main concern is... what was not correct with my /etc/fstab line?

Offline

#3 2008-06-19 02:12:37

dabski
Member
Registered: 2008-02-07
Posts: 101
Website

Re: [SOLVED] Can't mount any CD

Not sure since I don't really use fstab but you could try replacing auto with iso9660 and then trying

mount /dev/cdrom

As far as I know you do not need to specify the destination when it is already specified in fstab.

Last edited by dabski (2008-06-19 02:14:50)

Offline

Board footer

Powered by FluxBB