LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-21-2003, 05:08 PM   #1
Fathonkey
LQ Newbie
 
Registered: May 2003
Distribution: Red Hat 9
Posts: 29

Rep: Reputation: 15
Accessing Cd-roms, and Thumbdrives


How do i acess CD-roms and thumbdrives with Red Hat 9?
 
Old 05-21-2003, 05:51 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
The cd-rom should have been set-up during install. From a command line, try...
mount /mnt/cdrom

If it doesn't give you an error, you're golden, and can then see what's on the drive with...
ls /mnt/cdrom
...or going to the /mnt/cdrom directory in your filemanager-of-choice.

If it works, you can create an icon on your desktop to mount the drive. Right-click the desktop and choose something like "create new drive"... I'm an work and can't check. Then, point it to the /mnt/cdrom.

If it doesn't mount, try as root. If that works, you'll need to edit your /etc/fstab to allow users to mount/unmount the drive. Find the line that points to /mnt/cdrom and add "users" without the quotes to the options at the right side.

If it doesn't work, you'll need to work on it some more. It will be pretty much the same as the USB thumb-drive, which I'll now explain...

Any command in red will need to be run as root. You'll need to create a mount point...
mkdir /mnt/usb
chmod 0777 /mnt/usb

Try mounting the long way...
mount -t vfat /dev/sda1 /mnt/usb

If it doesn't work, then try looking in your /proc/bus/usb/devices file for a listing... Specifically, what /dev/ it is. I think that should be the right file... Again, I don't have access to a Linux box. Try whatever /dev/ it says in the mount command above.

If that works, then you can add a line to your /etc/fstab to allow normal user accounts to mount/unmount it...
Code:
/dev/sda1   /mnt/usb   vfat   noauto,users,rw,umask=0000   0 0
Be sure to use the correct /dev/ and /mnt/ entries to get it to work. Then, any user should be able to mount with...
mount /mnt/usb
...and unmount with...
umount /mnt/usb
...notice there is no N betwixt the U and the M.

You should also then be able to create an icon on the desktop for the USB drive, too. Just click that to mount and open the filemanger, and right-click / unmount to unmount it.

Last edited by ranger_nemo; 05-21-2003 at 05:53 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File Sync software for USB thumbdrives edlentz Linux - Software 0 11-20-2004 09:15 AM
CD-ROMs PhuckFonix Linux - Games 2 07-24-2004 01:15 PM
When CD roms go bad BajaNick General 3 11-02-2003 04:44 PM
cd roms butface Linux - Newbie 15 08-28-2003 12:01 PM
where my roms at?! humanveal Linux - Hardware 1 10-27-2002 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration