Quote:
|
1. I am trying to get the Java 1.5 SDK running on my system. Now I understand the principle of environment variables from Windows and as far as I can understand from my perusing of the internet Linux runs on them in a similar way. What I want to know is if there is any specific location where the environment variables are listed. I did see also that bash ahad a command called export. I tried to read the man page on the matter but I made little sense of it.
|
In some distributions, it is located in /etc/profile.d. Almost all distributions will use /etc/profile to make sure the environment variables are set for everybody. For setting different variables you place it in ~/.bashrc. You can look at the list of environment variables by using env. To set an environment variable, type export
variable_name="text". If you want to call an environment variable you type echo $
variable_name. Linux has a lot less characters to type than DOS or Windows 2000/XP.
Quote:
2. At the moment on my system I am using GRUB to boot linux. I have a dual hard-disk setup on my computer. One of them is on an IDE channel while the other is on SATA. I have windows XP installed on the SATA drive while Linux is on the IDE channel. When I get the boot menu for GRUB and I choose the Windows XP option I have found that all that happens is the screen goes blank except for the line 'chanloader +1' and then nothing else happens. I went and had a poke around in the GRUB conf file and found that GRUB is trying to boot linux off of hd0,0 and Windows off of hd1,0 . I assume that the numbering works based on the boot order set in the BIOS. If it helps in this matter here is the drive map;
(hd0) /dev/hdc
(hd1) /dev/sda
|
Well you need to look into re-mapping the boot device because chainloader will not work to boot into Windows. Look up the manual for grub. Sorry I have not use the re-mapping commands in grub because I did it with LILO a few years ago. Since then I have never used Windows and I switched to GRUB as my bootloader.
Quote:
|
3. This is the final thing, honestly! I am trying to install the NVIDIA drivers. Now I understand that I need to change the runlevel in order to stop the X server so that the driver can be installed. I read somewhere that it is best to change down to runlevel 3 and then back up to 5 when you're done. So I use telinit to drop down to 3. But as the system loads the various packages I get no command line and the last thing displayed is Starting anacron [OK] at which point nothing happens. Any ideas on what's going on?
|
You did everything right, but telinit is still running. Try hitting CTL+C. It should bring you to the prompt. Then run the nVidia installer. If its not executable, type sh before the file name. After you have installed nVidia's drivers, you have to edit /etc/X11/XF86Config or /etc/X11/xorg.conf to change nv to nvidia. The nVidia documentation will tell you more what you can do.