Ubuntu: Difference between revisions
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
To remove old kernel entries in GRUB ([http://digitalpbk.blogspot.com/2008/11/ubuntu-remove-old-kernel-grub-list-long.html] and [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/]) |
To remove old kernel entries in GRUB ([http://digitalpbk.blogspot.com/2008/11/ubuntu-remove-old-kernel-grub-list-long.html] and [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/]) |
||
:<source lang="bash" enclose="prevalid">sudo apt-get remove --purge 2.6.28-11-* #to remove kernel 2.6.28-11</source> |
:<source lang="bash" enclose="prevalid">sudo apt-get remove --purge 2.6.28-11-* #to remove kernel 2.6.28-11</source> |
||
== Devices == |
|||
To see information on all connected input devices: |
|||
{{pl2|<source lang="bash" enclose="prevalid"> |
|||
cat /proc/bus/input/devices |
|||
</source>}} |
|||
I: Bus=0003 Vendor=0c16 Product=0002 Version=0110 |
|||
N: Name="Gyration Gyration RF Technology Receiver" |
|||
P: Phys=usb-0000:00:06.1-1/input0 |
|||
S: Sysfs=/devices/pci0000:00/0000:00:06.1/usb3/3-1/3-1:1.0/input/input7 |
|||
U: Uniq= |
|||
H: Handlers=kbd event7 |
|||
B: EV=10001f |
|||
B: KEY=837fff 2c3027 bf004444 0 0 1 c04 a27c000 267bfa d941dfed e09effdf 1cfffff ffffffff fffffffe |
|||
B: REL=40 |
|||
B: ABS=1 0 |
|||
B: MSC=10 |
|||
== Medibuntu == |
== Medibuntu == |
Revision as of 00:43, 1 March 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 ([1] and [2], or other sol [3])
sudo apt-get remove --purge 2.6.28-11-* #to remove kernel 2.6.28-11
Devices
To see information on all connected input devices:
cat /proc/bus/input/devices
I: Bus=0003 Vendor=0c16 Product=0002 Version=0110 N: Name="Gyration Gyration RF Technology Receiver" P: Phys=usb-0000:00:06.1-1/input0 S: Sysfs=/devices/pci0000:00/0000:00:06.1/usb3/3-1/3-1:1.0/input/input7 U: Uniq= H: Handlers=kbd event7 B: EV=10001f B: KEY=837fff 2c3027 bf004444 0 0 1 c04 a27c000 267bfa d941dfed e09effdf 1cfffff ffffffff fffffffe B: REL=40 B: ABS=1 0 B: MSC=10
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
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 [4], [5], [6]):
The one I use, proposed by Daniel Ellis here [[7]]:
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