LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2005, 10:58 PM   #1
lostdata
Member
 
Registered: Aug 2005
Location: us
Posts: 37

Rep: Reputation: 15
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...
 
Old 08-08-2005, 11:02 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
What is in /etc/fstab? Do you have a line for your cdrom in there?
 
Old 08-08-2005, 11:14 PM   #3
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
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
 
Old 08-08-2005, 11:35 PM   #4
lostdata
Member
 
Registered: Aug 2005
Location: us
Posts: 37

Original Poster
Rep: Reputation: 15
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)
 
Old 08-08-2005, 11:42 PM   #5
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Quote:
Originally posted by lostdata
k... fstab

[root@UPE/dev]# Filesystem 1K-blocks Used Available Use% Mounted # /etc/fstab: static file system information.

# 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)
Well, mount shows that your CD is not mounted, however, that is not your fstab... Post the output of:

cat /etc/fstab

KC
 
Old 08-08-2005, 11:45 PM   #6
lostdata
Member
 
Registered: Aug 2005
Location: us
Posts: 37

Original Poster
Rep: Reputation: 15
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
 
Old 08-08-2005, 11:55 PM   #7
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
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.
 
Old 08-08-2005, 11:59 PM   #8
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
# 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
 
Old 08-09-2005, 12:16 AM   #9
lostdata
Member
 
Registered: Aug 2005
Location: us
Posts: 37

Original Poster
Rep: Reputation: 15
[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... :?
 
Old 08-09-2005, 12:02 PM   #10
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
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'.
 
Old 08-09-2005, 12:29 PM   #11
lostdata
Member
 
Registered: Aug 2005
Location: us
Posts: 37

Original Poster
Rep: Reputation: 15
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
 
Old 08-09-2005, 05:27 PM   #12
lostdata
Member
 
Registered: Aug 2005
Location: us
Posts: 37

Original Poster
Rep: Reputation: 15
Any ideas on this? I was going to load a new distro but kinda hard when i can't se my cd writer
 
Old 08-09-2005, 05:41 PM   #13
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
BTW, you can turn off scsi emulation.

Anyway, try "mount /dev/hdc /mnt/cdrom".
 
Old 08-09-2005, 10:30 PM   #14
lostdata
Member
 
Registered: Aug 2005
Location: us
Posts: 37

Original Poster
Rep: Reputation: 15
hmm....


[root@UPE~]# mount /dev/hdc /mnt/cdrom
mount: special device /dev/hdc does not exist


any ideas?
 
Old 08-09-2005, 10:55 PM   #15
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
*sigh* Looks like it was detected as hdc. Check out sr0. (mount /dev/sr0 /mnt/cdrom)
 
  


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
Laptop DVD drive has died, will linux boot from an external drive? Stevetgn Linux - Newbie 2 05-14-2005 05:18 PM
Installing SuSE on an external FireWire drive: YaST can't edit partitions on drive kivimaki Linux - Distributions 2 09-13-2004 08:52 PM
boot from floppy drive then insall linux redhat9 from HARD DRIVE Shiraz Ahmed Linux - Software 0 08-23-2004 05:11 AM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 06:23 PM
Cannot Copy Files From Network FAT32/NTFS Drive to My Local Linux Drive michaelh Linux - Networking 3 10-29-2002 10:27 AM


All times are GMT -5. The time now is 08:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration