LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-14-2005, 01:34 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Help Me Mount a Drive


I have never been able to understand how to insert a CD in my one and only IDE CDROM drive and be able to browse to the files on Linux. I have asked this before and get like 20 different suggestions which end up getting to frustrating.

I am using Debian with NO GUI installed so everything is CLI only. I just put the disk in my CDROM drive and closed the drive. Now I am in CLI mode and would love for someone to tell me what is the correct way I would go about mounting this drive and getting the info I need from it.

Below you will find a copy of my FSTAB file from /etc

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext3 defaults,errors=remount-ro 0 1
/dev/sda5 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0


Here is what I tried and as you can see I am a regular user and have no luck.

Code:
carlos@stricom:/$ ls
bin   cdrom  etc   initrd      lib         media  opt   root  srv  tmp  var
boot  dev    home  initrd.img  lost+found  mnt    proc  sbin  sys  usr  vmlinuz
carlos@stricom:/$ mount -t /cdrom
carlos@stricom:/$ cd /cdrom
carlos@stricom:/cdrom$ ls
carlos@stricom:/cdrom$ cd ..
carlos@stricom:/$ ls
bin   cdrom  etc   initrd      lib         media  opt   root  srv  tmp  var
boot  dev    home  initrd.img  lost+found  mnt    proc  sbin  sys  usr  vmlinuz
carlos@stricom:/$ cd media/
carlos@stricom:/media$ ls
cdrom  cdrom0
carlos@stricom:/media$ mount -t /media/cdrom
carlos@stricom:/media$ cd cdrom
carlos@stricom:/media/cdrom$ ls
carlos@stricom:/media/cdrom$ cd ..
carlos@stricom:/media$ mount -t cdrom0/
carlos@stricom:/media$ cd cdrom0/
carlos@stricom:/media/cdrom0$ ls
carlos@stricom:/media/cdrom0$
 
Old 11-14-2005, 01:43 PM   #2
Mad Scientist
Member
 
Registered: May 2003
Posts: 167

Rep: Reputation: 30
What is on the CDROM (if it's audio, it won't mount)? Why are you using the "-t" flag with mount without specifying a file system type? Does

Code:
mount /media/cdrom0
really not work? What information is being spit out to your logs?
 
Old 11-14-2005, 01:48 PM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
It's a new audio CD I purchased from Best Buy that I wanted to add to my music library "/home/carlos/music" and this is the error I receive. I also don't know what you mean by "logs"... what logs are you speaking of and where should I look?

Code:
carlos@stricom:/$ mount /media/cdrom0
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
 
Old 11-14-2005, 01:50 PM   #4
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
How about
Code:
mount /dev/hdc
and then look under /media/cdrom0...
[edit]scratch that, just read your new post about it being an audio cd. you'll need somethin like paranoia to simply rip the audio tracks to hard drive rather than mounting and copying the raw audio files across[/edit]

Last edited by fouldsy; 11-14-2005 at 01:52 PM.
 
Old 11-14-2005, 01:56 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
So if this was a data file disk, what would the command by as a regular user from the / directory?
 
Old 11-15-2005, 12:52 PM   #6
Mad Scientist
Member
 
Registered: May 2003
Posts: 167

Rep: Reputation: 30
If it was a data disk, I would think

Code:
mount /media/cdrom0
would work just fine. But since it's audio, you don't need to worry about mounting it (and in fact, you can't mount it).
 
  


Reply



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
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
Mount usb drive, umount and mount another drive arubin Linux - Hardware 9 01-17-2007 03:46 AM
USB drive mount double mount issue pazzport Ubuntu 3 10-10-2005 08:28 PM
DVD Drive and CDRW Drive Will not mount on Slackware 10.1 Kernel 2.6.1 necrozen Linux - Hardware 1 09-13-2005 08:21 PM
HELP! Error from mount: drive is write-protected... won't mount writeable. system Linux - General 2 12-27-2001 09:08 PM

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

All times are GMT -5. The time now is 10:11 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