Re: Back Again - CDRom
> Artur Correia wrote: > > OK, > As expected, ran into some more problems: > #1. How the hell do i see the contents of a cdrom? I've tried in the > shell mount /dev/hdb and mount /dev/cdrom, but i got a message saying > that that file was not in the file fstab or mtab... and, in fact, it > isn't. The starnge part is tha if i run dselect with the cd rom with > the debian distribution the program accesses the cd and install all > the packages from it? So, what do i do? > Desperately waiting for a solution, > AC > Tks I believe you might need a more complete mount command, such as: mount -t iso9660 /dev/hdb /cdrom and that you'll probably have to mount it as root (unless you do some other configuration stuff to allow normal users to mount it). The "/cdrom" part can be any existing directory, such as "/mnt" or "/my_cd_drive", but it must be a directory and it must exist prior to this command. (Sorry if this is "I already know all that stuff" language.) Also, most newer computers would have the CD-ROM drive on /dev/hdc (first drive on the second IDE port) rather than /dev/hdb (second drive on the first IDE port), so that might be an issue. Again, sorry if you already know this stuff and I'm just spouting noise.
Re: Back Again - CDRom
*- On 17 Jul, Artur Correia wrote about "Back Again - CDRom" > OK, > As expected, ran into some more problems: > #1. How the hell do i see the contents of a cdrom? I've tried in the shell > mount /dev/hdb and mount /dev/cdrom, but i got a message saying that that > file was not in the file fstab or mtab... and, in fact, it isn't. The starnge > part is tha if i run dselect with the cd rom with the debian distribution the > program accesses the cd and install all the packages from it? So, what do i > do? > Desperately waiting for a solution, > AC > Tks To use the basic 'mount /dev/hdb' you have to have an entry in the fstab file that gives all the parameters needed to mount the fs. To do it on the command line without an entry in the fstab you need to give the fstype the device and the mount point as a minimum. See the man page for mouunt. mount -t iso9660 /dev/hdb /cdrom If you want to just issue 'mount /dev/hdb' then you will need something like the following in /etc/fstab, see the man page for fstab and mount. /dev/hdb /cdrom iso9660 noauto,user,ro -- Brian - Mechanical Engineering [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis -
Re: Back Again - CDRom
On Sat, 17 Jul 1999, Artur Correia wrote: > OK, > As expected, ran into some more problems: > #1. How the hell do i see the contents of a cdrom? I've tried in the shell > mount /dev/hdb and mount /dev/cdrom, but i got a message saying that that > file was not in the file fstab or mtab... and, in fact, it isn't. The starnge > part is tha if i run dselect with the cd rom with the debian distribution the > program accesses the cd and install all the packages from it? So, what do i > do? > Desperately waiting for a solution, > AC > Tks > "mount [-fnrsvw] [-t vfstype] [-o options] device dir" -- from the mount manpage. did you see this: ^^^ you need to have an entry for that in the /etc/fstab file or you need to specify the mountpoint, which is just an empthy dir. did I make sense to you ? also, try reading the whole man page, I also think there is a manpage about fstab. Hope this helps... it should :)
Re: Back Again - CDRom
On Sat, Jul 17, 1999 at 04:01:23PM +0100, Artur Correia wrote: > OK, > As expected, ran into some more problems: > #1. How the hell do i see the contents of a cdrom? I've tried in the shell > mount /dev/hdb and mount /dev/cdrom, but i got a message saying that that > file was not in the file fstab or mtab... and, in fact, it isn't. The starnge > part is tha if i run dselect with the cd rom with the debian distribution the > program accesses the cd and install all the packages from it? So, what do i > do? > Desperately waiting for a solution, > AC > Tks You could try: mount -t iso9660 /dev/hdb /cdrom You could also add the following line to your /etc/fstab file: /dev/hdb /cdromiso9660 defaults,ro,noauto,user0 0 That way, simply typing 'mount /cdrom' would work. (The above examples assume /dev/hdb *is* your cdrom. If it ain't, edit appropriately) HTH, Mike [I'm subscribed to the list, no need to CC: me on replys.] -- Michael Merten ([EMAIL PROTECTED]) ---> NRA Life Member (http://www.nra.org) ---> Debian GNU/Linux Fan (http://www.debian.org) ---> CenLA-LUG Founder (http://www.angelfire.com/la2/cenlalug) -- Bank error in your favor. Collect $200.
Back Again - CDRom
OK, As expected, ran into some more problems: #1. How the hell do i see the contents of a cdrom? I've tried in the shell mount /dev/hdb and mount /dev/cdrom, but i got a message saying that that file was not in the file fstab or mtab... and, in fact, it isn't. The starnge part is tha if i run dselect with the cd rom with the debian distribution the program accesses the cd and install all the packages from it? So, what do i do? Desperately waiting for a solution, AC Tks