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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-23-2004, 11:25 PM
|
#1
|
|
Member
Registered: Jun 2004
Location: london
Distribution: gentoo
Posts: 114
Rep:
|
mount: input/output error?
hi there:
i have been trying to mount my cdrom but for somereason i could not get it to work. in my /etc/fstab, i have
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
and when i try
mount /dev/cdroms/cdrom0
i got
/dev/cdroms/cdrom0: Input/output error
can anyone help?
many thanks
CHUN
ps, i have got the feeling that the cd drive driver might not have been installed configured properly. is there any command to see if its on the system?
|
|
|
|
12-23-2004, 11:51 PM
|
#2
|
|
Member
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364
Rep:
|
Are you sure that /dev/cdroms/cdrom0 is the proper device?
(Also, Fedora usually configures the CDRom properly in fstab)
As far as mounting is concerned, try "mount -a" Or try this:
"mount -t iso9660 /dev/cdroms/cdrom0 /mnt/cdrom"
|
|
|
|
12-24-2004, 01:31 AM
|
#3
|
|
Member
Registered: Jun 2004
Location: london
Distribution: gentoo
Posts: 114
Original Poster
Rep:
|
thanks for your reply!
oops, forgot to say that i am trying out Gentoo, so this is for Gentoo.
i set up my fstab according to this:
http://www.gentoo.org/doc/en/handboo...?part=1&chap=8
and
mount -t iso9660 /dev/cdroms/cdrom0 /mnt/cdrom
i got
mount: block device /dev/cdroms/cdrom0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdroms/cdrom0, or too many mounted file systems
mount -a
does not give me anything.....
cheers
CHUN
|
|
|
|
12-24-2004, 03:37 AM
|
#4
|
|
Member
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364
Rep:
|
Quote:
mount: block device /dev/cdroms/cdrom0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdroms/cdrom0, or too many mounted file systems
|
I thought of testing out the command that I gave you. So I put in a blank CD in my drive and I got the same error that you got!!
Then I put in a proper CD and mounted, and it worked
So you aren't using a blank CD to test this out, right? Also, I'll explain what this command does:
Code:
mount -t iso9660 /dev/cdroms/cdrom0 /mnt/cdrom
Here, the "-t" specifies the filesystem type. It can be anything from vfat to ext3 to iso9660. CDs use iso9660 mostly. Instead you can also specify "auto" So the command will be
Code:
mount -t auto /dev/cdroms/cdrom0 /mnt/cdrom
The error you got: "wrong fs type" was concerning the filesystem. Try using "auto". And don't use a blank CD, since it has no filesystem created on it. Also, if you post your /etc/fstab here, it will help.
|
|
|
|
12-24-2004, 06:37 AM
|
#5
|
|
Member
Registered: Jun 2004
Location: london
Distribution: gentoo
Posts: 114
Original Poster
Rep:
|
thanks for you reply!
i have also tried
Code:
mount -t auto /dev/cdroms/cdrom0 /mnt/cdrom
and i got
Code:
mount: you must specify the filesystem type
and its not blank cd, i use a audio cd to test.
my fstab looks like this
/dev/hda1 /boot ext2 defaults,noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / ext3 noatime 0 1
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
cheers
CHUN
|
|
|
|
12-26-2004, 11:47 PM
|
#6
|
|
Member
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364
Rep:
|
This is the line in my fstab concerning the cdrom:
Code:
/dev/scd0 /mnt/cdrom iso9660 users,owner,rw,umask=000 0 0
Change the /dev/scd0 to your device, /dev/cdroms/cdrom0 and try if it works. Remember to make a backup.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:44 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|