LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-01-2004, 09:25 PM   #1
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
can't mount a dvd on a cd burner/dvd rom drive


i have a combo cd burner/dvd rom drive. I tried to mount a dvd in it but it said no meda found. Is there a way to configure to be able to read both cds and dvds? Im guessing it involves fstab.
 
Old 12-02-2004, 03:43 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
I also have a CD-RW/DVD Combo drive and I just have a normal fstab entry for it.
/dev/cdrom /cd0 iso9660 noauto,user,ro 0 0
 
Old 12-02-2004, 02:27 PM   #3
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
i haven't edited the fstab before, is there a good tutorial about doing so? i don't want to mess with it and possibly screw it up.
 
Old 12-02-2004, 03:37 PM   #4
jnsenit
Member
 
Registered: Oct 2004
Location: Milano, Italy
Distribution: slackware 10.0
Posts: 39

Rep: Reputation: 15
first thing post your fstab, maybe you need to fix only one thing...

it's very easy to edit that file, there is nothing really complex in it, follow these steps as root:

1. make a new folder like /mnt/dvd or /mount/dvd or /dvd, depending on your system. it doesn't really matter by what name and where you create it. now i'll assume you created /mount/dvd just to make things clear.
2. with a text editor (like kedit or gedit) open /etc/fstab, it will look something like
Code:
/dev/hda5        swap             swap        defaults         0   0
/dev/hda6        /                reiserfs    defaults         1   1
/dev/hda7        /home            reiserfs    defaults         1   2
/dev/hda2        /win             vfat        auto,gid=100,uid=500,rw         1   0
/dev/hdc         /mnt/cdrom       iso9660     noauto,user,rw   0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
/dev/sda1        /mnt/camera      vfat        noauto,user,rw   0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
3. add at the end of the file this line:
Code:
/dev/hdc     /mount/dvd     iso9660     noauto,user,ro     0     0
4. save the file and just type (also as user) mount /dev/hdc to mount your dvd!

note that if you want to write your dvds then you'll have to write rw instead of ro in your fstab

Last edited by jnsenit; 12-02-2004 at 03:40 PM.
 
Old 12-02-2004, 03:49 PM   #5
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
this is my fstab


LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda6 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0

when you are creating the /mnt/dvd folder then editing the fstab to reference it is that creating a symbolic link or am i mistaken?

Last edited by dr_zayus69; 12-02-2004 at 04:03 PM.
 
Old 12-08-2004, 07:11 PM   #6
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
Quote:
when you are creating the /mnt/dvd folder then editing the fstab to reference it is that creating a symbolic link or am i mistaken?
thats not creating a symlink, you are just telling the mount command where to mount the filesystem.

Your /dev/cdrom is most likely a symlink to a block device. If you type ls -l /dev/cdrom you will see what device is your cdrom:
Code:
ls -l /dev/dvd

lrwxrwxrwx  1 root root 3 2004-07-07 00:27 /dev/dvd -> hdb
Try changing your fstab entry to auto or just iso9660, e.g.

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
or
/dev/cdrom /mnt/cdrom auto noauto,owner,kudzu,ro 0 0

Last edited by /bin/bash; 12-08-2004 at 07:12 PM.
 
Old 12-08-2004, 07:21 PM   #7
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
lrwxrwxrwx 1 root root 10 Oct 16 00:12 /dev/dvd -> /dev/cdrom

that is what i get when i do ls -l /dev/dvd
 
Old 12-09-2004, 08:56 AM   #8
jnsenit
Member
 
Registered: Oct 2004
Location: Milano, Italy
Distribution: slackware 10.0
Posts: 39

Rep: Reputation: 15
change

Quote:
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
in:
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CD Rom swapped out for DVD Burner Xelopheris Linux - Hardware 1 07-27-2005 01:03 PM
how can I mount my dvd burner using SCSI emulation? Xavius Linux - Hardware 14 04-17-2005 11:38 PM
can't read data DVD-R on my DVD-ROM/CD-RW combi drive bruceyboy Linux - Hardware 0 11-17-2004 11:25 AM
dvd-rom drive won't play movies and dvd burner won't record calble Linux - Hardware 1 08-09-2004 07:35 AM
Firewire DVD burner - what device to mount? RWild Linux - General 12 01-21-2003 05:42 PM


All times are GMT -5. The time now is 07:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration