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 |
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.
|
 |
12-03-2002, 12:14 PM
|
#1
|
LQ Newbie
Registered: May 2002
Location: Somerset
Distribution: Linux Mandrake ver 8.0
Posts: 14
Rep:
|
Cant access cd-rewriter
I have a problem accessing my cd-rewriter. I would be grateful for any help that can be offered.
When I access the mnt folder in any file manager, even when logged on as root, I came across the CD-ROM folder (file) as locked with a lock. This was also the same for my floppy drive. I managed to get access to my floppy drive by editing the relevant line in my fstab file. The floppy drive now works fine. My CD-Rom drive however doesn't wont to work regardless of changing the denial for permission figures -- to rwxrwxrwx. The lock on the CD-Rom folder disappears but the folder does not produce anything when opened. No data is shown.
Also when I first turn on my machine I get some error messages that say
'bad superlock'
'wrong fs type' - My fstab file lists the filesystem for the CD-Rom as vfat
and
'bad option'
Thanks for any help
|
|
|
12-03-2002, 12:22 PM
|
#2
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
That is possibly the problem. CDs are not vfat, they are iso9660. If you could post a copy of your fstab here, then we can take a look at it for you. Also, have you tried manually mounting it? Unlike in Windows where you can access your CD the moment it has been put in the drive, in Linux you need to mount it first. This might sound like a pain, but think about it... in Windows, if you eject the CD whilst a program is still accessing something on it, what happens? You get a BSOD. In Linux, you cannot eject the CD until it has been unmounted, and you cannot unmount it until everything has stopped accessing it, so you will not be able to eject the CD until there are no programs what so ever accessing it.
HTH
|
|
|
12-05-2002, 02:33 PM
|
#3
|
LQ Newbie
Registered: May 2002
Location: Somerset
Distribution: Linux Mandrake ver 8.0
Posts: 14
Original Poster
Rep:
|
CD-Rom access
Thymox,
Here is a copy of fstab file as requested, I hope it is of some use?
/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda6 /home ext3 defaults 1 2
/mnt/cdrom /mnt/cdrom supermount dev=/dev/scd0,fs=iso9660,rwx,--,iocharset=iso8859-15 0 0
/mnt/floppy /mnt/floppy supermount dev=/dev/fd0,fs=vfat,--,iocharset=iso8859-15,umask=0,sync,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/hdb1 / vfat user,owner,noexec,dev,suid,rw 1 1
It seems my CD-Rom isn't set as vfat after all, my Floppy looks like it is though. Also I shall try and take out the permisions -- option and see if that helps.
I think also that my hdb1 windows hard drive device line needs some alteration in order to get that to work.
Thanks Flober
|
|
|
12-05-2002, 02:40 PM
|
#4
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
Yeah, it is trying to mount your Windows partition as /. I would make a dir (as root) called something like /mnt/windows and then change that line to:
Code:
/dev/hdb1 /mnt/win_c vfat users 0 0
so that all users can access it, and mount/umount regardless of who mounted last. As far as your CD is concerned, try making your fstab entry a little cleaner:
Code:
/dev/scd0 /mnt/cdrom auto codepage=850,noauto,iocharset=iso8859-15,nosuid,ro,umask=0,users,nodev 0 0
works an absolute treat for me.
HTH
|
|
|
12-05-2002, 03:03 PM
|
#5
|
LQ Newbie
Registered: May 2002
Location: Somerset
Distribution: Linux Mandrake ver 8.0
Posts: 14
Original Poster
Rep:
|
CD-Rom access
Thanks for your quick response.
I shall try doing what you mentioned above.
What might seem interesting is that I just altered the fstab file by removing the -- permissions but nothing seems to have changed. And for some reason my Floppy drive is now locked up again I don't know why.
I shall try what you have suggested and see if I get some results.
Thanks Flober
|
|
|
12-05-2002, 04:28 PM
|
#6
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
May I suggest that you read up on mounting and fstab entries, it really is invaluable! I see that you have 'supermount' enabled - Mandrake does this by default - and although it can be useful from the point of view that your system behaves slightly more Windows like, may I also suggest that you disable supermount by typing (as root): supermount -i disable
|
|
|
12-08-2002, 09:59 AM
|
#7
|
LQ Newbie
Registered: May 2002
Location: Somerset
Distribution: Linux Mandrake ver 8.0
Posts: 14
Original Poster
Rep:
|
Cd-Rewriter
Thanks alot for your replies on my Cd-Rewriter,
I tried to change my fstab file as directed by someone above, but it buggered up my system. Maybe I did not save the file correctly or something. Well after my system refused to load I reinstalled Linux Mandrake and the Cd-Rom and floppy works fine.
I dont understand why a fresh install changed matters but it obviously has. I still had no windows entry in Lilo or any windows disk in the partitions setup sections. I changed this and now have my windows disk in my root partition in the main directory not in mnt. One quick change in fstab should sort that.
After this I shall now try and get my Cd-Rewriter to Rewrite, which should be fun. Another thread for another day maybe?
Flober
|
|
|
All times are GMT -5. The time now is 03:18 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
|
|