SBC-FITPC2: Linux: Ubuntu 8.04 LTS

From Compulab Mediawiki
Jump to: navigation, search

Overview

This page provides step by step installation instructions for Ubuntu 8.04 LTS on SBC-FITPC2. All sources and binaries provided by CompuLab can be found at http://fit-pc2.com/download/ubuntu/dists/hardy

Prepare installation media

  • You can use USB CD-ROM Drive or USB Flash drive (disk-on-key) as installation media.
  • Download Ubuntu 8.04 LTS Desktop installation .iso from http://www.ubuntu.com/getubuntu/download
  • If you are using USB CD-ROM - burn downloaded image directly on CD.
  • If you are using USB Flash drive, 1GB would be enough. Download and run usb-creator utility to make bootable installation flash drive. The usb-creator is available here.

Installation of generic Ubuntu 8.04 LTS Desktop

Generic kernel pacakged with Ubuntu 8.04 LTS Desktop has problems with hard disk identification and rebooting, so at first installation steps you will need to:

  • Choose comfortable installation language
  • Press <Down> key to choose "Install Ubuntu"
  • Press F6 to edit kernel boot options
  • Add string all_generic_ide to the end of the kernel command line. It should look like this "... quiet splash all_generic_ide --"
  • Press <Enter> and continue with standard Ubuntu installation
  • When you will be asked to reboot fit-PC2 - shut down it manually (with power button)
  • Unplug USB CD-ROM/USB Flash drive
  • Power on fit-PC2 and press and hold <Esc> key to enter grub boot menu
  • Press <e> to edit grub menu lines
  • Add all_generic_ide option at the end of kernel boot line. Now it should look like this: "... quiet splash all_generic_ide"
  • Press <Enter> to save the changes and <b> to boot
  • Log in with username and password you have chosen previously

Necessary system changes

  • Add following lines to /etc/apt/sources.list
## Repository for fit-PC2 users provided by Compulab
deb http://fit-pc2.com/download/ubuntu/dists/hardy binary/
deb-src http://fit-pc2.com/download/ubuntu/dists/hardy source/
  • Refresh update manager
sudo apt-get update
  • Install kernel related files:
sudo apt-get install linux-doc linux-headers-2.6.24-34-fitpc2 linux-image-2.6.24-34-fitpc2 linux-kernel-devel linux-libc-dev linux-source
  • Install display drivers:
sudo apt-get install libdrm2 libdrm2-dbg libdrm-dev libgl1-mesa-dri-psb psb-video xorg-modules-xpsb  xserver-xorg-video-psb xserver-xorg-video-psb-dbg
  • Replace generic /etc/X11/xorg.conf with the xorg.conf provided by CompuLab
  • Open /etc/fstab for editing and remove cdrom related lines (if present).
  • Install mplayer-vaapi, widely used mplayer with video acceleration features:
sudo apt-get install libva1 libva1-dbg  libva-dev mplayer-vaapi mplayer-skin-blue
  • Remove generic image and sources that are not fully compatible with fit-PC2.
sudo apt-get purge linux-image-2.6.24-24-generic linux-headers-2.6.24-24-generic linux-headers-2.6.24-24

Shutdown your SBC-FITPC2 and then power it on again.