LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-21-2004, 10:36 AM   #1
jhecht
Member
 
Registered: May 2004
Location: NYC
Distribution: Puppy Linux - it's dog-gone great!
Posts: 99

Rep: Reputation: 16
Must mount CD manually - syntax, please?


I've got this goofy problem that I have to mount both floppies and CD's with a terminal
window command - even though I've got a working X Windows setup. A user here helped me
figure out a working command to mount the floppy - it's:
mount -o rw /dev/fd0 /mnt/floppy/ -t vfat

This works every time - but no one can figure out why I have to invoke it. Never mind.

Now I need to find a similar command to mount my CD drive. I tried the following:
mount /dev/cdrom /mnt/cdrom

This worked only on a data CD. When I try and mount a music CD, I get the prompt that I must 'specify a filesystem'. I tried:
mount /dev/cdrom /mnt/cdrom /iso9660 - didn't work

The relevant fstab lines are:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0

And a $#@! CASE of beer to anyone who can figure out why this doesn't work 'out of the box'!
I'm running stock Slackware 9.1 (full install) and use the KDE and Gnome desktops.
 
Old 07-21-2004, 10:41 AM   #2
scribble
LQ Newbie
 
Registered: Jul 2004
Location: Perth, W.A
Distribution: Slackware Current
Posts: 17

Rep: Reputation: 0
Try this command

mount -t iso9660 /dev/cdrom /mnt/cdrom
 
Old 07-21-2004, 10:49 AM   #3
jhecht
Member
 
Registered: May 2004
Location: NYC
Distribution: Puppy Linux - it's dog-gone great!
Posts: 99

Original Poster
Rep: Reputation: 16
Sounded good - tried it - got:
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems

And yes, it's a good CD - I was just playing it on my Window$ computer (sigh).
 
Old 07-21-2004, 12:59 PM   #4
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
try it with -t udf
 
Old 07-21-2004, 01:28 PM   #5
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
You have to mount it manually if you haven't got those lines in your fstab.
A cdrom not mounting could also mean kernel trouble, if you compiled your own, I would start there......
 
Old 07-21-2004, 01:35 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You cannot mount an audio CD although you can play it. This is because auido CD's don't have a real filesystem.
 
Old 07-21-2004, 01:47 PM   #7
jhecht
Member
 
Registered: May 2004
Location: NYC
Distribution: Puppy Linux - it's dog-gone great!
Posts: 99

Original Poster
Rep: Reputation: 16
Tried the alternate command - gives:
root@Labrat:~# mount -t udf /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems

P>You have to mount it manually if you haven't got those lines in your fstab.

As I put in the top of this thread:
JH>The relevant fstab lines (CD & floppy - where my probs exist) are:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0

P>A cdrom not mounting could also mean kernel trouble, if you compiled your own, I would start there......

As mentioned earlier:
JH>I'm running stock Slackware 9.1 (full install) and use the KDE and Gnome desktops. Stock - like no compiles, no mods of any sort. If I knew enough to do compiles, I don't think I'd be having this problem (grin).
 
Old 07-21-2004, 01:59 PM   #8
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
Reddazz is dead-on there is no directly mountable fs on CDDA.

For the automounts; is autofs running?
Is there a reference in /etc/auto.master?
 
Old 07-21-2004, 04:25 PM   #9
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
Actiomally, cdrom is automounted without using /etc/auto.master, so scratch that.
 
Old 07-22-2004, 10:13 AM   #10
jhecht
Member
 
Registered: May 2004
Location: NYC
Distribution: Puppy Linux - it's dog-gone great!
Posts: 99

Original Poster
Rep: Reputation: 16
Thanks for your help guys!

You are correct, I can play an audio CD without mounting it. Why there is no sound coming out of a (previously) working sound card is another problem...

I'm about to wipe out the Slackware install on this box, and put in Debian. Why? 'Cause no one can solve my floppy problems, and support from www.slackware.com is non-existant.

I've sent them multiple emails, called, emailed again - all very politely, and gotten no response for two weeks. Now the entire company is going on vacation for a week! This is not the way to support an OS...

They promise install support, if you buy the official CD's. I did, along with a book that turns out to be four years out of date, and somewhat poorly written. I've gotten WAY more support from the folks here...

It's too bad - Slackware is VERY fast, I like it a lot. But an OS that you have to issue a commandline to mount a floppy in, is not mature...
 
Old 07-22-2004, 11:29 AM   #11
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Quote:
Originally posted by jhecht
It's too bad - Slackware is VERY fast, I like it a lot. But an OS that you have to issue a commandline to mount a floppy in, is not mature...
Perhaps your hardware is not informing the OS that a CD has been inserted. See that following link regarding the same issue on Solaris:
http://www.science.uva.nl/pub/solari...ris2.html#q3.5
 
Old 07-22-2004, 12:49 PM   #12
jhecht
Member
 
Registered: May 2004
Location: NYC
Distribution: Puppy Linux - it's dog-gone great!
Posts: 99

Original Poster
Rep: Reputation: 16
No, it's not my CD that's the main issue. It's the fact that my floppy drive mounts in read-only mode when in any Desktop/GUI.

The only way to avoid this is to open a terminal, and type:
mount -o rw /dev/fd0 /mnt/floppy/ -t vfat

Rather a longwinded way to make your floppy drive work, right?

When I do that, it works perfectly! And no one can tell me why, or how to fix it. I've been through my fstab and other files quite exhaustively - see my other posts, so I don't repeat myself. Especially the long one about write probs in Gnome.
 
  


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 floppy manually trackrat SUSE / openSUSE 8 09-06-2005 07:31 PM
mount vfat partition manually during RH 6.0 install linuxify Red Hat 2 07-28-2005 05:04 PM
mount vfat partition manually during RH 6.0 install linuxify Linux - Laptop and Netbook 0 07-28-2005 03:11 PM
mount USB devices, sda, manually/statically assign sda? Oxyacetylene Debian 3 12-20-2004 02:45 PM
C++ syntax error before :: token HELP, i cant find the syntax error :( qwijibow Programming 2 12-14-2004 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:32 AM.

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