LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mounting the drive (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-the-drive-366399/)

resist_r 09-23-2005 07:33 PM

mounting the drive
 
alright, related to another post (but not the same!... though it might get answered there), here is my problem: i cannot mount my cdrw drive. here's what i get:

Code:

bash-3.00$ mount /dev/cdrom

/* right here is like a minute - minute and a half wait */

mount: I could not determine the filesystem type, and none was specified
bash-3.00$

alright, fair enough... and here is my fstab

Code:

/dev/hda2        /                reiserfs    defaults        1  1
/dev/cdrom      /mnt/cdrom      auto        noauto,user,ro  0  0
/dev/fd0        /mnt/floppy      auto        noauto,owner    0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0

oh, if you can help me out here on how to copy and paste, that'd be cool (i'm trying to just copy from the console emulator, i'm using slackware 10.2

anyways, yeah, i have no idea what the stuff in fstab even means... i know it sets default mount points, and mount options, but that's it.

well, trying to push through this problem, i do this one:

Code:

bash-3.00$ mount -t iso9660 /dev/cdrom
mount: only root can do that

right, so, i su

Code:

bash-3.00# mount -t iso9660 /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
      missing codepage or other error
      (could this be the IDE device where you in fact use
      ide-scsi so that sr0 or sda or so is needed?)
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

no idea what to do. thanks for any help

resist_r

SteveK1979 09-23-2005 07:41 PM

What distro are you using, and what is the cd you're trying to mount? Is it a known working data (iso9660) cd?

Cheers,

Steve

resist_r 09-23-2005 07:44 PM

I am using slackware 10.2, the cd i was trying to mount at the time was a music cd, which would mount fine under redhat 9. the cd that i would really like to get working here is a blank one, so that i can burn knoppix to it.

MasterC 09-23-2005 10:26 PM

That is where the problem (or rather condition, since it's not exactly a problem) lies. Audio CD's don't actually get mounted. Redhat very likely uses automount or something that gives an emulation of a 'mounted' audio CD, but it is actually not getting mounted. You can play one, I use grip to play my CD's but you are welcome to use any application that supports cd playback.

As for mounting a blank, that's also not really available (actually it is, but that's not the point of this point... ;) It's available as packet-writing, but it's really mainstream yet). You can write to a blank disc using cd writing tools, but there is no need to mount a blank disc as there is nothing to read from it. You can do multisession CD's which could be a thought of wanting to 'mount and open a blank cd' but you do it through a cd writing interface (something like k3b).

So your problem isn't your fstab, nor is it your mount command, those are just fine. It's understanding how things work in Slackware versus other more automated distros.

To burn knoppix, assuming it's an iso image you are burning, you can do it from the command line with:
cdrecord dev=/dev/hdx speed=50 -v -eject knoppix-version.iso

Where /dev/hdx is your cdrw device (note that /dev/hdx is only supported in the branched dvdrtools version of cdrecord) and knoppix-version is the version you are trying to burn.

Good Luck!

Cool


All times are GMT -5. The time now is 07:51 AM.