Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-24-2005, 11:38 PM
|
#1
|
LQ Newbie
Registered: Apr 2004
Distribution: Mandrake 10.1
Posts: 26
Rep:
|
Cd drive does not work undernew kernel
Hi. I recently compiled the 2.6.10 kernel and after have some problems (it very hard to use linux when the keyboard isnt compiled in) it mostly works now. Howerver my current problem is that my cd drive doesnt work. When i put a cd in and right click the icon on the desktop and go mount it gives me this error, mount: wrong fs type, bad option, bad superblock on /dev/hdc, or too many file systems
I have made sure that the cd file system are compiled in properly and while it is loading linux it lists my cd drives as being found but then gives and error message about supermount fs not supported by kernel. I am running mandrake 10.1 and any help in getting this stumbling block out of the way which is stoping me using linux full time (i need something installed of cd which will allow me to install some other things and so on)
Thx
|
|
|
01-25-2005, 12:58 AM
|
#2
|
Senior Member
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Rep:
|
Quote:
. . . lists my cd drives as being found but then gives and error message about supermount fs not supported by kernel.
|
This appears to me that supermount is not supported by the kernel you compiled. Each distribution adds some of its own special functionality, in this case, Mandrake provides supermount which automates mounting removable media. Since you are not using a Mandrake kernel, you can change the settings for the CD-ROM drive in MCC [The Mandrake Control Center]:
Open MCC in the Mandrake menu system at System / Configuration / Configure your Computer.
Click on Mount Points in the menu bar to the left.
Click the CD-ROM icon in the main part of the window.
Select the Options radio button near the top left, then click the OK button near the bottom right.
Uncheck the supermount option, then click the OK button until you return to the main MCC window.
Next time you restart, you should not see any supermunt errors, and I think the CD-ROM should work ok.
|
|
|
01-27-2005, 11:36 PM
|
#3
|
LQ Newbie
Registered: Apr 2004
Distribution: Mandrake 10.1
Posts: 26
Original Poster
Rep:
|
H. Sry it took so long to reply but i have been busy with work. Any way i tried wut you said but supermount is all ready unticked. Any other ideas?
Thx
|
|
|
01-28-2005, 08:52 PM
|
#4
|
Member
Registered: May 2004
Location: /dev/bed
Distribution: Mandriva 2009.0 Powerpack
Posts: 172
Rep:
|
Your /etc/fstab file should have a line in that referrs to your cdrom drive. Using a mandrake kernel which includes supermount and after a fresh install this is one of the entries that begin with 'none'.
For a standard vanilla kernel from kernel.org that you have compilled this line should read like the others, i.e. Your cd rom device, where you want to mount it, the filesystem type, the filesystem options etc etc..
Using my own as an example, I have a CD-ROM drive at /dev/hdc (Secondary Master) and I want to mount it as /mnt/cdrom letting the system decide what the filesystem is. The entry in /etc/fstab is
Code:
/dev/hdc /mnt/cdrom auto user,noexec,noauto 0 0
Reading across the line.... /dev/hdc (the cd drive) gets mounted at /mnt cdrom and the filesystem is detedted automatically. It can be mounted and unmounted by an ordinary user, executable files on cd's are not allowed to run, and any disc that may be in the drive is not automatically mounted when the system starts. I would also get rid of any 'extraneous information' like iocharset and codepage. If you have these in as options and everything works fine, then by all means leave them in. If not take them out, and try it again.
Personally I have never liked the supermount 'feature' of Mandrake kernels and find it quite flaky and a nusiance at best.
|
|
|
02-01-2005, 02:55 AM
|
#5
|
LQ Newbie
Registered: Apr 2004
Distribution: Mandrake 10.1
Posts: 26
Original Poster
Rep:
|
Sry once agian for taking so long to reply (must make a bigger effort on my behalf) Here is a copy of the of the section you pointed out to me in fstab.
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,ro,exec,users 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-15,codepage=850,ro,exec,users 0 0
I can see some similarites between yours and mine but mine seems to have a heaps more things in there was well which you mentioned that might be there. So i should then remove those things you mentioned to make it look like this?
/dev/hdc /mnt/cdrom auto user,execo 0 0
/dev/hdd /mnt/cdrom auto user,execo 0 0
Thanks
|
|
|
All times are GMT -5. The time now is 03:54 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
|
|