Recuperar grub 2

http://elsoftwarelibre.wordpress.com/2009/11/17/recuperar-grub2-karmic-koala-y-solucionar-error-en-el-grub2/

Después de instalar Karmic

sudo apt-get remove openjdk-6 openjdk-6-jre-lib openjdk-6-jre-headless

sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”

sudo apt-get update

sudo apt-get install wine audacity nted ogmrip dvdrip easytag isomaster kino pitivi tuxguitar songwrite vlc gnome-themes-extras gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse flashplugin-nonfree gimp-data-extras sun-java6-jre inkscape startupmanager pingus gstreamer0.10-plugins-ugly-multiverse ubuntu-restricted-extras oggconvert gimp-gap pidgin-plugin-pack scribus screenlets openoffice.org-base billard-gl flobopuyo gbrainy sudoku tuxtype amsn emesene gpaint xpaint qcad xpdf gcompris tuxpaint childsplay gperiodic convertall gnome-commander xabacus ssh-client ssh vncviewer gparted msttcorefonts thunderbird avidemux smbclient openssh-server vim startupmanager openclipart openclipart-svg openclipart-openoffice.org openclipart-png rar metacity-themes gtk-recordmydesktop nfs-client libnss-ldap libpam-ldap compiz-fusion-plugins-extra simple-ccsm

sudo apt-get install kubuntu-desktop kde-l10n-es kde-i18n-es

sudo mkdir /opt/jclic
sudo mkdir /opt/jclic/projects
sudo mkdir /usr/share/fonts/truetype/aula

sudo mkdir /etc/skel2
sudo mkdir /etc/pam.d2
sudo mount 192.168.1.254:/etc/skel-clients /etc/skel2
sudo mount 192.168.1.254:/etc/pam.d-clients /etc/pam.d2

sudo apt-get update && sudo apt-get upgrade –force-yes -f -y

sudo gconftool-2 –direct –config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory –type Boolean –set /apps/gdm/simple-greeter/disable_user_list True

sudo gconftool-2 –direct –config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory/ –type Boolean –set /desktop/gnome/interface/menus_have_icons True

sudo -u gdm gconftool-2 --set --type boolean /apps/gdm/simple-greeter/disable_user_list true

gconftool-2 –type Boolean –set /apps/metacity/general/compositing_manager True

gconftool-2 –type Boolean –set /desktop/gnome/interface/menus_have_icons True

cd /usr/bin/
mv java java_
mv java_vm java_vm_
mv javaws javaws_
sudo ln -s /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java
sudo ln -s /usr/lib/jvm/java-6-sun-1.6.0.20/bin/javaws
sudo ln -s /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java_vm

unidades.sh Karmic

#!/bin/sh
#Si no realiza el montaje por no estar la red preparada, descomentar la siguiente línea
sleep 6
mount -o nolock 192.168.1.254:/home /home/users
mount -o nolock 192.168.1.254:/opt/jclic/projects_server /opt/jclic/projects
rsync -azr –del -e “ssh -i /home/administrador/cron/thishost-rsync-key” administrador@192.168.1.254:/usr/share/fonts/truetype/aula /usr/share/fonts/truetype/aula/
exit 0

Ldap Client Karmic

Ficheros de configuración:

/etc/ldap.conf
/etc/pam.d/common-account
/etc/pam.d/common-auth
/etc/pam.d/common-passwd
/etc/pam.d/common-session
/etc/pam.d/gdm
/etc/pam.d/login

ldap-client-karmic

 

/etc/pam.d/common-
/etc/pam.d/common-