LinuxQuestions.org
Review your favorite Linux distribution.
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 09-21-2002, 09:36 PM   #1
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
can't get nvidia drivers to work, stuffed up xf86 config


I tried installing the nvidia drivers following what the readme told me to do on the Nvidia site, i'm using a Riva TNT 64, i downloaded the correct drivers, and edited what i needed to edit I THINK, i changed nv to nvidia and added glx, but the readme told me to add something else and i think this stuffed me up, now all that happens is when X tries to start to go to the GUI log in screen it just keeps flashiing, i am not very good in editing files in console, but i had to try so i booted the cd-rom and ran rescue, cd'ed to the xfree86 config file emacs it and tried to edit it, i changed nvidia to nv again, took out glx, and i am not sure what to do now, it does the same thing while starting, just keeps flashing, can i just re-run the X config program, its Xconfigurator isn't it, cause i tried that, and the command wasn't found, i tried other variations aswell, and i pressed 'tab' to try find it and it wasn't listed...

VERY sorry for the long post...but i can't get into linux, so i am about to cry

running rh 7.3....

Last edited by GT I.N.C; 09-21-2002 at 09:39 PM.
 
Old 09-22-2002, 01:31 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Xconfigurator is in RH, so if this is RH, you will need absolute path (since you are in rescue mode), so let's say rescue mounted your drive in /mnt then:
/mnt/sbin/Xconfigurator
might be the absolute path, not sure where Xconfigurator is, but I think you see the idea I am getting at.

As for what you need to edit...

Here's a quote from Boris from THIS thread:

Quote:
Originally posted by neo77777
If you read the docs on nvidia site it is all there, get the NVIDIA_kernel and NVIDIA_GLX in tar.gz archives, unpack them
tar xfvz NVIDIA_kernel-blah.blah.tar.gz
tar xvfz NVIDIA_GLX-yada.yada.tar.gz
switch to runlevel3
cd NVIDIA-kernel
make install
cd ../NVIDIA_GLX
make install
then edit /etc/X11/XF86Config-4
remove
Load "dri" # if it is there of course
add
Load "glx"
Load "GLcore" #if it is not there yet
change
"nv" to "nvidia" in driver section
which very well sums it all up.

Cool
 
Old 09-22-2002, 01:44 AM   #3
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
hmmm thanks MasterC i haven't tried it yet, but RH mounted my system under /mnt/sysimage i'm pretty sure it's that, so if i were to run Xconfigurator would it be /mnt/sysimage/sbin/Xconfigurator ?
 
Old 09-22-2002, 02:13 AM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Yes, if that's the path for Xconfigurator. It may be located in:
/usr/sbin instead, I really don't know. But yes, it would start out with:
/mnt/sysimage
and then go from there.

BTW, I don't think that Xconfigurator will do the editing you need, I think you will have to do it by hand. Just a thought though...

Cool
 
Old 09-22-2002, 04:34 AM   #5
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
yeh well i got it working (thank god) but without the help of Xconfigurator, oh well, but still if i was in another situation and COULDN'T edit it by hand, then i would've been stuck, where the hell is Xconfigurator, i have it now, but not whilst in rescue, oh well...thanks MasterC!!!
 
Old 09-22-2002, 06:06 AM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
No problem

Now that you have the convenience of all your resources, try finding it. Try locate, find or whereis

Cool
 
Old 09-22-2002, 06:20 AM   #7
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
I have one more question i read the tutorial here to dual boot more than one LINUX DISTRO, but its talking about installing them WITHOUT any distros on, but i have RH 7.3 and i don't want to delete RH just to have more than onde distro, if someone can please read the tutorial and find out if i can do this WITHOUT deleting RH i will be very thankful! Tutorialhttp://www-106.ibm.com/developerwork...=DualBootLinux
 
Old 09-22-2002, 06:29 AM   #8
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
OMG that looks long! I will read it though, but here's a few things that might answer the question:

No you don't have to not have a distro to dual distro. You can keep everything the same, no need to delete RH. Here's a mini:

