Jump to content


mounting cdrom


  • Please log in to reply
16 replies to this topic

#1 OFFLINE   réjean

réjean

    Discussion Deity

  • Forum MVP
  • 4,473 posts

Posted 02 September 2008 - 10:30 AM

Hi all!When I go into storage media ( in mandy ) and right click on the cdrom and choose "mount" I am told the "feature is available only under HAL". So I checked to make sure it was installed and it was but there were some lib files that were not. So I installed them and I still get the same message. So I tried Bruno's tip for mounting and I got the following:
[rejean@localhost ~]$ cat /etc/fstab/dev/hda2 / ext3 relatime 1 1/dev/hda6 /home ext3 relatime 1 2/dev/cdrom /media/cdrom auto umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0/dev/cdrom2 /media/cdrom2 auto umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0//rejean/Application\040Data /mnt/Application-Data smbfs username=% 0 0//rejean/C /mnt/C smbfs username=% 0 0//rejean/computer /mnt/computer smbfs username=% 0 0//rejean/rejean /mnt/rejean smbfs username=% 0 0/dev/hda1 /mnt/windows ntfs umask=0022,nls=utf8,ro 0 0none /proc proc defaults 0 0/dev/hda5 swap swap defaults 0 0/dev/hdb6 swap swap defaults 0 0#/dev/hda11 /mnt/storage fat 32 defaults 1 2/dev/hda11 /mnt/storage vfat rw,users,umask=000   0 0[rejean@localhost ~]$[rejean@localhost ~]$ suPassword:[root@localhost rejean]# mount /dev/cdrom[mntent]: warning: no final newline at the end of /etc/fstabmount: you must specify the filesystem type[root@localhost rejean]#
So what should be the proper code?
registered linux user #374889

#2 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 02 September 2008 - 01:01 PM

Hi RéjeanNormally the proper command would be:
# mount /media/cdrom
  . . . BUT . . . depending if it is a data CD or a music CD in Mandriva you should automatically get a pop-up 10 to 20 seconds after inserting the CD. That pop-up will ask you what to do with the CD.If you do NOT get the pop-up it can mean 2 things: Either you had the pop-up before and ticked the box to always automatically execute one of the choices given and not show the pop-up for that kind of media again. OR . . . the CD/DVD is faulty and HAL/Mandiva can not do anything with it.:unsure: Bruno

#3 OFFLINE   réjean

réjean

    Discussion Deity

  • Forum MVP
  • 4,473 posts

Posted 02 September 2008 - 01:39 PM

View PostBruno, on Sep 2 2008, 01:01 PM, said:

