Find the answer to your Linux question:
Results 1 to 9 of 9
Its unusual to mount CD drives in Linux i suppose since when a CD is loaded into the drive , an icon automatically appears in the Desktop after mounting... But ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    42

    How to mount cd's?

    Its unusual to mount CD drives in Linux i suppose since when a CD is loaded into the drive , an icon automatically appears in the Desktop after mounting...
    But my problem is even i though i load a DVD , it says that the drive is empty or not mounted when I click CD/DVD in My computer???

    Can anyone help out? Are there any specific commands to mount DVD's?

  2. #2
    Linux User Oxygen's Avatar
    Join Date
    Jul 2004
    Location
    Hartlepool, England
    Posts
    392
    Code:
    mount -t cd9660 /dev/<dvd drive> /mount/point
    <dvd drive> should be the name of your device, like cdrom0 or something.

    /mount/point should be a folder where you mount it from, need to be an empty folder, usually /mnt .
    Graham - You'd better Use Linux!

    I'm registerd Linux user #397030. What about you?

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    42

    I get an error!

    [root@localhost ~]# mount -t cd9660 /dev/sda1 /mnt/e
    mount: unknown filesystem type 'cd9660'



    The o/p of fdisk -l command is :

    [root@localhost ~]# fdisk -l

    Disk /dev/hda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 5100 40960048+ 7 HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/hda2 5101 7044 15615180 83 Linux
    /dev/hda3 7045 7305 2096482+ 5 Extended
    /dev/hda4 7306 9729 19466968+ c W95 FAT32 (LBA)
    Partition 4 does not end on cylinder boundary.
    /dev/hda5 7045 7222 1429753+ 82 Linux swap / Solaris

    Disk /dev/sda: 8195 MB, 8195281920 bytes
    255 heads, 63 sectors/track, 996 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 978 7855753+ 7 HPFS/NTFS
    /dev/sda4 979 995 136552+ a0 IBM Thinkpad hibernation




    Help me get rid of this prob?!??!?

  4. #4
    Linux User Oxygen's Avatar
    Join Date
    Jul 2004
    Location
    Hartlepool, England
    Posts
    392
    Sorry, I think that's distro specific (Ubuntu).

    Try just:
    Code:
    mount /dev/cdrom0 /mnt/e
    Graham - You'd better Use Linux!

    I'm registerd Linux user #397030. What about you?

  5. #5
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    955
    Try using "-t iso9660" rather than "-t cd9660" as the type.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  6. #6
    Just Joined!
    Join Date
    Jan 2007
    Posts
    42

    Thanks all..

    distro i use is -FC6 ...But i am not still able to read files after loading a dvd... I tried both the commands and got the following results..By the by , how can i assure that my cdrom name using fdisk command..(how to make out whether its sda1 or sda5)? I have posted my fdisk output previously..


    [root@localhost ~]# mount -t iso9660 /dev/sda4 /mnt/e
    mount: wrong fs type, bad option, bad superblock on /dev/sda4,
    missing codepage or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so

    [root@localhost ~]# mount /dev/cdrom0 /mnt/e
    mount: special device /dev/cdrom0 does not exist
    [root@localhost ~]#

  7. #7
    Just Joined! tuxv's Avatar
    Join Date
    Jul 2006
    Location
    Colombo, Sri Lanka
    Posts
    92
    try this

    Code:
     sudo mount /dev/hdd /mnt/e
    It's usually hdd for the CD drive

  8. #8
    Just Joined!
    Join Date
    Jan 2007
    Posts
    42

    thanks a lot tux...

    It worked.. and the drive is mounted as read-only... Thanks a lot

  9. #9
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803
    FYI, using colors in your posts is not necessary. Your yellow post was unreadable on my lcd display!
    registered Linux user #388382

    Have you checked here first?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...