Install Distro A on /dev/hda1 You need to have a seperate partition still, for Distro B.
Install Distro B on /dev/hda2
Put the kernel from Distro B in the /boot directory of Distro A (this assumes ALOT, but you could go the other way if you prefer Distro B's LILO boot screen better, your choice) and add an entry in LILO to reflect the new kernel:
image = /boot/vmlinuz-DistroB
root = /dev/hda2
label = DistroB
read-only

Rerun LILO in Distro A to reflect the changes. Reboot, and smile, drink, and be marry

Ok, well that is definitely a mini, isn't all inclusive, but does show a few decent hints.

If that helps let me know. IF not, I will be reading the how to, and let you know how it goes.

Cool
 
Old 09-22-2002, 06:43 AM   #9
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Ok, I sorta skimmed it over, no you don't have to reinstall. The part where they are talking about partitioning your drive, you can do that using parted. If you already have a blank partition to put your second distro on, then you are pretty much all set. The tutorial you have there says to have a seperate /boot partition, this is not necessary, but will work just fine.

Cool
 
Old 09-23-2002, 01:58 AM   #10
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
ok thanks i shall try that now, all i have to do is make another partition for Distro B, cause i only have 2 partions one for windows and one for RH....im planning on installing Mandrake btw.
 
Old 09-23-2002, 03:05 AM   #11
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
just one more question MasterC, if i do try to uhhhh install Mandrake is there a way to tell the installer to install the kernel of Mandrake into the boot partition, because if i can't will the Mandrake kernel go over the RH one, and also, what is the point of having a boot partition and ONE more do i move my Rh kernel to the boot partition aswell....?

Thanks in advance
 
Old 09-23-2002, 03:14 AM   #12
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
sorry another thing roughly how big should the boot partition be....
 
Old 09-23-2002, 05:06 AM   #13
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
You probably already have a boot partition - I believe it's the default setting under RedHat. Personally, I get along with a 100meg boot partition. Not sure what the official recommendations are. Anyway, if you do already have a boot partition created by the redhat installer, your kernel will already be on it. By default, the boot partition is mounted as /boot/.

I don't think the mandrake installer will let you manually specify a kernel location. What you'll be telling the mandrake installer to do is not create a swap partition (you've already got one), not to create a boot partition (ditto), and not to install a boot manager (like grub or lilo, again, you've already got one).

So basically what you'll end up with is one partition created by mandrake. This will probably be a logical partition, since you'll probably already have chewed up all your main (or primary, or whatever they're called) partitions. Shouldn't be a problem. Trying to boot off a logical partition can be a problem, but that's not a problem for you - the whole reason for copying the mandrake kernel to your boot paritition is that the boot manager won't need to know about your logical mandrake partition - it'll pass control off to the kernel image on your boot partition.

So you're done with the mandrake installer, and you reboot. Your system should just boot back into redhat, because you told mandrake not to install a boot manager (didn't you? :-)). At this point you'd copy over your chosen kernel from the mandrake partition (you'll have to mount it first) into your boot partition (probably already mounted as /boot/). Depending on how mandrake's configured (I haven't used it for several versions), you'll probably also need to copy an accompanying initrd file.

Finally, make the alterations to lilo that MasterC outlined, and you should be good to go.

Good luck!

Last edited by Faecal; 09-23-2002 at 05:08 AM.
 
Old 09-23-2002, 05:51 AM   #14
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
Thank you very much, and is it necessary for the initrd file ?
 
Old 09-23-2002, 06:56 AM   #15
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
I would recommend copying over the initrd file. You could probably boot without it, but it might compromise certain functions.

The initrd file is an image file which allows certain things like scsi drivers to be loaded ahead of the kernel. Mandrake will probably have (in the same directory as the kernel image(s)), corresponding initrd-<version>.img files, or something named similarly. Copy these over as you would the kernel images, and make sure that you include appropriate references to the initrd files in your boot manager configuration.

I use grub, so my config looks something like

title RH7.2 2.4.7-up (2.4.7-10)
root (hd0,1)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda3 hdc=ide-scsi
initrd /initrd-2.4.7-10.img

The syntax is different from lilo, but the information is the same - the kernel image's location, and the location of the initrd image.

Do you use grub or lilo? I believe that RedHat defaults to grub, but you could have chosen lilo instead.
 
  


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
New Nvidia Drivers don't work... Roy-Svork Linux - Software 6 03-03-2008 03:46 AM
NVIDIA drivers won't work after reboot Marchsteiner Linux - Software 8 08-29-2005 03:01 PM
I have an XF86 config file for video, how do I turn it into XORG config lowpingnoob Linux - Newbie 18 06-12-2005 12:07 PM
Colored black text with XF86 4.3.0, Kde and RH9 using nvidia drivers tobz Linux - Hardware 1 10-28-2003 09:11 AM
Can't get new Nvidia drivers to work shnack Linux - Software 7 06-03-2003 07:33 PM


All times are GMT -5. The time now is 05:38 PM.

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