Message Board -  Archive

[ Login ] [ Create Account ]
[ Board List ] [ View Board ] [ Post Reply ]
  Author  Subject: Re: how do you get linux to read a cd
Archive  

Posted on 06-24-2001 02:02 a.m. ET  reply

Original Poster: "Mark W. Krentel" <krentel@dreamscape.com>

> How do you get LINUX to read a CD in text mode when booting from the
> floppy disc? I just installed redhat 6.1 ...

I'm not sure what you mean. What you do with a CD is mount it, which
makes it part of the file system. Perhaps you're thinking of DOS's
text and binary modes. Unix doesn't have this distinction, it doesn't
interpret a file's contents in multiple ways. And how is booting from
a floppy relevent? Did the install work or not?

Anyway, assuming the install was more or less successful, you mount a
CD with a command something like this (as root).

mount -t iso9660 /dev/hdb /mnt/cdrom

This assumes you have an IDE/ATAPI CD as the slave on the first
controller. Your device might be hda, hdb, hdc or hdd depending on
where the CD is connected. For a SCSI CD, it would be /dev/scd0. If
the mount works, then you can cd to /mnt/cdrom and you'll find the
files on the CD.

--Mark

< Previous 1 Next >

Site Contents