Hi RéjeanNormally the proper command would be: "# mount /media/cdrom/"  . . . BUT . . . depending if it is a data CD or a music CD in Mandriva you should automatically get a pop-up 10 to 20 seconds after inserting the CD. That pop-up will ask you what to do with the CD.If you do NOT get the pop-up it can mean 2 things: Either you had the pop-up before and ticked the box to always automatically execute one of the choices given and not show the pop-up for that kind of media again.
Hi Bruno! I do not recall doing such a thing.[

Quote

OR . . . the CD/DVD is faulty and HAL/Mandiva can not do anything with it.
I thought about that and should have said that I had tried several ( good ) data and music cds but none work. Even some commercial music cds but I do not get any pop-up.As for the cd that I was talkingt about it contained 3 downloads; Spybot, Ad-aware and Windows anti-spyware. I just wanted to email my sister-in-law and attach ad-aware. I rebooted into WinXP on the same machine and it worked fine. Maybe I'll try another linux distro when I have time.Finally I tried:
[rejean@localhost ~]$ suPassword:[root@localhost rejean]# mount /media/cdrom[mntent]: warning: no final newline at the end of /etc/fstabmount: you must specify the filesystem type[root@localhost rejean]# mount /media/cdrom2[mntent]: warning: no final newline at the end of /etc/fstabmount: you must specify the filesystem type[root@localhost rejean]#
with the result you can see. Any idea anyone.
registered linux user #374889

#4 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 02 September 2008 - 02:03 PM

Let's see if everything is coorectly set up . . . let me see:
# dmesg | grep CD
and
# ls -al /dev/cdrom# ls -al /dev/cdrom2
BTW: Which of the 2 CD devices are you using ?:unsure: Bruno

#5 OFFLINE   réjean

réjean

    Discussion Deity

  • Forum MVP
  • 4,473 posts

Posted 02 September 2008 - 02:39 PM

I have a dvd burner and a dvd player but I am pretty sure that I unhooked the player because I can burn dvds so I would say it is cdrom.Here you go:
[rejean@localhost ~]$ suPassword:[root@localhost rejean]# dmesg | grep CDACPI: DSDT 7FFB0450, 5319 (r1  4CDS2 4CDS2141	  141 INTL  2002026)hdc: _NEC DVD_RW ND-1300A, ATAPI CD/DVD-ROM drivehdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)Uniform CD-ROM driver Revision: 3.20[root@localhost rejean]# ls -al /dev/cdromls: cannot access /dev/cdrom: No such file or directory[root@localhost rejean]# ls -al /dev/cdrom2ls: cannot access /dev/cdrom2: No such file or directory[root@localhost rejean]#
with of course a cd into the dvd burner.

Edited by réjean, 02 September 2008 - 02:40 PM.

registered linux user #374889

#6 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 02 September 2008 - 02:41 PM

Okay Réjean . . . please test this:
# mount /dev/hdc /media/cdrom
:unsure: Bruno

#7 OFFLINE   réjean

réjean

    Discussion Deity

  • Forum MVP
  • 4,473 posts

Posted 02 September 2008 - 02:58 PM

We are making progress:
[root@localhost rejean]# mount /dev/hdc /media/cdrommount: block device /dev/hdc is write-protected, mounting read-only[root@localhost rejean]#

registered linux user #374889

#8 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 02 September 2008 - 03:02 PM

Goooood . . . . it is mounted ( read only but that is normal behavior )Now change the fstab: these 2 lines:

Quote

/dev/cdrom /media/cdrom auto umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0/dev/cdrom2 /media/cdrom2 auto umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0
to just one line:

Quote

/dev/hdc /media/cdrom auto umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0
Next reboot and see if you get the popup when inserting a CD ( if not  mount it manually like we did above and you can access it ):unsure: Bruno

#9 OFFLINE   réjean

réjean

    Discussion Deity

  • Forum MVP
  • 4,473 posts

Posted 02 September 2008 - 04:03 PM

Great Bruno!We are making real progress. However after rebooting I tried a commercial music CD and got the following:
[rejean@localhost ~]$ suPassword:[root@localhost rejean]# mount /dev/hdc /media/cdrommount: you must specify the filesystem type
So I took the CD out and put the one I started the thread with and got this:
[root@localhost rejean]# mount /dev/hdc /media/cdrommount: block device /dev/hdc is write-protected, mounting read-only[root@localhost rejean]#
with:
[root@localhost rejean]# ls -al /dev/hdc /media/cdrombrw-rw---- 1 rejean cdwriter 22, 0 2008-09-02 16:56 /dev/hdc/media/cdrom:total 14dr-xr-xr-x 1 root root 2048 2005-11-09 11:51 ./drwxr-xr-x 5 root root 4096 2008-08-03 19:41 ../dr-xr-xr-x 1 root root 2048 2005-11-09 11:51 Lavasoft/dr-xr-xr-x 1 root root 4096 2005-11-09 11:51 Microsoft AntiSpyware/dr-xr-xr-x 1 root root 2048 2005-11-09 11:51 Spybot - Search & Destroy 1.1/[root@localhost rejean]#

registered linux user #374889

#10 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 02 September 2008 - 04:52 PM

View Postréjean, on Sep 2 2008, 10:03 PM, said:

dr-xr-xr-x 1 root root 2048 2005-11-09 11:51 ./drwxr-xr-x 5 root root 4096 2008-08-03 19:41 ../dr-xr-xr-x 1 root root 2048 2005-11-09 11:51 Lavasoft/dr-xr-xr-x 1 root root 4096 2005-11-09 11:51 Microsoft AntiSpyware/dr-xr-xr-x 1 root root 2048 2005-11-09 11:51 Spybot - Search & Destroy 1.1/
That's good !!And BTW: you do not ( can not ) mount music CDs . . . you just play them in KsCD of AmarokB) Bruno

#11 OFFLINE   réjean

réjean

    Discussion Deity

  • Forum MVP
  • 4,473 posts

Posted 02 September 2008 - 05:02 PM

Got you!BTW I think they should have a special entry for the Nobel prize as "genius" and I would be voting for you every year until you get the prize.
registered linux user #374889

#12 OFFLINE   SueD

SueD

    Posting Prodigy

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,476 posts

Posted 02 September 2008 - 06:08 PM

View Postréjean, on Sep 2 2008, 05:02 PM, said:

BTW I think they should have a special entry for the Nobel prize as "genius" and I would be voting for you every year until you get the prize.
Me too! Bruno's really good at getting our rear ends out of the fire, isn't he?
Sue
Registered Linux User #433538
A life? Cool! Where can I download one of those?

#13 OFFLINE   zlim

zlim

    It's me, plodr

  • Forum MVP
  • 7,109 posts

Posted 02 September 2008 - 10:46 PM

If it weren't for Bruno and teacher, I would never have looked at linux!!! Yet alone try and actually install and use it.Posted ImageTo Bruno: for kind and tireless support to Linux New Explorers and perennial New Explorers (that would be me!)
Liz
Registered Linux User # 401459
Posted Image

#14 OFFLINE   jolphil

jolphil

    Message Mogul

  • Members
  • PipPipPipPipPip
  • 369 posts

Posted 03 September 2008 - 08:07 AM

I still am amazed how one person knows sooo much.. :hysterical: jolphil

#15 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 03 September 2008 - 01:06 PM

LOL . . . makes me wonder what tux I should wear . . would my usual penguin outfit do or should I get my tuxedo from the dry-cleaners ?   :hysterical: :whistling: Bruno

#16 OFFLINE   réjean

réjean

    Discussion Deity

  • Forum MVP
  • 4,473 posts

Posted 03 September 2008 - 03:02 PM

Here is how I picture you in Stockholm Brunohttp://www.wallpaper..._serialNumber=2and forget the protocole...

Edited by réjean, 03 September 2008 - 03:03 PM.

registered linux user #374889

#17 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 03 September 2008 - 04:49 PM

:hysterical:  . . . LOLB) Bruno




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users