Install Nvidia on LiveCD
From The Chakra Project - Wiki
This howto shows you how to install proprietary NVidia drivers from the LiveCD. by Phil Miller - V.1.0 - 17.04.09
Contents |
Step 1 - Booting with non-free drivers
Boot from the LiveCD as usual and select "Boot with non-free drivers" in the boot menu. In some cases your nvidia card gets NOT detected so the nv-driver gets loaded. On a LCD-TV with an resolution of 1360x768 X gets started but you don't get any screen display cos the resolution is out of range. Don't panic here, just hit CTRL+ALT+F1 to start the first terminal. Log in as root using root/root.
Step 2 - Installing the drivers
Now you are in a bash. Type followed code:
pacman -Rd libgl
... to uninstall libgl
With
ls /opt/cha*/pk*
... you get a list of all avaiable packages stored on the LiveCD.
[phil@phils-tvpc ~]$ ls /opt/cha*/pk* catalyst-9.1-1-i686.pkg.tar.gz catalyst-utils-9.1-1-i686.pkg.tar.gz initscripts-2009.01-1-i686.pkg.tar.gz nvidia-173xx-173.14.12-3-i686.pkg.tar.gz nvidia-173xx-utils-173.14.12-1-i686.pkg.tar.gz nvidia-180.22-1-i686.pkg.tar.gz nvidia-96xx-96.43.09-2-i686.pkg.tar.gz nvidia-96xx-utils-96.43.09-1-i686.pkg.tar.gz nvidia-utils-180.22-1-i686.pkg.tar.gz
You've to install to packages. nvidia and nvidia-utils.
For newer cards:
pacman -U /opt/cha*/pk*/nvidia-180* /opt/cha*/pk*/nvidia-utils*
For older cards:
pacman -U /opt/cha*/pk*/nvidia-173* /opt/cha*/pk*/nvidia-173*-utils*
or
pacman -U /opt/cha*/pk*/nvidia-96* /opt/cha*/pk*/nvidia-96*-utils*
run a
modprobe nvidia
to start the driver
If now error gets displayed run
nvidia-xconfig
Step 3 - Installing chakra on your local pc
Type
init 3
to kill X followed by
startx
to start Tribe, the installer of chakra
Tribe will check for a new version it's own package. If the x-session crashes restart X with
startx
Install chakra as usual: [Install_chakra_from_livecd|How to install Chakra with Tribe]
Step 4 - Reboot preparations
After you see the last page of Tribe where you can click on the "Restart your PC"-Button hit CTRL+ALT+F2 to start terminal 2. Login as root again (root/root). mount one of your local harddrives to /media/hdd
mkdir /media/hdd mount /dev/sda1 /media/hdd
copy the nvidia-packages to that dir
mkdir /media/hdd/opt/drivers cp -R /opt/cha*/pk*/* /media/hdd/opt/drivers
otherwise you don't have the packages for reinstall.
Step 5 - Reboot and ReInstall of NVidia drivers
Reboot your system with
shutdown -r now
Chakra GNU/Linux will boot, but still no NVidia drivers, again.
Repeat Step 2 but this time point to the harddrive you copied the files to. In the example it should be in the /opt/drivers dir of sda1
pacman -Rd libgl pacman -U /opt/drivers/nvidia-180* /opt/drivers/nvidia-utils* nvidia-xconfig kdm restart
Now you should also be able to login into your installed system.