Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 01-15-2003, 06:20 PM   #1
Member (12 bit)
 
Tiretool's Avatar
 
Join Date: Jul 1999
Location: Shreveport, LA
Posts: 2,119
Send a message via ICQ to Tiretool Send a message via Yahoo to Tiretool
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
Tiretool is offline   Reply With Quote
Old 01-15-2003, 08:51 PM   #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.


homey is offline   Reply With Quote
Old 01-15-2003, 09:04 PM   #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
homey is offline   Reply With Quote
Old 01-15-2003, 09:19 PM   #4
Member (12 bit)
 
Tiretool's Avatar
 
Join Date: Jul 1999
Location: Shreveport, LA
Posts: 2,119
Send a message via ICQ to Tiretool Send a message via Yahoo to Tiretool
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?
Tiretool is offline   Reply With Quote
Old 01-15-2003, 09:51 PM   #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.
homey is offline   Reply With Quote
Old 01-15-2003, 10:08 PM   #6
Member (12 bit)
 
Tiretool's Avatar
 
Join Date: Jul 1999
Location: Shreveport, LA
Posts: 2,119
Send a message via ICQ to Tiretool Send a message via Yahoo to Tiretool
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.
Tiretool is offline   Reply With Quote
Old 01-15-2003, 10:23 PM   #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.
homey is offline   Reply With Quote
Old 01-15-2003, 10:25 PM   #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)
MaXimum SMOKE is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:34 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2