All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arthur Othieno <arthurothieno@gmx.net>
To: cr@orcon.net.nz
Cc: linux-newbie@vger.kernel.org
Subject: Re: How to mount CD-ROM?
Date: Tue, 29 Oct 2002 15:57:18 +0100	[thread overview]
Message-ID: <3DBEA1CE.7070108@gmx.net> (raw)
In-Reply-To: 20021029101159.98A177519A@smtp.orcon.net.nz



cr wrote:

> I'm having trouble reading my CD-ROM (actually a LG(Goldstar) 8080 cd-writer) 
> drive.


You are having trouble reading CD-ROM discs in your CD-RW drive, am I right?


> It's not a hardware problem, and it worked in previous RH versions.  (It also 
> installed my current RH 7.2 system quite happily).
> 
> My /etc/fstab reads   
> /dev/cdrom     /mnt/cdrom    iso9660 noauto,owner,kudzu,ro 0 0
> 
> But, even su root, trying to mount it with (from memory):
> mount  /dev/hdb  /mnt/cdrom    
> gave (from memory)   'unknown block device'.
> 
> Trying X-cd-roast told me that ide-scsi was missing.  
> 
> Trying   insmod sg    told me that  sg  was already installed, and 
> 'insmod  ide-scsi'   successfully loaded  ide-scsi, after which X-cd-roast 
> now reads a CD   OK (and presumably, would write).
> 
> However, I *still* can't mount or read a CD-rom in the normal way, from the 
> command line.
> 
> This is what happens:
> [root@localhost /]# mount -t iso9660  /dev/hdb  /mnt/cdrom
> "mount: bad fs type, bad option, bad superblock on /dev/hdb, or too many 
> mounted file systems
> (could this be the IDE device where you in fact use ide-scsi so that sr0 or 
> sda or so is needed?)"


You can't mount your CD-RW as hdb since it's now being emulated as a SCSI device. Try 

mounting it with `mount /dev/scd0 /mnt/cdrom' and see if that works (assuming this is 

done with ide-scsi et al currently loaded). You might also want to 
change the symlink `cdrom' in /dev to point to `scd0', something like 
(as root): `cd /dev ; rm cdrom ; ln -sf scd0 cdrom'

The only questions that remain to be answered are:

(1) Do you want to use your CD-RW drive *only* for reading CD-ROM media 
(which I doubt is the case here), or
(2) Do you want to use it to read and write CD-ROM/CD-R(W) media (which 
is a more practical use)?

For the latter, you will have to tell the IDE CD-ROM driver to ignore 
hdb all together, and assign ide-scsi to hdb at boot. More specific 
details can be gleaned from the CD-Writing HOWTO ;)


> [root@localhost /]# mount  -t iso9660  /dev/scsi0  /mnt/cdrom
> "mount: special device  /dev/scsi0 does not exist"
> 
> - and the same result for sda, sr0, and so  when I try it, except that 
> /dev/sda  gives 'unknown device' instead.
> 
> If I try this:
> [root@localhost /]# mount  /dev/hdb  /mnt/cdrom
> I get:
> "dev/hdb: success
> mount: you must specify the filesystem type"
> 
> But when I cd into  /mnt/cdrom, there are still no files visible...

> 
> So it doesn't want to know me, either as a IDE or a SCSI drive.   
> dmesg shows it correctly:
> "hdb: LG CD-RW CED-8080B, ATAPI  CD/DVD-ROM drive
> ............
> Type: CD-ROM      ANSI SCSI Revision: 02"
> 
> I've tried reading the CDROM  HOWTO, but I can't see anything there that 
> explains the problem.   Does anyone have any suggestions what to try next?
> 
> Chris Rodliffe
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
> 
> 
> 

HTH,

Arthur

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2002-10-29 14:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-29 11:46 How to mount CD-ROM? cr
2002-10-29 14:57 ` Arthur Othieno [this message]
2002-10-30  7:51   ` cr
2002-10-29 16:52 ` Ray Olszewski
2002-10-30  8:46   ` cr
2002-10-30 16:11     ` Ray Olszewski
2002-10-31 13:29       ` cr
2002-10-31 16:05         ` Ray Olszewski
2002-11-18 10:58           ` cr
2002-11-18 16:54             ` Ray Olszewski
2002-11-27 12:02               ` cr
2002-11-23  1:18             ` whitnl73
2002-11-23  1:18             ` lawson_whitney
2002-11-27 12:01               ` cr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DBEA1CE.7070108@gmx.net \
    --to=arthurothieno@gmx.net \
    --cc=cr@orcon.net.nz \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.