| >> Ubuntu Linux, getting it to work |
Sections:
>> Installing Ubuntu
>> Stop XFree86 from crashing
>> Get it updated
>> Wireless card
>> Graphics card
|
| >> Installing Ubuntu |
"Warty Warthog" for x86_64 unfortunately gave me lots of errors when trying to install the distribution, and it all
ended up refusing to install since it could not detect the cd-rom it was running from (don't ask why, but I think it's
rather strange when a program refuses to realize the existance of the drive it's running from). This error only
occured when I selected my native language in the language selection, but when I tried setting it to use english
as language everything seemed to work fine.
Something the installation program, and the rather skimpy manual I saw at the time of install somehow forgot to
mention that if you don't select an expert installation type, the grub bootloader will be automatically installed to
your master boot record. What this means is that LiLo, and using alternatives to installing to the master boot
record is not an option unless you choose an expert install.
As you might have noticed you never got to enter a root-password, and this is because the root account is disabled
by default - the whole idea is that you should only do things as an ordinary, but instead of switching to root when
privileges are needed you should instead use "sudo". If you're not familiar with sudo, just put sudo in front of every
command that should be executed with root-privileges - this works fine unless you encounter errors such as XFree86
not starting. To enable the root account just type the following:
sudo passwd
|
| |
| >> Stop XFree86 from crashing |
Directly after finishing the installation I was dumped to console because XFree86, the default in "Warty Warthog",
refused to run and no matter the tweaking done to my resolutions and display definitions - the error was finally
identified as a problem with one of the modules that comes with XFree86. To see the solution I used take a look
at this link:
>> Q003: Can't start XFree86 with fresh "Warty Warthog"
>> FILE: /etc/X11/XF86Config-4
|
| |
| >> Get it updated |
Being a Debian-based system, Ubuntu is extremely easily updated thanks to the apt-get package that automatically
resolves dependencies for you without any fuss or random errors. The first thing we'll do is make sure that the
current packages is updated and ready for use (this, as you might have imagined requires a working connection to
the Internet). First start by updating the package lists and the upgrade the actual packages, in short just type the
following:
sudo apt-get update
sudo apt-get upgrade
Upgrading to "Hoary Hedgehog" will be necessery in order to enable 3D-accelaration for your graphics card - this
is hopefully sufficiently covered in the Unofficial Ubuntu Starter Guide. If you
you don't feel like going there for the information I'll run through it in a few steps. The first steps is to open up
an editor and open the file "/etc/apt/sources.list" (just run sudo gedit /etc/apt/sources.list). Look through the
lines in the file and replace every instance of the word "warty" with "hoary" - now save and exit your editor. To upgrade
the distrobution you can now do that by running the following set of commands:
sudo apt-get update
sudo apt-get dist-upgrade
After doing that you should make sure that all your packages are upgraded - if you've done that the time has come
to make the switch to X.org instead of using the older XFree86 ("Hoary Hedgehog" and newer versions use X.org by
default). To remove XFree86, and alter the configuration - just type the following:
sudo apt-get remove xserver-xfree86
sudo apt-get install xserver-xorg
sudo dpkg-reconfigure xorg-xserver
The last line should not be needed, but I've included it here anyway and recommend that you run if you find that X.org
gives some strange error, or the computer still seems intent on loading XFree86 even though we just removed it.
|
| |
| >> Wireless card |
The modules needed, and the firmware needed to make your wireless card comes with the stock kernels - if the
relevant module isn't loaded upon bootup you can simply "modprobe prism54", or to make things permanent you
can add the line "prism54" to the file called "/etc/modules.conf". If you don't plan to compile your own custom
vanilla kernel please feel free to skip to the next section - the actual card is configured easily from Ubuntu after
upgrading to the latest set of packages.
If you do not want to use any of the stock kernels you can download the sourcecode for the driver, and a way of
retrieving the needed firmware at their homepage, http://www.prism54.com/.
Unfortunately getting the firmware is a lot harder because of legal issues with the creators of the actual firmware, so
I'll simply provide an alternate way.
cd /lib/hotplug/firmware
sudo cp isl3890-2.6.8.1-3-amd64-generic isl3890-`uname -r`
If you haven't noticed this simply copies one of the firmware-files bundled with the original kernel that comes with
Ubuntu for x86_64, 2.8.1-3-amd64-generic, and substitutes the name used to identify the new custom kernel (works
like a charm since the firmware doesn't actually change).
I've seen a lot of users searching for a site where they can download this firmware in the instances where the firmware
wasn't included with their distribution - you can download the firmware from
http://prism54.org/firmware/ and save it to the folder "/lib/hotplug/firmware" to enable hotplug to find it. Not sure
what name the file'll have, but make sure that it is called "isl3890-<kernel version>" (rename it if necessary).
|
| |
| >> Graphics card |
To get the graphics card working you need to first upgrade to the development release, "Hoary Hedgehog", and
make sure that the newer X.org is used instead of XFree86. Then make sure that your kernel is upgraded to
atleast kernel 2.6.10-3 since the previous kernels do not work with the graphics card - also make sure to install
the corresponding version of the package named linux-restricted-modules. To load the needed module when the
machine boots, add the line "fglrx" to the file "/etc/modules.conf".
To get the specific driver, fglrx, for X.org fetch the package named "xorg-driver-fglrx" - alter the driver specified
in the file "/etc/X11/xorg.conf" to use fglrx instead of the OpenSource-variant. You can use the configuration tool,
fglrxconfig, now installed to get a suitable configuration file for the X-server, but it's a lengthy and error-prone
process that you should take with a pinch of salt - just copy the relevant parts into your own configuration. Personally
I think it's simply easier to just look at a configuration file that I know works - so simply use my file as a template,
you can get the file from the list of files below (I've also included my previous XFree86 configuration).
>> FILE: /etc/X11/xorg.conf
>> FILE: /etc/X11/XF86Config-4
After a reboot, and verifying that the kernel module is loaded, you can test and see wether the proprietary driver
is actually being used, to do that you can try the command "fglrxinfo" - the output from the command should be
something like the following:
>> Performance for driver 8.8.25
>> Performance for driver 8.12.10
If you find that this method doesn't work, or you simply would like to install the newer binary driver from ATI's
homepage you can find instructions on doing this using the link below. If you are using a selfcompiled kernel
you most likely won't have any other choice anyway.
>> Q005: Installing binary drivers downloaded from ATI.com
|
| |
|
|