LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing Video Drivers (https://www.linuxquestions.org/questions/linux-newbie-8/installing-video-drivers-122583/)

Fender-X 12-04-2003 05:27 AM

Installing Video Drivers
 
Hi.

I recently installed RedHat 7.2, and realised that the CD does not include drivers for my ATi Radeon 9600.

I downloaded the drivers from Ati.com as a .rpm file.

However i do not know the commands on how locate them on my HDD and most importantly install them.

I have mounted the Partition that they are on. I just need to know the command to locate and install them.

If you could point me to a website that explains this, or if you could explain yourself it would be GREATLY appreciated.

ta.

hw-tph 12-04-2003 05:42 AM

rpm -ivh filename.rpm should install the rpm file. -i for install, -v for verbous, and the -h makes a little progress bar appear.

If you think you have the files somewhere in your home directory you could open a terminal and type find . -name *.rpm.

Håkan

Fender-X 12-04-2003 05:51 AM

thanks.

i got the partions like this:

/dev/hda5 = "where the .rpm file is"
/dev/hda6 = root
/dev/hda7 = swap

when i load up linux, i am in the root partition automatically.
i wanna know how to access the hda5 partition. and then display its contents. Like the dir command in Windows DOS.

hw-tph 12-04-2003 12:18 PM

Oh, OK. I suggest you have a look at Rute's Linux book. It's quite good to have as a reference both as a newbie and as a long-time user.

You have to mount the partition in order to access it. It's quite likely that it's mounted already - check the /etc/fstab file. If you find /dev/hda5 there you will probably have the partition mounted already. You can use the commands less /etc/fstab or more /etc/fstab to view a text file. To exit the viewer, just press the Q key on your keyboard.
If you find a line that looks something like this:
Code:

/dev/hda5      /home              ext3    errors=remount-ro      0      1
...in /etc/fstab, the partition is most likely mounted already. Check the second part of the line - in my case /dev/hda5 is mounted at /home. So just type cd /home to go there. To list all the files in a directory, type ls, or ls -al for a lengthy listing that includes owner information, sizes and also hidden files (files that begin with a period character). For a more readable listing you can use ls --color -F if the output is not in color.

If the partition isn't mounted you need to mount it. If there is an entry for it in /etc/fstab, just type mount /dev/hda5. If there isn't you will have to create one, or supply the options to mount on the command line.


Håkan

Fender-X 12-06-2003 04:41 AM

Thanks again...

But i seem to have another prboblem... (sorry for being so newbie :p)

I HAVE mounted the partition and can access it by typing "cd /mnt/stuff"

but when i type in dir or ls nothing happens. And i type in:
"rpm -ivh filenameofdrivers.rpm " and it says "no such file or directory. i AM in the same dir. as the file.
Plz help if you can


All times are GMT -5. The time now is 05:30 AM.