Results 1 to 5 of 5

Thread: drive mounting

  1. #1
    Junior Member registered user
    Join Date
    Jan 2005
    Posts
    13

    drive mounting

    I'm new to Knoppix 3.6 and my DVDRW drive doesnt work or show up like it should. This is a problem, as its my only drive. how do i fix this?

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Note that this is for both cdrom and dvd drive, you only need to worry about cdrom, hdc, scd0 and sr0.

    First check which kernel you're running:
    markus@fujibox:~$ uname -r
    2.6.9-301004

    ##### For 2.6.x kernels:

    Check the append line for the kernel in /etc/lilo.conf:
    image=/boot/vmlinuz-2.6.9-301004
    label="Linux-2.6.9"
    append="ramdisk_size=100000 lang=us hda=scsi hdb=scsi nomce "
    read-only

    If you use 2.6.x kernel you should delete hdc=scsi and hdd=scsi if they're there.
    If you change lilo.conf you need to run "lilo -v" to update it.

    Then check dmesg to see where the drives are attached to:
    markus@fujibox:~$ dmesg |grep CD
    hdc: TDK CDRW241040B, ATAPI CD/DVD-ROM drive
    hdd: LG DVD-ROM DRD-8160B, ATAPI CD/DVD-ROM drive
    hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
    Uniform CD-ROM driver Revision: 3.20

    They're attached to hdc and hdd.
    markus@fujibox:~$ ll /dev/hd[cd]
    brw-rw---- 1 root cdrom 22, 0 Nov 14 2003 /dev/hdc
    brw-rw---- 1 root cdrom 22, 64 Nov 14 2003 /dev/hdd

    If needed do:
    root@fujibox:/# chmod 660 /dev/hd[cd]
    root@fujibox:/# chgrp cdrom /dev/hd[cd]

    Now you need make /dev/cdrom and /dev/dvd point to hdc and hdd:
    root@fujibox:/# rm -rf /dev/cdrom /dev/dvd
    root@fujibox:/# ln -s /dev/hdc /dev/cdrom
    root@fujibox:/# ln -s /dev/hdd /dev/dvd
    root@fujibox:/# chgrp cdrom /dev/cdrom /dev/dvd
    markus@fujibox:~$ ll /dev/cdrom /dev/dvd
    lrwxrwxrwx 1 root cdrom 8 Sep 21 23:06 /dev/cdrom -> /dev/hdc
    lrwxrwxrwx 1 root cdrom 8 Sep 21 23:07 /dev/dvd -> /dev/hdd


    ##### For 2.4.x kernels:

    Check the append line for the kernel in /etc/lilo.conf:
    image=/boot/vmlinuz-2.4.26
    label="Linux-2.4.26"
    append="ramdisk_size=100000 lang=us hda=scsi hdb=scsi hdc=scsi hdd=scsi nomce "
    read-only
    The append line in /etc/lilo.conf should include hdc=scsi and hdd=scsi.
    If you change lilo.conf you need to run "lilo -v" to update it.

    Then check dmesg to see where the drives are attached to:
    markus@fujibox:~$ dmesg|grep CD
    hdc: TDK CDRW241040B, ATAPI CD/DVD-ROM drive
    hdd: LG DVD-ROM DRD-8160B, ATAPI CD/DVD-ROM drive
    Vendor: TDK Model: CDRW241040B Rev: 57S2
    Type: CD-ROM ANSI SCSI revision: 02
    Type: CD-ROM ANSI SCSI revision: 02
    Uniform CD-ROM driver Revision: 3.20
    Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
    Attached scsi CD-ROM sr1 at scsi1, channel 0, id 0, lun 0

    They're attached to sr0 and sr1 which point to scd0 and scd1:
    markus@fujibox:~$ ll /dev/sr[01]
    lrwxrwxrwx 1 root cdrom 4 Apr 28 19:32 /dev/sr0 -> scd0
    lrwxrwxrwx 1 root cdrom 4 Apr 28 19:32 /dev/sr1 -> scd1

    markus@fujibox:/$ ll /dev/scd[01]
    brw-rw-rw- 1 root cdrom 11, 0 Nov 14 2003 /dev/scd0
    brw-rw-rw- 1 root cdrom 11, 1 Nov 14 2003 /dev/scd1
    If needed do:
    root@fujibox:/# chgrp cdrom /dev/scd[01]

    You can make /dev/cdrom and /dev/dvd point to scd0 and scd1:
    rm -rf /dev/cdrom /dev/dvd
    ln -s /dev/scd0 /dev/cdrom
    ln -s /dev/scd1 /dev/dvd
    chgrp cdrom /dev/cdrom /dev/dvd
    markus@fujibox:/$ ll /dev/cdrom /dev/dvd
    lrwxrwxrwx 1 root cdrom 9 Apr 28 19:58 /dev/cdrom -> /dev/scd0
    lrwxrwxrwx 1 root cdrom 9 Aug 10 13:39 /dev/dvd -> /dev/scd1


    ##### For both kernels:

    You should have lines like these in /etc/fstab, edit if needed:
    /dev/cdrom /cdrom iso9660 defaults,ro,users,noexec,noauto 0 0
    /dev/dvd /dvd iso9660 defaults,ro,users,noexec,noauto 0 0

    Then check your mountpoints:
    markus@fujibox:~$ ll -d /cdrom /dvd
    drwxrwx--- 2 root cdrom 4096 Sep 5 14:35 /cdrom
    drwxrwx--- 2 root cdrom 4096 Aug 10 13:23 /dvd
    If needed do
    root@fujibox:/# mkdir /cdrom /dvd
    root@fujibox:/# chgrp cdrom /cdrom /dvd
    root@fujibox:/# chmod 770 /cdrom /dvd

    And check that your user is in the group cdrom:
    markus@fujibox:/$ groups
    markus dialout fax voice cdrom floppy audio dip src video games users usb scanner
    If needed do:
    root@fujibox:/# adduser your_username cdrom

    If the desktop icons aren't working you can delete them and create new ones or do:
    - right-click the icon
    - Properties
    - Device
    - choose /dev/cdrom or /dev/dvd
    - click OK

  3. #3
    Junior Member
    Join Date
    Sep 2004
    Posts
    8
    Hi, I think my problem is diferent. I'm on hd install.

    Simply the error displayed to me is that doesn 't exists. I've tried comands I've read in others posts but don't works:

    This is what i get when I use dmesg:
    hdc: TOSHIBA DVD-ROM SD-M1712, ATAPI CD/DVD-ROM drive
    hdd: SONY CD-RW CRX225E, ATAPI CD/DVD-ROM drive

    hdc: attached ide-scsi driver.
    hdd: attached ide-scsi driver.
    scsi0 : SCSI host adapter emulation for IDE ATAPI devices
    Vendor: TOSHIBA Model: DVD-ROM SD-M1712 Rev: 1004
    Type: CD-ROM ANSI SCSI revision: 02
    Vendor: SONY Model: CD-RW CRX225E Rev: QYB2
    Type: CD-ROM ANSI SCSI revision: 02
    Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
    Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
    sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
    Uniform CD-ROM driver Revision: 3.12
    sr1: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray

    Type:
    sudo mount /dev/sr1 /cdrom
    /dev/sr1: Error de entrada/salida
    mount: dispositivo de bloques /dev/sr1 está protegido contra escritura; se monta como sólo lectura
    /dev/sr1: Error de entrada/salida


    sudo mount /dev/hdd /cdrom1
    /dev/hdd: Error de entrada/salida
    mount: debe especificar el tipo de sistema de ficheros

    I've tried to change /etc/fstab but the error message is the same


    I don't know which can be the problem cos I can burn cds with hdd dispositive and k3b (k3b recognise the cdrom but i cannot acces it)

    Thanks

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    What do these look like for you:

    markus@fujibox:~$ ll /dev/sr[01]
    lrwxrwxrwx 1 root cdrom 4 Apr 28 2004 /dev/sr0 -> scd0
    lrwxrwxrwx 1 root cdrom 4 Apr 28 2004 /dev/sr1 -> scd1

    markus@fujibox:~$ ll /dev/scd[01]
    brw-rw---- 1 root cdrom 11, 0 Nov 14 2003 /dev/scd0
    brw-rw---- 1 root cdrom 11, 1 Nov 14 2003 /dev/scd1

    markus@fujibox:~$ ll /dev/cdrom /dev/cdrom1
    lrwxrwxrwx 1 root cdrom 8 Sep 21 23:06 /dev/cdrom -> /dev/hdc
    lrwxrwxrwx 1 root cdrom 8 Nov 14 13:55 /dev/cdrom1 -> /dev/hdd
    (you should probably have cdrom and cdrom1 pointing to scd0 and scd1)

  5. #5
    Junior Member
    Join Date
    Sep 2004
    Posts
    8
    Quote Originally Posted by Markus
    (you should probably have cdrom and cdrom1 pointing to scd0 and scd1)
    Not exactly but that WAS the problem.

    Thanks

