LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-20-2004, 08:12 PM   #1
xstealthrtx
Member
 
Registered: Nov 2004
Posts: 31

Rep: Reputation: 15
how do i access the root directory?


Hello this is my first post in this forum. I've been using Mandrake 10.0 for a week now and have been a little frustrated. I've been searching for about 3 days on how to install Nvidia drivers. i found an excellent post on this site that explained everything in 'normal' terms. i would post the link but i can't since i'm new.

I understand how to do everything that's listed in that post but I have no idea how to do the first thing which is put the downloaded driver file(s) in the /root directory. when i go to the root folder it has a lock on it and says that i can't access it. i've tried to mess around with the user permissions and such with no luck. I've searched on multiple linux forums with no answers. And even if I had come across an answer i wouldn't be able to understand it becuause the 'advanced' users just talk in linux speak and I have no freakin' clue what they are saying. so could someone just please give me some info in simple 'newbie speak' on how to put the file in the root directory.

thank you
 
Old 11-20-2004, 08:24 PM   #2
Sabicas
Member
 
Registered: Aug 2004
Distribution: Slackware 10
Posts: 110

Rep: Reputation: 15
First the NVIDIA drivers do not need to be in the root directory to be installed, but for this purpose we'll use that directory.

This is exactly what I do...

1.Open a terminal, in your window manager.

2.You need root access so type

Code:
su
(Enter your root password)

3. Now you should be able to move the driver file

Code:
mv nvidia.whateverversion.sh /nvidia.whateverversion.sh
4. Now you need to close out of X window type

Code:
init 3
5. Log in as root

6. Now cd into the directory you placed the file in

Code:
cd /
7. Your ready for install

Code:
sh nvidia.whateverversion.sh
8. Follow the instructions on the screen.

9. Now your installation should be done, so you need to edit your xorg.conf

Code:
vi /etc/X11/xorg.conf
While in the vi editor, scroll down to the graphics device section and change nv or vesa to nvidia (to make changes in the vi editor you need to push i for insert before any changes can be made). After you've made the change you need to save the file. To save it type

Code:
:wq
10.Logout out of your root account

Code:
exit
11.Login as your user

12. Start X window

Code:
startx
If you follow this, you shouldn't have any problems.

Oh back up your xorg.conf file, before you do this!

Code:
cp /etc/X11/xorg.conf /home/youruser/Desktop

Last edited by Sabicas; 11-20-2004 at 08:32 PM.
 
Old 11-20-2004, 08:28 PM   #3
mAineAc
Member
 
Registered: Nov 2000
Location: Hermon, ME
Distribution: slackware
Posts: 201

Rep: Reputation: 30
The /root directory is only for root. You don't want to mess with the perms on this folder for security reasons.

At the console if you type 'su -' followed by the root password when it asks for it you will be in the root idrectory.
From here you will be able to move things to and from this directory.
You didn't show the directions so I am not sure what you are talking about, but in all likelihood there is no reason to put thie drivers there. When I installed the drivers I had just put them in my home directory then ran the installer as root. If I remember right you may want to be at the copmmand prompt rahter than in X to install though. to do that in the console as root type 'init 3' and you will exit X. I may be wrong on this though. I would read the README that came with the file you got though.
 
Old 11-20-2004, 08:28 PM   #4
redjokerx
Member
 
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303

Rep: Reputation: 31
You cannot access the /root directory because you are not root. You have to run a console window and type "su" su lets you switch between users. In this case, you're switching to root. Once you enter the correct password and everything, you can use the "cp" command to coppy the file into that directory. Use "man cp" to find out more about man.

If you don't want to bother with command line stuff, you can run "konqueror /root &" (I assume you're using KDE because you're running Mandrake) and drag and drop the file there. I usually use "su" and then "cp" if i'm doing something like that. You'll probalby be asked to run the file in which case you probably need to be root and use terminal anyway. Also, the nvidia drivers don't want you to be in a windowed environment while installing this stuff because X will be running. You'll end up doing more steps trying to install the drivers graphically. If mandrake has made such things as installing nvidia drivers easy, then I could be wrong and you might be able to do it graphically. I'm betting on not being able to do it graphically though.

Just learn some command line, it's quite useful.

Unless you already did this: if you go to nvidia's website, they have linux drivers. Just download the two files, and run them. The instructions are very easy and the most complicated thing is editing one config file (changing a line or so).
 
Old 11-20-2004, 11:02 PM   #5
xstealthrtx
Member
 
Registered: Nov 2004
Posts: 31

Original Poster
Rep: Reputation: 15
wow, i just want to say thank you to everyone who responded and helped me out! everything worked perfect! excellent instructions all of you.

and the best part is i learned how to do something yaaaaaaaaay! ok enough lameness, thanks again
 
Old 11-22-2004, 04:42 AM   #6
redjokerx
Member
 
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303

Rep: Reputation: 31
It's funny how we all responeded within 4 seconds of each other.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can not access directory from user account - only root walterbyrd Linux - General 1 03-04-2005 11:23 PM
Directory access denied to root user: inode hack? netmar Linux - Security 2 07-31-2004 04:53 AM
Guy got root directory access from my FTP server... how can I fix this? bripage Linux - General 16 10-02-2002 10:12 AM
How do I access my Root Directory chaswp54 Linux - Security 2 10-20-2001 03:05 PM
Root Directory Access chaswp54 Linux - General 1 10-19-2001 09:33 PM


All times are GMT -5. The time now is 02:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration