LinuxQuestions.org
Visit Jeremy's Blog.
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 10-22-2007, 09:44 PM   #1
jaepi
Member
 
Registered: Apr 2007
Location: Urban Jungle
Distribution: Ubuntu
Posts: 189
Blog Entries: 1

Rep: Reputation: 30
Question on mounting dvd-rw drives.


Hello there. I have a query about mounting. If ever you will insert a media on the drive, does it perform auto mounting? Because every time I insert my media on the drive and check if it is mounted by the mount command, it is not there on the list of mounted devices. But the media is detected. Could this be possible?

In addition, do I need to mount the device whenever I burn a DVD or CD?

Thanks!
 
Old 10-23-2007, 03:14 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Automounting depends upon your Linux distribution, and how it's setup by them. If it is not automounted, you can mount it by using the mount command. One example:
Code:
root@wired_silas:~# mount -t iso9660 /dev/hda /mnt/dvd/
mount: block device /dev/hda is write-protected, mounting read-only

root@wired_silas:~# mount
/dev/mapper/cryptroot on / type jfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda6 on /boot type jfs (rw)
/dev/mapper/crypthome on /home type jfs (rw)
/dev/sda1 on /WinXP type ntfs (ro)
/dev/sda2 on /Storage type vfat (rw)
/dev/sda4 on /Ghost type vfat (rw)
192.168.1.11:/home on /serverhome type nfs (rw,rsize=8192,wsize=8192,hard,intr,addr=192.168.1.11)
192.168.1.11:/backup on /server1 type nfs (rw,rsize=8192,wsize=8192,hard,intr,addr=192.168.1.11)
192.168.1.11:/backup2 on /server2 type nfs (rw,rsize=8192,wsize=8192,hard,intr,addr=192.168.1.11)
/dev/hda on /mnt/dvd type iso9660 (ro)
You do not mount audio CDs, just data.

You do not mount a DVD/CD to burn it. Here are some helpful command line options:
Code:
To erase a CD-RW:
cdrecord -v dev=/dev/hd* blank=fast

To blank a DVD+RW:
su -c "growisofs -Z /dev/dvd=/dev/zero"
dvd+rw-format -force -lead-out /dev/dvd

To burn an image of a CD to the hard drive:
dd if=/dev/hd* of=namethecd.iso

To make a CD from the iso image:
cdrecord -v -eject driveropts=burnfree dev=/dev/hd* /path/to/file.iso

To save a copy of a data CD-ROM:
gzip < /dev/cdrom > cdrom.iso.gz

To create a CD-ROM image (iso file) from a directory:
mkisofs -r dir | gzip > cdrom.iso.gz

To mount a CD-ROM image (iso file) for viewing/editing:
mount -oloop cdrom.iso /mnt/dir

To burn an iso to DVD:
growisofs -dvd-compat -Z /dev/hd*=image.iso

To copy a VCD from one CD-RW/DVD+/-RW drive to another:
cdrdao copy --device /dev/hd8 --source-device /dev/hd*

Copying a VCD with cdrdao:
cdrdao read-cd --device /dev/cdrom toctoc
cdrdao write --device /dev/cdrom1 toctoc
rm toctoc
eject /dev/cdrom
eject /dev/cdrom1
Or you can use some GUI apps such as K3B.
 
Old 12-06-2007, 01:16 PM   #3
bkochis
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
Thank you

Quote:
Originally Posted by Bruce Hill View Post
Automounting depends upon your Linux distribution, and how it's setup by them.
Or you can use some GUI apps such as K3B.
Bruce, Thank you for the commands and suggesstion. I had the exact same questions regarding CD's and DVD's.
Bob
 
  


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 and DVD drives not mounting with ubuntu SeanWcisel Linux - General 1 04-04-2007 03:19 PM
quick question - mounting/unmounting drives tw001_tw Linux - Software 2 05-13-2004 08:09 PM
problem mounting cd+dvd rom drives in RH9 peeks Linux - Newbie 6 02-14-2004 08:21 PM
Question about mounting drives... Primesghost Linux - Newbie 3 06-10-2002 10:17 PM
Mounting DVD and cd rom drives redgore Linux - Newbie 2 01-28-2002 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration