Ubuntu: Difference between revisions

From miki
Jump to navigation Jump to search
(→‎Medibuntu: Adding the repository)
(→‎Administration: Remove old kernel entries from grub)
Line 2: Line 2:


This page is dedicated to the Ubuntu Linux distribution or derivatives
This page is dedicated to the Ubuntu Linux distribution or derivatives

== Administration ==
=== Remove old kernels from GRUB ===
To remove old kernel entries in GRUB delete package like '''linux-image-2.6.28-11-generic''' ([http://www.linuxquestions.org/questions/ubuntu-63/need-to-remove-old-versions-of-ubuntu-kernel-466660/], or other sol [http://www.howtogeek.com/howto/ubuntu/clean-up-ubuntu-grub-boot-menu-after-upgrades/])


== Medibuntu ==
== Medibuntu ==

Revision as of 21:15, 3 January 2010

This page is dedicated to the Ubuntu Linux distribution or derivatives

Administration

Remove old kernels from GRUB

To remove old kernel entries in GRUB delete package like linux-image-2.6.28-11-generic ([1], or other sol [2])

Medibuntu

To install the Medibuntu repositories (see here)

sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list && sudo apt-get -q update && sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring && sudo apt-get -q update

Troubleshoot

CIFS shares not properly unmounted during shutdown

When shutting down the PC with Samba (CIFS) shares mounted, the shutdown sequence hangs with the following error messages:

CIFS VFS: server not responding
CIFS VFS: no response for cmd 50 mid xxx 

This is apparently a bug that is creeping in Ubuntu since a long time ago. Basically there are 2 possible fixes (as in [3], [4], [5]):

The one I use, proposed by Daniel Ellis here [[6]]:

sudo mv /etc/rc0.d/S31umountnfs.sh /etc/rc0.d/K31umountnfs.sh
sudo mv /etc/rc0.d/S40umountfs /etc/rc0.d/K40umountfs
sudo mv /etc/rc6.d/S31umountnfs.sh /etc/rc6.d/K31umountnfs.sh
sudo mv /etc/rc6.d/S40umountfs /etc/rc6.d/K40umountfs

Another one (not tried yet):

sudo ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K15umountnfs.sh
sudo ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K15umountnfs.sh