Installing Ubuntu 9.10 Karmic Koala 64 bits (HP Pavilion dv5-1020ep)

2009/11/05 by Paulo Pereira

~/categories/Linux #Linux #Ubuntu #Ubuntu 9.10 #Karmic Koala #HP dv5-1020ep

Last week Ubuntu 9.10, codename Karmic Koala, was released.

I’m doing a clean install because I want to use ext4 as my filesystem. It’s possible to convert ext3 to ext4, but I prefer a clean install.

First my laptop. I will be the using the 64 bit desktop cd (ubuntu-9.10-desktop-amd64.iso).

Before you start

Running the live cd

Hardware to check (during the live cd session)

Hard Drive Partition Layout

I will keep my storage area as an ext3 filesystem.

 /dev/sda1      ntfs      Vista                  36002 MB
 /dev/sda3      ext4     /                        10240 MB          -- primary
 /dev/sda5      ext4     /home               10240 MB          -- extended
 /dev/sda6      swap                               2048 MB          -- extended
 /dev/sda7      ext3     /storage            93056 MB          -- extended
 /dev/sda2      ntfs      Vista Recover      8450 MB

Post-install: Wired Network

I had to manually configure my IP because I don’t have DHCP activated in my router.

Internet is on!

Post-install: Graphics Card

I had a warning about an available proprietary driver. Just had to activate it. Ubuntu downloaded and installed the driver. Pretty simple.

Restart needed.

Post-install: Updates

Update Manager warned me about 36 available updates. Just letting it go…

Post-install: File System

Besides the / and /home partitions, only root have permissions to write in every other partitions. In my case /storage.

So, we have to add permissions to our user:

sudo chown -R youruser:youruser /storage
sudo chmod -R 755 /storage

Click here for more info.

Post-install: Multimedia

References: Complete Streaming, Multimedia & Video How-to and Medibuntu

sudo wget -O /etc/apt/sources.list.d/medibuntu.list
wget -q -O- | sudo apt-key add - && sudo apt-get update
sudo apt-get purge flashplugin-nonfree && \
sudo mkdir /usr/lib/flashplugin-nonfree && \
sudo cp -f ~/Desktop/ \
 /usr/lib/flashplugin-nonfree/ && \
sudo nspluginwrapper -i \
 /usr/lib/flashplugin-nonfree/ && \
sudo ln -sf /usr/lib/nspluginwrapper/plugins/ \
 /etc/alternatives/firefox-flashplugin && \
sudo ln -sf /etc/alternatives/firefox-flashplugin \
 /usr/lib/firefox-addons/plugins/ && \
sudo rm -f /usr/lib/firefox/plugins/
sudo apt-get remove gnash gnash-common libflash-mozplugin \
 libflashsupport mozilla-plugin-gnash swfdec-mozilla && \
sudo apt-get install alsa-oss faac faad flashplugin-nonfree \
 gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad \
 gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly \
 gstreamer0.10-plugins-ugly-multiverse ia32-libs icedtea-gcjwebplugin \
 liblame0 non-free-codecs openjdk-6-jre unrar
sudo apt-get remove kaffeine-mozilla mozilla-helix-player \
 mozilla-mplayer mozilla-plugin-vlc totem-mozilla xine-plugin && \
sudo apt-get install gnome-mplayer gecko-mediaplayer
sudo apt-get install libdvdcss2 libdvdread3 libdvdnav4 build-essential debhelper fakeroot regionset
sudo regionset

Check the reference link, because it as many other things you’ll want.

This time I only add the Medibuntu repositorie. Ubuntu as been installing codecs on the go as I need them.

Post-install: Preferences and Look and Feel

Here’s some things I changed right away:

Post-install: SAMBA Server

Also check this post.

Post-install: LAMP Server

To install Apache, MySQL and PHP, check here.

Post-install: Software Sources

deb karmic free non-free
deb karmic main
deb karmic main

Post-install: extra software

List of extra installation software installed:

Post-install: enable compositing

I need this to be able to use the Docky theme in GnomeDo without having any Visual Effects enabled in the system.

gconftool-2 -s --type bool /apps/metacity/general/compositing_manager true