LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Kernel2.6 with Nvidia for 2.4 (https://www.linuxquestions.org/questions/linux-general-1/kernel2-6-with-nvidia-for-2-4-a-182845/)

Lobais 05-18-2004 08:12 AM

Kernel2.6 with Nvidia for 2.4
 
Hi, I've just upgraded my fedora1 to 2 from boot cd's. It worked absolutely perfect, but I forgot to install my Nvidia driver before I did it.
So when I tried to open my x server, it gave some xfree86 error. I tried to reinstall the driver (I forgot about the kernel 2.6 thing, but it didn't help) now it just end in black screen after boot (Grub) Alt+Ctrl+1 doesn't show anything either, and I can't connect to the computer by putty or other kind of network stuff.
HELP!: :cry:

qanopus 05-18-2004 08:15 AM

Quote:

Alt+Ctrl+1 doesn't show anything either
Try Ctrl-Alt-Fx, with x a number between 1 and 6.

Lobais 05-18-2004 09:31 AM

Ctrl+Alt+F1 was what I meant.

I've also tried, if it was just the output thing not working. I tried Ctrl+Alt+F1 and just typing my user name and password in the darkness, and then "reboot", but nothing works.

bashrc2 05-18-2004 08:23 PM

use your cd to boot(rescue).. fix lilo to boot the old kernel(atleast you can have a console than the blank screen). edit xf86config and change nvidia back to nv. if you compile kernel 2.6 with nvidia drivers then it will not work. recompile kernel 2.6 and this time instead of installing nvidia drivers install vesa only. dont install nvidia at all not even as module. install nvidia drivers that came from the website.

Lobais 05-19-2004 12:55 AM

Quote:

use your cd to boot(rescue).. fix lilo to boot the old kernel(atleast you can have a console than the blank screen). edit xf86config and change nvidia back to nv.
Thank you so much! :cool:

Quote:

if you compile kernel 2.6 with nvidia drivers then it will not work. recompile kernel 2.6 and this time instead of installing nvidia drivers install vesa only.
I have never compiled the kernel. I just followed my distro

Quote:

dont install nvidia at all not even as module. install nvidia drivers that came from the website.a
Ok

qanopus 05-19-2004 03:04 AM

Hmm, you said you use grub. Okay assuming that the old 2.4 kernel is still there, do the following: When you press "c" when you get to grub, you'l be presented with a commandprompt. Press "tab" to get some help on the command you can use. For example, you can give the command "root=(hd0,x)" where 'x' is the number of your boot partition (NOTE Boot!!, that is the partition where you'l find the kernel image file) with the first partition numbered 0. So if your boot is hda3, that 'x' should be a 2. If you have more then one harddisks and your boot partition is on the second disk, the above command would be "root=(hd1,x)". Most of the time, there is no apart boot partition and the kernel file resides on the root partition.
Now that you have defined the boot partition, tel it what kernel you want to load with "kernel=/boot/linux-2.4.20" for example. Needless to say, you have to point to your own kernel image file. So you should know where your kernel is and what it's name is. Unfortunatly there is now way to find out, that I know of, at the grub prompt. So before you begin with all this, boot your computer with a rescue disk and take a note of the place and name of your kernel images. Point grub to your old kernel and boot your system with it be just doing "boot".
But if the old kernel isn't there any more .... okay lets assume for a moment you do still have tho old kernel. If you don't, we'll take it from there.

Lobais 05-19-2004 04:42 AM

As I said, I made it with the rescue cd. It worked perfektly! Now I just need to install a new driver.
Thank you for the help


All times are GMT -5. The time now is 01:49 AM.