Access the CD-ROM or USB from a Linux Terminal
Writing by shivdev on Saturday, 14 of January , 2012 at 1:40 am
Even though this is not a very common use case, you might need to do this and like just about anything with Linux, there’s a bit of a pain here as well.
The easiest way is to access the Disk Utility and see the Mount Point and just cd to that mount point. For example, cd /media/RHEL_6.1/
Otherwise, follow the steps below or read up on mount and umount (unmount)
Depending on the OS, most likely the cdrom will be at /dev/cdrom, the USB will be at /dev/usb etc. But may change.
# Login as root, then follow these steps
$ mkdir /mnt
$ mount /dev/cdrom /mnt/cdrom
$ cd /mnt/cdrom
$ ls# To unmount, use the umount command
$ umount /mnt/cdrom
$ ls
Leave a comment
Category: Linux
- Add this post to
- Del.icio.us -
- Digg -
- -
- Tweet -
-
-
No comments yet.
You must be logged in to post a comment.