LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing a driver? (https://www.linuxquestions.org/questions/linux-newbie-8/installing-a-driver-138863/)

whit2333 01-26-2004 12:10 PM

installing a driver?
 
I have windows XP and I recently installed Red Hat 9 and I cannot get any GUI to show up. I figure i need to install new drivers or something so i got the .run file...

here is the problem....

How do i run the install? Do i need to put it on a cd? or a certain hard drive. And if so how do i get that file to the hard drive in windows XP or using the prompt after i login using root?

DrOzz 01-26-2004 12:24 PM

chmod +x nameoffile.run
./nameoffile.run

and thats it ... the first step makes it executable, and then second step runs it ...
and it don't matter if you put it on a cd or not, its up to you ..

whit2333 01-26-2004 12:31 PM

now where do i go to type this in and do i have to change any directory and if the file is on a FAT32 formated HD how would i get to it?

DrOzz 01-26-2004 12:41 PM

ok ... well just like anything else, if its a command you obviously have to type it in a terminal (i think you got too excited and asked this question without thinking) ... so i'll leave it at that ...
and i mean these questions are basically up to you to answer really .. like do i have to change directory? all i can say in relation to this is, if you put it in a folder for instance called /my/files then if you want to you can navigate to /my/files, and if you don't want to then type the whole path to the .run file located in /my/files to execute, so again up to you ...
and if its on a fat32 drive (which i assume is in the same machine as your linux box) then you will have to mount this drive ... so for instance, if the fat32 drive is /dev/hdb then you will make a mount point (make a folder) whereever you wish (most people put it in the /mnt folder) and then we'll assume you made the mount called /mnt/win_drive, so after you do make a mount point, then you will type something like :
mount -t vfat /dev/hdb /mnt/win_drive
to mount the fat drive and then navigate to it with
cd /mnt/win_drive
and then find the file and copy it to your home folder or wherever you wish to put it an example would be :
cp /mnt/win_drive/downloads/filename.run /home/whit/

any other questions don't hesitate to ask ..

Onemessedupjedi 01-26-2004 06:48 PM

To make a mount point

mkdir /mnt/win_drive

Doesn't fat32 partition so wouldn't you have to use hdb1 or hdb2?

note:the drives names are determined by their physical location of the IDE slots.
hda-primary slot, set to master
hdb-primary slot, set to slave
hdc-secondary slot, set to master
hdd-secondary slot, set to slave

if the device is a jumpdrive or a usb cdrom or an external hard drive the name is sda because it's seen as basically a scsi drive. The sda and sdb and such are determined by the order you plug them in.

Before you try anything you need to type su and then enter the password and then type in fdisk -l and in that list it will tell you the drives you have. The one that says fat32 under type is obviously the one. you want so make sure that the corresponding device name is

mount -t vfat /dev/HERE /mnt/win_drive


also, try startx on the command line. that's how you start x, maybe you just didn't set it to automatically start.


All times are GMT -5. The time now is 11:55 AM.