LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 12-03-2002, 12:14 PM   #1
Flober-a-lob
LQ Newbie
 
Registered: May 2002
Location: Somerset
Distribution: Linux Mandrake ver 8.0
Posts: 14

Rep: Reputation: 0
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
 
Old 12-03-2002, 12:22 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
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
 
Old 12-05-2002, 02:33 PM   #3
Flober-a-lob
LQ Newbie
 
Registered: May 2002
Location: Somerset
Distribution: Linux Mandrake ver 8.0
Posts: 14

Original Poster
Rep: Reputation: 0
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
 
Old 12-05-2002, 02:40 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
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
 
Old 12-05-2002, 03:03 PM   #5
Flober-a-lob
LQ Newbie
 
Registered: May 2002
Location: Somerset
Distribution: Linux Mandrake ver 8.0
Posts: 14

Original Poster
Rep: Reputation: 0
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
 
Old 12-05-2002, 04:28 PM   #6
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
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
 
Old 12-08-2002, 09:59 AM   #7
Flober-a-lob
LQ Newbie
 
Registered: May 2002
Location: Somerset
Distribution: Linux Mandrake ver 8.0
Posts: 14

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
External USB BACKPACK CD-ReWriter problem... perry Linux - Hardware 8 06-20-2022 01:19 AM
Problem with my MITSUMI CR-48XATE CD-rewriter ! btournerie Linux - Hardware 3 08-19-2004 01:17 PM
CD-ReWriter not reading flied X4Ivan Linux - Hardware 0 06-23-2004 02:21 AM
why does linux hang when i try to mount cd-rewriter ??? qwijibow Linux - Newbie 18 08-02-2003 11:32 PM
pcmcia cd-rewriter jsurgeson Linux - Newbie 0 03-27-2002 09:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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