|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (12 bit)
|
Nux newb alert! How do I access files on a CD?
After installing Red Hat 7.3 via cd rom, I can't seem to access files on the cd rom. I installed off of it, so I assume that linux "sees" my cd-rom drive, but I can't find it to download files off of cds.
Anyone know how to guide this poor Linux illiterate soul? Thanks
__________________
To err is human, but to really foul things up requires a computer. patrbarnes@gmail.com |
|
|
|
|
|
#2 |
|
Member (7 bit)
Join Date: Jul 2002
Posts: 116
|
Hi,
In Linux, a partition or in your case a cdrom has to be mounted before you can access the files on it. In the command shell, type cd /mnt and press enter Type ls to see if you have a directory called something like cdrom. If you don't have that folder, then type mkdir /mnt/cdrom. Now that you have the directory, you can mount the device.... type mount /mnt/cdrom. type cd /mnt/cdrom type ls that should show you what directories and files are on the cd. Also, you can make a shortcut on the desktop for the cdrom. To eject the cdrom, you need to unmount the cdrom with the command umount /mnt/cdrom.
|
|
|
|
|
|
#3 |
|
Member (7 bit)
Join Date: Jul 2002
Posts: 116
|
sorry, I may have left out a bit. try this......
mount /dev/hdc /mnt/cdrom then cd /mnt/cdrom ls to display the directories |
|
|
|
|
|
#4 |
|
Member (12 bit)
|
Thanks very much homey...
Now then, how do I unpack a .bin file in Linux? Do I have to download an archiver? Or is there one built into Red Hat? |
|
|
|
|
|
#5 |
|
Member (7 bit)
Join Date: Jul 2002
Posts: 116
|
redhat likes to use rpm files. If it is an rpm, you can right click on it to find the rpm package tool.
In the command shell, you can type rpm -Uvh {filename -numbers}.rpm Like this.... rpm Uvh myfile-2.3.5.rpm Or, if it is a tar file.... type tar xzvf {filename-numbers}.tar Like this.... tar xzvf myfile-3.6.9.tar When you do that, it creates a subdirectory with the files in it. There should be a readme file included in that directory for setup instructions. |
|
|
|
|
|
#6 |
|
Member (12 bit)
|
Actually it's neither of those file types. It's a .bin file. The only place I've seen one is when burning cd images or when copying console games.
|
|
|
|
|
|
#7 |
|
Member (7 bit)
Join Date: Jul 2002
Posts: 116
|
Ok, that could be a self extracting file. Try this
type ./myfile.bin If you get a permission denied, then type chmod +x myfile.bin and retry the first part. |
|
|
|
|
|
#8 |
|
Member (8 bit)
Join Date: Mar 2002
Posts: 229
|
It could be a compressed image like an .iso, or it could be an executable file. ( or neither of these..) For executable files, you have to make sure the permission is set to be executable (file properties) You have to have rights to execute it. (Even if you are already root). You put it in a directory, change to the directory and execute it with a ./ in front of the filename. <---(that is done in the console, or shell) If it wasn't meant to be an executable file, the results would be very unpredictable. (understatement)
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|