can't see cd drive
Hey I'm running vectorlinux 5.1 std, (slackware) I'm having problems seeing my cd rom drive, I ran a df and saw this
Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda2 58862108 1344728 54527284 3% / none 257556 0 257556 0% /dev/shm think the 2nd one listed there is my swap partition, anyway i can't see my cdrom which is a pioneer dvd burn if that matters i used this drive to install it so not quit sure why i can't see it.. any help would be greatly appreciated.. Thanks... |
What is in /etc/fstab? Do you have a line for your cdrom in there?
|
I would say from a terminal type:
mount <enter> this should query mtab and find the mount point for your CD if it is there... KC |
k... fstab
[root@UPE/dev]# Filesystem 1K-blocks Used Available Use% Mounted # /etc/fstab: static file system information. # # The following is an example. Please see fstab(5) for further details. # Please refer to mount(1) for a complete description of mount options. # # Format: # <file system> <mount point> <type> <options> <dump> <pass> # # dump(8) uses the <dump> field to determine which file systems need # to be dumped. fsck(8) uses the <pass> column to determine which file # systems need to be checked--the root file system should have a 1 in # this field, other file systems a 2, and any file systems that should # not be checked (such as MS-initrd/mnt or NFS file systems) a 0. # This is a root linux partition: /dev/hda2 / ext3 defaults 0 1 # This is a linux ext2 partition: #/dev/hda2 /mnt/linux ext2 defaults 0 2 # For dos partition use type 'msdos'. # For win95/98 fat16 or FAT32 partition use type 'vfat'. Read /etc/fstab, 63 lines, 2221 chars 1,1 Command mount: [root@UPE/dev]# mount /dev/hda2 on / type ext3 (rw) none on /dev/pts type devpts (rw,gid=5,mode=666) none on /dev/shm type tmpfs (rw) usbfs on /proc/bus/usb type usbfs (rw) |
Quote:
cat /etc/fstab KC |
sorry man...
# /etc/fstab: static file system information. # # The following is an example. Please see fstab(5) for further details. # Please refer to mount(1) for a complete description of mount options. # # Format: # <file system> <mount point> <type> <options> <dump> <pass> # # dump(8) uses the <dump> field to determine which file systems need # to be dumped. fsck(8) uses the <pass> column to determine which file # systems need to be checked--the root file system should have a 1 in # this field, other file systems a 2, and any file systems that should # not be checked (such as MS-initrd/mnt or NFS file systems) a 0. # This is a root linux partition: /dev/hda2 / ext3 defaults 0 1 # This is a linux ext2 partition: #/dev/hda2 /mnt/linux ext2 defaults 0 2 # For dos partition use type 'msdos'. # For win95/98 fat16 or FAT32 partition use type 'vfat'. #/dev/hda1 /mnt/win vfat umask=0,quiet,shortname=mixed 0 0 # Floppy disks # The 'noauto' option indicates that the file system should not be mounted # with 'mount -a' 'user' indicates that normal users are allowed to mount # the file system. /dev/fd0 /mnt/floppy auto defaults,noauto,user 0 0 #/dev/fd1 /mnt/floppy auto defaults,noauto,user 0 0 # If you have a ls-120 floppy drive, it could be on /dev/hda b c d etc. #/dev/hdd /mnt/ls120 auto defaults,noauto,user 0 0 # CDROM, CDWRITER, DVD /dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0 /dev/cdwriter /mnt/cdwriter iso9669 noauto,user,rw 0 0 /dev/dvd /mnt/dvd iso9660 noauto,user,ro 0 0 # NFS file systems: #linux01.gwdg.de:/suse/6.3/i386.de /mnt/nfs nfs defaults 0 0 # proc file system: proc /proc proc defaults 0 0 # sys file system ##sysfs /sys sysfs defaults 0 0 # Unix98 devpts filesystem: none /dev/pts devpts gid=5,mode=666 0 0 # Shared memory filesystem: none /dev/shm tmpfs defaults 0 0 # Basic USB filesystem usbfs /proc/bus/usb usbfs defaults,noauto 0 0 # this is for USB pendrive, but you may need to adjust the device #/dev/sda1 /mnt/pendrive vfat umask=0,noauto,user,quiet,shortname=mixed 0 0 # The 'sw' option indicates that the swap partition is to be activated # with 'swapon -a'. /dev/hda1 none swap sw 0 0 |
So you should be able to just do 'mount /mnt/cdrom' and then the cdrom files will be accessible in (of all places) /mnt/cdrom.
|
# CDROM, CDWRITER, DVD
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0 /dev/cdwriter /mnt/cdwriter iso9669 noauto,user,rw 0 0 /dev/dvd /mnt/dvd iso9660 noauto,user,ro 0 0 Try from a root terminal: # mount /dev/cdrom /mnt/cdrom ls /mnt/cdrom you get the idea... KC |
[root@UPE~]# # mount /dev/cdrom /mnt/cdrom
[root@UPE~]# ls /mnt/cdrom [root@UPE~]# # mount /dev/cdwriter /mnt/cdwriter [root@UPE~]# ls /mnt/cdwriter [root@UPE~]# # mount /dev/dvd /mnt/dvd [root@UPE~]# ls /mnt/dvd [root@UPE~]# [root@UPE~]# mount /dev/cdrom /mnt/cdrom mount: special device /dev/cdrom does not exist [root@UPE~]# mount /dev/cdwriter /mnt/cdwriter mount: special device /dev/cdwriter does not exist [root@UPE~]# mount /dev/dvd /mnt/dvd mount: special device /dev/dvd does not exist if it matters i'm using trying to read the dvd that i used to install vectorlinux and a backup dvd, i also did the command to enable scsi emulation if that matters too... :? |
Ok, the first time you put # (pound signs) in front of the lines, making them comments. Secondly, how is your cdrom detected? Try running 'dmesg | grep -i cd'.
|
wow sorry i have no idea what i'm doing,
hdc: PIONEER DVD-RW DVR-104, ATAPI CD/DVD-ROM drive ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device Type: CD-ROM ANSI SCSI revision: 02 sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.20 Attached scsi CD-ROM sr0 at scsi2, channel 0, id 0, lun 0 ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) ohci_hcd 0000:00:02.0: ALi Corporation USB 1.1 Controller ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1 ohci_hcd 0000:00:02.0: irq 9, io mem 0xe9800000 ohci_hcd 0000:00:06.0: ALi Corporation USB 1.1 Controller (#2) ohci_hcd 0000:00:06.0: new USB bus registered, assigned bus number 2 ohci_hcd 0000:00:06.0: irq 5, io mem 0xe8800000 sr0: Hmm, seems the drive doesn't support multisession CD's |
Any ideas on this? I was going to load a new distro but kinda hard when i can't se my cd writer
|
BTW, you can turn off scsi emulation. :)
Anyway, try "mount /dev/hdc /mnt/cdrom". |
hmm....
[root@UPE~]# mount /dev/hdc /mnt/cdrom mount: special device /dev/hdc does not exist any ideas? |
*sigh* Looks like it was detected as hdc. Check out sr0. (mount /dev/sr0 /mnt/cdrom)
|
All times are GMT -5. The time now is 04:14 PM. |