LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   problem with mounting cdwr (https://www.linuxquestions.org/questions/linux-general-1/problem-with-mounting-cdwr-23710/)

murshed 06-18-2002 01:13 PM

problem with mounting cdwr
 
hi all,

well, i downloaded a file from windows.. and since it is more that 1.4 mb .. i copied it to a cdwr and went to the linux laptop ( another machine ) and tried mounting it but problems occured:

mount -t iso9660 /dev/hdb /mnt/cdrom
mount: block device /dev/hdb is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/hdb,
or too many mounted file systems

what is the problem please??


best regards

Mara 06-18-2002 01:46 PM

Does your laptop cd reader read cdrw at all? Older ones can have a problem with this.

murshed 06-18-2002 01:57 PM

yes it can .. when i boot to win2000 .. everything is fine .. i just put the file there and get it from mounting the drive in linux .. but i would like to get it directly from the in linux..

any ideA??

best regards

Rashkae 06-18-2002 03:12 PM

Did you compile your own kernel? If so, did you enable support for iso9660 filesystem (the standard filesystem for CD-ROM)? Try and see if maybe it's setup as a module. (modprobe iso9660)

dorward 06-18-2002 03:33 PM

Was the CD recorded with packet writing? Was the CD "closed"?

murshed 06-19-2002 10:16 AM

Rashkae : i didn't touch the kernel .. it is what i got when i first installed linux ... i did modprobe iso9660 ( is it supposed to check it or what?) and i got: modprobe: Can't locate module iso9660

does it means that iso9660 is not supported?! strange .. i could mount recorded cds ( cdr not cdwr) well i didn't try to mount -t iso9660 the cdr .. but i thought this is the defualt one .. suggestions?
if you suggest to add a module please tell me in details .. i really don't know how to add a module ( always fail!)



dorward: no the cd is not closed:)


best regards

Rashkae 06-19-2002 10:40 AM

No need to load modules
 
The module I was talking about is a generic CD filesystem. If you can mount CD-R, you already have support for this in your kernel and need do nothing more. (all distros I know of come with iso9660 support by default.)

Terribly sorry, but I'm out of ideas.

murshed 06-19-2002 11:07 AM

thanks:) hopefully one will help:)

best ragards

fatgod 06-20-2002 04:34 AM

are you sure that the cd drive is on hdb and not hdc?

dorward 06-20-2002 07:01 AM

Quote:

Originally posted by murshed
dorward: no the cd is not closed
That is probably the problem. I don't believe Linux has support for the file system used for unclosed packet written CDs.

There is a packet writing file system patch for the kernel, but that is in the experimental stage and I do not know if it is compatable with the system you are using under Windows.

http://freshmeat.net/projects/packet-cd/

murshed 06-20-2002 07:59 AM

fatgod: if it wasn't hdb i won't get that message, right?


well, today i formated a new cdwr from windows .. while i was doing that .. it said that it will format the cd using UDF format, i was like .. WaaaW so this is the format .. it is not iso9660 .. hmmmmm now .. is this UDF supported?? any suggestiong?

thanks all

fatgod 06-20-2002 08:14 AM

Quote:

Originally posted by murshed
fatgod: if it wasn't hdb i won't get that message, right?

Right. if it is HDC then it will just work ;)
Quote:


well, today i formated a new cdwr from windows .. while i was doing that .. it said that it will format the cd using UDF format, i was like .. WaaaW so this is the format .. it is not iso9660 .. hmmmmm now .. is this UDF supported?? any suggestiong?

thanks all

UDF is not a filesystem type. This is a not an issue for you. the filesystem should be set to iso9660... I have an entry in my /etc/fstab specifying which filesystems i want to mount. MY CD ones look like this...

/dev/hdc /media/dvd auto ro,noauto,user,exec 0 0

enter this line into the fstab file (just be sure to have a dir /media/dvd) or modify it to suit your needs and then to mount it all you need to do is insert a disk (that is not blank) into the dive and type mount /dev/hdc and that should work. try changing hdc to hdb and hdd as it will be one of these. most likely hdc though!!

good luck!

Rashkae 06-20-2002 08:16 AM

I think that since his Linux box is capable of mounting CR-R, there is no point in checking the syntax and details of his fstab. :)

fatgod 06-20-2002 08:38 AM

Oh, I must be backing up the wrong tree so to speak. I didn't realise that he could mount disks. I re read the thread an I don't see where he indicates that he can mount some disks and not others...

but anyway if you can mount some disks murshed then disregard my comments :D sorry about that!

Stephanie_new 06-20-2002 08:46 AM

Just a quickie.... what program did you use to write the CD-RW in the first place?


All times are GMT -5. The time now is 06:53 PM.