Search This Blog

Friday, 25 January 2013

Upgrade Ubuntu 11.04 to 12.10 (nvidia problems)

After having successfully upgraded my desktop, I did the upgrade from Ubuntu 11.04 (Natty Narwhal) to 12.10 (Quantal Quetzal) on my laptop. Unfortunately this cannot be done in one step, three complete upgrades have  to be done:

  1. 11.04 to 11.10
    no problems occurred. 
  2. 11.10 to 12.04
    The x-server could not start up. The screen just changed from green to red, from red to orange and so on ...
    Somehow the nvidia driver modules were removed. To recover from this I had to reboot in "recovery mode" and to select "basic video".
    Once this was done I installed the nvidia driver again and the module was added automatically to the kernel. Now rebooting worked nicely and the nvidia drivers are running again.
  3. 12.04 to 12.10
    ongoing ...

Wednesday, 23 January 2013

Backup with tar and rsync

For example to archive your home directory you could use the following command:
tar cvfj home.tar.bz2 --exclude=home.tar.bz2 /home/myusername 
The integrity of the compressed archive can then be tested by decompressing it again:
tar xvjf home.tar.bz2 -O > /dev/null

Until recently I believed that the cp command was safe. However I observed that it fails quite regularly when copying large files to a windows file system. I hope rsync can solve this problem:
rsync -av home.tar.bz2 /windows_partition/ 

Upgrade Ubuntu 11.10 to 12.04

I have done an upgrade from Ubuntu 11.10 (Oneiric Ocelot) to 11.10 (Precise Pangolin) using the "Update Manager".

This time the grub  bootloader was configured correctly and also the old kernel images were deleted correctly. This is a major improvement compared to the previous upgrades.

I have seen an error message "broken pipe" during start-up. No idea what is behind this message, however the system seems to work.

As usual the /etc/apache2/apache2.conf was overwritten. To enable phpmyadmin one needs to add the following line:
Include /etc/phpmyadmin/apache.conf