Linux tip: How to install graphic driver from the command line / console
One of the most common problems seems to be when a kernel update breaks the installed video driver and inexperienced users cannot get a desktop back, but are left without a GUI and can’t figure out how to re-install the graphics driver from the command line. It’s a good idea to keep a copy of your diver in your /home/”username”. Then all is needed is to boot to runlevel 3, login as root and install.
To install graphic driver for Nvidia for example, once logged in as root cd /home/”username”
sh N (use TAB key to auto complete)
reeboot
If you want to enable graphics when you can’t install a driver or say you have a laptop chipset or onboard. Login as root level3 and use this command (the command is SuSe specific. Other Linux distributions provide other utilities):
sax2 -r -m 0=vesa
reboot this should enable a display using vesa.
Tags | Graphic, Linux, Tips and Tricks, Video
You should perhaps mention that sax2 is SuSe-specific, and other distros provide have other utilities. Mandriva and PCLOS for example, have the draktools and specifically 'XFdrake' for X driver config, Debian & Ubuntu uses 'dpkg-reconfigure xserver-xorg' and/or bulletproof X, and I'm sure others have their own unique tools as well.