Koozali.org: home of the SME Server

Can't mount CD after 5.5 u6 install

John A

Can't mount CD after 5.5 u6 install
« on: May 30, 2003, 04:38:49 PM »
I have just done a fresh install of 5.5 u6. All seemed to be working fine.

Except I tried to mount my cd rom to install tapeware and this is what I got,


[root@SME55 root]# mount -t iso9660 /dev/cdrom /mnt/cdrom

mount: wrong fs type, bad option, bad superblock on /dev/cdrom, or too many mounted file systems

or if I try

[root@SME55 root]# mount /mnt/dev

I get the same reply.

My CD is IDE

My HD and Dat Tape Drive are both SCSI

I did a search and found a FAQ link, however when I went there it is no more.

Hope someone can help.


John A

John A

Re: Can't mount CD after 5.5 u6 install
« Reply #1 on: May 30, 2003, 04:59:51 PM »
Sorry about the post I have just found the answer in my e-smith notes

This is what I had to do on this SME Server when I had 5.6 installed.



[root@SME56 root]# mount /dev/scd0 /mnt/cdrom
mount: block device /dev/scd0 is write-protected, mounting read-only
[root@SME56 root]#


And now it works fine.

John A

Michiel

Re: Can't mount CD after 5.5 u6 install
« Reply #2 on: May 30, 2003, 05:23:19 PM »
To fix this permanently:
ln -fs /dev/scd0  /dev/cdrom

Michiel

John A

Re: Can't mount CD after 5.5 u6 install
« Reply #3 on: May 30, 2003, 06:17:22 PM »
Michiel,

Tried that made no difference, but thanks for your effort


John A

Michiel

Re: Can't mount CD after 5.5 u6 install
« Reply #4 on: May 30, 2003, 06:57:21 PM »
> Tried that made no difference, but thanks for your effort

Really?? If "mount /dev/scd0 /mnt/cdrom" works, than "ln -fs /dev/scd0 /dev/cdrom" does the same thing.

If you look in /etc/fstab you ought to see the following line:

/dev/cdrom  /mnt/cdrom  iso9660 etc...

Basically this says: mount /dev/cdrom /mnt/cdrom

Now if you create a new symlink /dev/cdrom pointing to /dev/scd0, you have again your own command, but this time permanently. With this in place, "mount /mnt/cdrom" should work as expected.

It worked for me in any case.

Michiel