MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to get the nvidia drivers installed, but it says it can't find the correct kernel for my installation, and then that it can't find it on my HD.
I just want to install my GF4 to play ET, help me out please.
(caution: I'm a linux noob)
indeed, you can just install it with the urpmi tool (urpmi kernel-source), just make sure it installs the correct kernel source, I had that problem with Mdk 9.2...
2.6.3-7
that's my kernel, the one that comes with 10 official.
now I try to boot to failsafe and log in as root, but it says my password is wrong.
I don't know what I'm doing wrong...
help please...
edit:
I pressed alt+ctrl+F1 and managed to log in as root, exit x server, install the drivers, edit XF86Config-4, and when I boot It says it can't load x server because the kernel is different or some other bs.
I did this with a fresh 10 official install, and the kernel provided in the cd's...
I'm starting to lose faith in this, it's a pain in the ass...
First install your kernel-source, you can do this by using urpmi. First find out your kernel version (e.g 'kernelversion' as root). Then
$> su
#> urpmi -y kernel-source
You'll get a list with the available kernel sources. Make sure you select the right one, cause if the nvidia installer doesn't find the driver for your exact kernel it will attempt it itself.
Last post I forgot to mention that before you install the drivers you have to quit X. You should read the readme that comes with the drivers as well how to get X using the drivers (that isn't hard if you do what the readme says).
in mandy right... vi should work, but with some luck you have pico or nano. The latter are way more userfriendly. Pico should be included in the pine package. I don't use pine, but pico is such a damned easy to use editor that I install it anyway (urpmi pine). Vi is not very straightforward, this is what you should know:
$> vi filename
to edit type 'i'
to save type ':x (enter)'
to quit without saving ':q! (enter)'
To explain these bizarre things quickly, when you start up vi you aren't in 'edit mode'. Every button you type is a command, i stands for insert, a for append,... Press esc to go out of edit mode. Vi is a quite advanced text editor, you can do a lot of complicated things with short commands (see manpage). These commands are issued by pressing : first, then you can see at the bottom of your screen were you can type them. Of course x isn't complicated, it just means save and exit. q means quit, but won't work if you edited the file, so you have to overide this protection with ! (this is why you type :q!).
Hope this will help you. Oh and I am already very happy if you just help people here on LQ, you don't have to love me .
Well, in that case you chose the right distro to start from. By trying to help others and reading here on LQ, you should learn quite fast.
Learning how to use Linux isn't hard, it is setting it up that's hard and that's just what mandrake does for you. I recommend that once you're at ease with mdk, you try something harder like slackware. It suprised me how much I didn't know and how fast I learn't.
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643
Rep:
Quote:
Originally posted by elluva Well, in that case you chose the right distro to start from. By trying to help others and reading here on LQ, you should learn quite fast.
Learning how to use Linux isn't hard, it is setting it up that's hard and that's just what mandrake does for you. I recommend that once you're at ease with mdk, you try something harder like slackware. It suprised me how much I didn't know and how fast I learn't.
quite true....i use RED HAT for years and only recently switch to debian and in 3 months learn more about Linux than the last 10 years...
After doing everything except editing XFConfig-4, going into KDE and using Krite should get it done, right ?
I'm not used to no-gui interfaces...
ps: why should I check my kernel version?, it's the one that comes with mandrake 10 OFFICIAL...
Quote:
Originally posted by elluva Last post I forgot to mention that before you install the drivers you have to quit X. You should read the readme that comes with the drivers as well how to get X using the drivers (that isn't hard if you do what the readme says).
in mandy right... vi should work, but with some luck you have pico or nano. The latter are way more userfriendly. Pico should be included in the pine package. I don't use pine, but pico is such a damned easy to use editor that I install it anyway (urpmi pine). Vi is not very straightforward, this is what you should know:
$> vi filename
to edit type 'i'
to save type ':x (enter)'
to quit without saving ':q! (enter)'
To explain these bizarre things quickly, when you start up vi you aren't in 'edit mode'. Every button you type is a command, i stands for insert, a for append,... Press esc to go out of edit mode. Vi is a quite advanced text editor, you can do a lot of complicated things with short commands (see manpage). These commands are issued by pressing : first, then you can see at the bottom of your screen were you can type them. Of course x isn't complicated, it just means save and exit. q means quit, but won't work if you edited the file, so you have to overide this protection with ! (this is why you type :q!).
Hope this will help you. Oh and I am already very happy if you just help people here on LQ, you don't have to love me .
Originally poster by elluva to save type ':x (enter)'
to quit without saving ':q! (enter)'
elluva, correct me if I'm wrong but for the sake of the newbies, but didn't you forget to instruct Warmaster to hit the [ESC] key before typing ":" ? And shouldn't save be ":wq" instead of ":x" ? I dunno, but that's how I've always saved when editing with vi.
EDIT: Opps, didn't see the "esc" in your post
Quote:
Originally posted by Warmaster After doing everything except editing XFConfig-4, going into KDE and using Krite should get it done, right ?
I'm not used to no-gui interfaces...
ps: why should I check my kernel version?, it's the one that comes with mandrake 10 OFFICIAL...
Warmaster, I'm not sure if you'll be able to get into GUI with the nvidia driver if you don't check/edit your /etc/X11/XF86Config-4 file. You might be able to get into GUI if the "nv" module is still being loaded, but that defeats your purpose of installing the driver.
If you still need step-by-step instructions on getting the driver installed, look at this past post I made.
I too, like my GUI interfaces, and I'm not about to get into a cli vs. gui war here, but getting comfortable with cli will benefit your experience greatly. What will you do if your GUI suddenly goes bezerk and commits suicide? The only way you can try to bring it back from the dead is by the all-powerful potion called CLI.
I think the reason why you were asked to check your kernel version is that: a) sometimes different kernels will get installed as default, and, b) so that you will know which kernel-source-version to install.
god, I don't know what I am doing wrong... but it's still not working...
My kernel is 2.6.3-7
I installed that same kernel-source and the nvidia installer accepted it, compiled whatever it compiles, and if I use 'nvidia' drivers, kde does not load...
right now, I'm using 'nv' drivers. (thanks elluva for the 'vi' thing... I was thinking of a 3rd reinstall)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.