Similar Threads

  1. Mounting DVR as a firewire drive
    By MaldiGola in forum General Support
    Replies: 0
    Last Post: 03-22-2006, 09:34 PM
  2. k3b not mounting CD-RW drive
    By NeilBlanchard in forum Hardware & Booting
    Replies: 5
    Last Post: 01-25-2006, 02:28 PM
  3. mounting hard drive
    By coffee_monster in forum Hardware & Booting
    Replies: 2
    Last Post: 07-18-2005, 01:58 PM
  4. mounting cdrom drive, HELP!!!
    By mickfilipe in forum General Support
    Replies: 1
    Last Post: 02-25-2005, 07:47 PM
  5. automatic drive mounting??
    By VeeDubb in forum General Support
    Replies: 6
    Last Post: 03-19-2003, 07:27 AM

Posting Permissions

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


DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45

$394.00



Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$256.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45

$247.00



Dell PowerEdge T430 Server w/ Intel Xeon E5-2650 V4 & 1100W PSU (2X) - NO RAM picture

Dell PowerEdge T430 Server w/ Intel Xeon E5-2650 V4 & 1100W PSU (2X) - NO RAM

$314.99



Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture

Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config

$454.99



Dell PowerEdge R420 2 2.5 6C,16GB,8TB,RAID5,IDRAC7 ENT,2PSU picture

Dell PowerEdge R420 2 2.5 6C,16GB,8TB,RAID5,IDRAC7 ENT,2PSU

$150.00



Dell Poweredge R730xd 2x E5-2660 v3 2.6ghz  / 64gb / H730 / 24x Trays / 2x 750w picture

Dell Poweredge R730xd 2x E5-2660 v3 2.6ghz / 64gb / H730 / 24x Trays / 2x 750w

$344.99



Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Cores / 128gb / H330 / 2x 1TB picture

Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Cores / 128gb / H330 / 2x 1TB

$334.99



DELL PowerEdge R730 16SFF Server 2x E5-2680v4 2.4GHz =28 Cores 64GB H730 4xRJ45 picture

DELL PowerEdge R730 16SFF Server 2x E5-2680v4 2.4GHz =28 Cores 64GB H730 4xRJ45

$317.00