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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-18-2003, 11:08 PM   #1
huffboy
Member
 
Registered: Oct 2003
Location: Philippines
Distribution: mandrake 9.2, redhat 9, slackware
Posts: 44

Rep: Reputation: 15
Unhappy help mounting


can someone help me mount a cd writer and a external usb floppy drive?

i tried mounting the cd rom but

mount /dev/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems

?

thanks you
 
Old 10-18-2003, 11:22 PM   #2
craigdolson
Member
 
Registered: Sep 2003
Posts: 31

Rep: Reputation: 15
for the externam floppy, i am not %100 sure, but external drives may be set up as /dev/sda1 or /dev/sda2. I have an external (USB) flash card reader and when i installed slackware, it saw the device as /dev/sda1 instead of /dev/hdb1, because /dev/hda is for your hard drive. You may want to look into /dev/sda as the location of your external USB connected devices... What kind of CD burner do you have?


Last edited by craigdolson; 10-18-2003 at 11:23 PM.
 
Old 10-18-2003, 11:29 PM   #3
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
Post the contents of /etc/fstab. My cdrom entry looks like this:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0

If yours is the same, be sure you have a directory called /mnt/cdrom
Then use $ mount /mnt/cdrom or $ mount /dev/cdrom

Also, I need to be root to mount my drive. $ su, $ password, $ mount /dev/cdrom.

Last edited by Scruff; 10-18-2003 at 11:30 PM.
 
Old 10-18-2003, 11:43 PM   #4
huffboy
Member
 
Registered: Oct 2003
Location: Philippines
Distribution: mandrake 9.2, redhat 9, slackware
Posts: 44

Original Poster
Rep: Reputation: 15
Unhappy

/dev/hda4 swap swap defaults 0 0
/dev/hda6 / ext2 defaults 1 1
/dev/hda1 /win1 vfat defaults 1 0
/dev/hda5 /win2 vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/cdrom /cdrom iso9660 noauto,user,ro 0 0
 
Old 10-18-2003, 11:46 PM   #5
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
Looks ok. Did you try as root? You also need to have a cd in the drive to mount it, and 'umount' to remove the cd. If the cd is corrupt you may get errors as well.
 
Old 10-18-2003, 11:57 PM   #6
huffboy
Member
 
Registered: Oct 2003
Location: Philippines
Distribution: mandrake 9.2, redhat 9, slackware
Posts: 44

Original Poster
Rep: Reputation: 15
uhmm..

root@192:/home/marc# mount /dev/cdrom
mount: /dev/cdrom is not a valid block device
root@192:/home/marc# /mnt/cdrom
bash: /mnt/cdrom: is a directory
 
Old 10-18-2003, 11:57 PM   #7
huffboy
Member
 
Registered: Oct 2003
Location: Philippines
Distribution: mandrake 9.2, redhat 9, slackware
Posts: 44

Original Poster
Rep: Reputation: 15
pls try to elaborate on things more.. im kinda new to all these
 
Old 10-19-2003, 12:09 AM   #8
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
you must have a CD in the drive before you can mount it. Also, an audio CD (like an ordinary music CD) won't do either. You need a data CD to be able to mount it.

It might help if you change the entry in fstab from
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
to
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
 
Old 10-19-2003, 12:31 AM   #9
huffboy
Member
 
Registered: Oct 2003
Location: Philippines
Distribution: mandrake 9.2, redhat 9, slackware
Posts: 44

Original Poster
Rep: Reputation: 15
oh.. i tried changing the lines and the cd...

my fstab now looks like
/dev/hda4 swap swap defaults 0 0
/dev/hda6 / ext2 defaults 1 1
/dev/hda1 /win1 vfat defaults 1 0
/dev/hda5 /win2 vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0

but mount /dev/cdrom,,, gives me

[mntent]: warning: no final newline at the end of /etc/fstab
mount: /dev/cdrom is not a valid block device

and can you explain what fstab is for?
 
Old 10-19-2003, 12:36 AM   #10
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
You have two lines with /dev/cdrom. Get rid of the first one or place a # in front of it (this way it turns into a comment and won't have any effect). Press Enter afte rthe last line of fstab to get rid of that error message about no final line blah.

fstab stands for File System Table. It specifies what partition is to be mounted where and how and also where and how cdroms and floppies and other such devices are to be mounted.
 
Old 10-19-2003, 12:39 AM   #11
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
what is your distribution, actually? And what kind of CD-drive is it? Also external?
 
Old 10-19-2003, 12:54 AM   #12
huffboy
Member
 
Registered: Oct 2003
Location: Philippines
Distribution: mandrake 9.2, redhat 9, slackware
Posts: 44

Original Poster
Rep: Reputation: 15
its a lite on cd rw... its internal..
im running slackware 9.1 ={

my fstab now looks like

/dev/hda4 swap swap defaults 0 0
/dev/hda6 / ext2 defaults 1 1
/dev/hda1 /win1 vfat defaults 1 0
/dev/hda5 /win2 vfat defaults 1 0
#/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0

mount /dev/cdrom now gives me
mount: /dev/cdrom is not a valid block device
 
Old 10-19-2003, 01:00 AM   #13
huffboy
Member
 
Registered: Oct 2003
Location: Philippines
Distribution: mandrake 9.2, redhat 9, slackware
Posts: 44

Original Poster
Rep: Reputation: 15
sori if this already seems stupid dont really know much,,
 
Old 10-19-2003, 09:00 AM   #14
At0mic_PC
Member
 
Registered: Jul 2003
Location: Mississippi
Distribution: Slack9.1
Posts: 159

Rep: Reputation: 30
# mkdir /mnt/cdrw

# mount /dev/sr0 /mount/cdrw

mount: block device /dev/sr0 is write-protected, mounting read-only

# cdrecord --scanbus

Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'ASUS ' 'CRW-5224A ' '1.20' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
 
  


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
Mounting an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 04:40 PM
Gnome 2.6 Right click mounting and the mounting system Acetylcholine Linux - Hardware 0 07-25-2004 07:34 AM
Mounting HDD vs. Mounting Filesystem snailophone Linux - Hardware 4 08-12-2003 11:00 AM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM
mounting Cybergod1983 Linux - General 1 10-08-2001 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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