User login
ubuntu
Ubuntu problemen met afsluiten
Hé cool, hetzelfde probleem als ik destijds had met Arch Linux maar nu met Ubuntu Jaunty en er is nog een probleem aan de orde.
Problemen bij het afsluiten van het systeem, namelijk.. het sluit niet af! Het hangt en de monitor 'verliest signaal', hoe lang het duurt voordat het systeem uiteindelijk afsluit weet ik niet, heb nooit langer gewacht dan een minuut of twee.
Na lang gezoek uitgevonden dat het gaat om de volgende bugs..
Bug #71004 - Jaunty: shutdown to hang on a blank screen
Schijnbaar een probleem met usplash, of op zijn minst met het shutdown-script (/sbin/usplash_down). Voor mij is de enige omzeiling van deze bug het uitschakelen van usplash of het buitenspel zetten van het shutdown-script (probleem speelt namelijk alleen bij afsluiten).
Methode 1: Het uitschakelen van splash kan je doen door "splash" te verwijderen van de kernel-bootline in /boot/grub/menu.lst
Methode 2: Het buitenspel zetten van /sbin/usplash_down kan door simpelweg het script te hernoemen, het wordt dan dus ook niet uitgevoerd.
Het moge duidelijk zijn dat je nu dus geen splashscreen meer ziet bij het afsluiten, en alleen methode 2 geeft je nog een splashscreen bij het opstarten.
Bug #211631 - Network is brought down before network filesystems are unmounted (CIFS timeout at shutdown)
Ookal zo'n eeuwen oude bug..
Ik zag shutdown messages in de trant van..
CIFS: VFS server not responding
CIFS: No response for cmd 114 mid 3
De reden hiervoor is dat het netwerk (NetworkManager) wordt afgesloten voordat de samba-shares worden unmount, en het unmounten van een netwerk-share zonder netwerk.. tja, da's lastig.
Methode "omzeilen" (geinspireert door deze zinnige post):Type:
cd /etc/rc6.d
ls -la
Je ziet nu:
S<nr>wpa-ifupdown (nr is waarschijnlijk 15))
en
S<nr>umountnfs.sh (nr is waarschijnlijk 31Type:
sudo mv S31umountnfs.sh S14umountnfs.shDe bedoeling is umountnfs.sh een lager nummer te geven als wpa-ifupdown.sh, daarmee wordt ervoor gezorgd dat de samba-shares worden unmount voordat het netwerk eruit ligt.
Doe dit nu ook vanuit /etc/rc0.d
bash-completion
One of the best features of the Linux shell is the built in completion support. This allows you to complete commands and their arguments a little easier. Command completion is typically bound to the TAB key, which allow you to complete the names of commands stored upon your PATH, file names, or directory names. This is typically used like so:cd /e [TAB]Pressing the TAB key automatically replaces /e with /etc/.orvim ~/.th [TAB] will be replace with vim ~/.thisisaverylongfilenameThis is very useful but not the most complete form of auto completion.One situation I wanted to have auto completion has been when using apt-get, use the [TAB]-key to auto complete the package name I want to install or remove. This is provided by a separate package called bash-completion that's not installed by default on Debian Lenny or Ubuntu 7.10 and so needs to be installed.sudo apt-get install bash-completionFor some reason after installing it still didn't work, for it to work I had to insert the following lines in ~/.bashrcif [ -f /etc/bash_completion ]; then. /etc/bash_completionfiSo now when I want to install fvwm crystal but don't know the exact name of the package, instead of..sudo apt-cache search fvwm crystalto find out the name.I can simply..sudo apt-get install fvwm [TAB][TAB]see fvwm-crystal in the list..-cr[TAB][ENTER]
Scrollkeeper parser errors on Debian/Ubuntu
Doing an apt-get update/upgrade I got a whole bunch of parsing errors../var/lib/scrollkeeper/C/scrollkeeper_extended_cl.xml:3193: parser error : Extra content at the end of the documenttentsList>^/var/lib/scrollkeeper/C/scrollkeeper_extended_cl.xml:3193: parser error : Extra content at the end of the documenttentsList>^How to fix..Get root and move the broken file somewhere safe..mv /var/lib/scrollkeeper/C/scrollkeeper_extended_cl.xml /rootReconfiguring Scrollkeeper and regenerate the file..dpkg-reconfigure scrollkeeperThis fixed it for me..
PANIC: CPU too old for this kernel
Just finished installing ubuntu 7.10 server on Virtualbox but booting gave me the following error: "Panic: CPU too old for this kernel"
This is what I did to fix it:
I booted the install cd and chose "rescue a broken system". After going through the hardware detection procedure I got access to the shell. There I did
<pre><code>apt-get update</code></pre>
<pre><code>apt-get install linux-generic</code></pre>
to install the generic linux kernel.
After reboot (from harddisk) I pressed Escape to get the grub boot menu list. There chose the generic kernel to boot from. I edited /boot/grub/menu.lst afterwards.
<a href="https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/151942" target="_blank">This bug-report</a> seems to be the one that matters.
PANIC: CPU too old for this kernel
Just finished installing ubuntu 7.10 server on Virtualbox but booting gave me the following error: "Panic: CPU too old for this kernel"This is what I did to fix it:I booted the install cd and chose "rescue a broken system". After going through the hardware detection procedure I got access to the shell. There I did<pre><code>apt-get update</code></pre><pre><code>apt-get install linux-generic</code></pre>to install the generic linux kernel.After reboot (from harddisk) I pressed Escape to get the grub boot menu list. There chose the generic kernel to boot from. I edited /boot/grub/menu.lst afterwards.<a href="https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/151942" target="_blank">This bug-report</a> seems to be the one that matters.
Hot Corners for Linux
One of the things I always missed using Gnome has been the ability to switch Virtual Screens by touching the edge of the desktop (edge flipping).Brightside is the app that does the job.How to install on Debian-based systems..<pre><code>sudo apt-get install brightside</code></pre>When installed, go to System -> Preferences -> Screen Actions.Be sure that in the screensaver settings you've checked “Lock screen when screensaver is active”.
