CDrom mount problem Slackware 13.0
My /etc/fstab:
/dev/hda3 swap swap defaults 0 0
/dev/hda5 / ext3 defaults 1 1
/dev/hda6 /boot ext3 defaults 1 2
/dev/hda7 /usr ext3 defaults 1 2
/dev/hda8 /opt ext3 defaults 1 2
/dev/hda9 /var ext3 defaults 1 2
/dev/hda10 /home ext3 defaults 1 2
/dev/hda11 /tmp ext3 defaults 1 2
/dev/hda1 /winc ntfs-3g umask=077 1 0
/dev/hda2 /winf ntfs-3g umask=077 1 0
/dev/sda1 /tma1 vfat defaults 1 0
/dev/sda2 /tma2 vfat defaults 1 0
#/dev/cdrom0 /mnt/cdrom0 auto noauto,owner,ro 0 0 <--NOTE
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
With 12.0 I used:
mount -t iso9660 -r /dev/cdrom0 /mnt Copied over off of backup cd but was able to access it because a gooey window came up in xfce which allowed it. Now that window is not coming up??
Tried:/root
bash-3.1# mount -t iso9660 -o ro /dev/cdrom0 /mnt
mount: no medium found on /dev/hdc
bash-3.1# mount -t iso9660 -o ro /dev/cdrom1 /mnt
mount: no medium found on /dev/hdb
bash-3.1# mount -t iso9660 -o ro /dev/cdrom /mnt
mount: no medium found on /dev/hdb
It just covered up the /mnt for me before.
bash-3.1# mount -t iso9660 -o ro /dev/cdrom /media/new
mount: mount point /media/new does not exist
Also saw where was supposed to use /media/cdrom but that didn't work either.
Under 12.0 seem to recall having an entry in fstab like the one commented out above. Because I have a cdrom and cd-rw installed, I think I had made them cdrom0 and cdrom1 on F & G, respectively.
Read there is a need to comment out: /etc/udev/rules.d/70-persistent-cd.rules but do not know the purpose of that file, so am asking if:
1) should I use:
/dev/cdrom0 /mnt/cdrom0 auto noauto,owner,ro 0 0 in /etc/fstab (and cdrom1) or
2) get rid of 70-persistent-cd.rules
or 3) both or something else??
CDrom mount problem Slackware 13.0
Here are the results:
bash-3.1# dmesg | grep -i cd-rom
hdb: E-IDE CD-ROM Max 50X, ATAPI CD/DVD-ROM drive
ide-cd: hdb: ATAPI 50X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.20
ide-cd: hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache
Thanx for info on Thunar vol mgr! Normally don't use it and just type may alias for whichever drive I am using. I had not mentioned that an ls -l /dev/cdrom0 and likewise for 1 pointed to hdc and hdb respectively. An ls -l /dev/cdrom points to /dev/hdb also.
I see I can revert to using fstab from the rREADME, but tried getting the vol mgr to recognize a cdrom was in a drive on /hdc as it did the one time I used Thunar but this time it did not see the cdrom. Can root cause mounts to /media??
I wonder if the removal of 70-persistent-cd.rules forces linux to use fstab for drive assignment rather than exo-mounting on /media??
CDrom mount problem Slackware 13.0
Tried:
mount -t iso9660 -r /dev/hdb /mnt it generates: mount: no medium found on /dev/hdb
also tried with /dev/hdc and got same result.
Using udev seems to me to be overly complicating without much gain. It is also diverging from what has been standard *nix practice of setting up fstab and mounting pretty much as what I just tried. Perhaps I'm being cro-manion !
Before trying to remove "70-persistent" I will review again the CD how to and get back.
CDrom mount problem Slackware 13.0
I'm back. Did as you suggested and found that the 70-persistent-cd.rules regenerates as the same as the previous one.
The cd rules seem to be reversed. The TDK r-w device and MAX_50X (rules) are setup to be on different drives than setup in /dev.
# TDK_CDRW241040X (pci-0000:00:11.1-ide-1:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.1-ide-1:0", SYMLINK+="cdrom0", ENV{GENERATED}="1"
and
# E-IDE_CD-ROM_Max_50X (pci-0000:00:11.1-ide-0:1)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.1-ide-0:1", SYMLINK+="cdrom1", ENV{GENERATED}="1"
ls -l /dev/cdrom0
lrwxrwxrwx 1 root root 3 2009-12-04 15:12 /dev/cdrom0 -> hdc
ls -l /dev/cdrom1
lrwxrwxrwx 1 root root 3 2009-12-04 15:12 /dev/cdrom1 -> hdb
I am wondering if there is a simple way to cause /etc/udev/rules.d/70-persistent-cd.rules to be generated to match what is setup in /dev (correctly).
Alternatively, could I break the links for /dev/cdrom0 which point to /dev/hdc and for /dev/cdrom1 which points to /dev/hdb and relink sot cdrom0 ---> hdb and cdrom1 ---> hdc??
CDrom mount problem Slackware 13.0
I've now added /dev/cdrom0 and 1 to /etc/fstab
That produced the same error messages.
I rewrote the 70-persistent-cd.rules by changing 1:0 to 1:1 for the TDK drive and 0:1 to 0:0 for the MAX_X drive and still getting the same errors.
I am now desperate and may have to go back to 12.0 if no solution this week.