Disable touchpad under Ubuntu

This little tutorial shows, how to disable touchpad under Ubuntu (v. 16.04) permanently. The reason is, that I generally use only the red trackpoint of my Lenovo T530 as a pointing device. I don’t need a touchpad anyway. But when working with the trackpoint, I accidentally touch the touchpad with my thumbs many times. That […]

Copy SD-Card with all partitions

To copy a SD-Card to another one including all partitions yo can take the following steps: Find out the device name (f.e.: /dev/mmcblk0): see List, partitioning and format drives or see Get a list of partitions or see Get free disk space and partitions Copy the whole card to an imagefile (Backup): $> sudo dd if=/dev/mmcblk0 of=backup_pi.img bs=4M […]

List, partitioning and format drives

List all devices: $> sudo fdisk -l That will give you an overview about all your drives like that: Disk /dev/sda: 256.1 GB, 256060514304 bytes 255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): […]

Get a list of partitions

To get a list of your currently mounted partitions: $> sudo blkid -o list -w /dev/null Result device fs_type label mount point UUID —————————————————————————————————————————————————————————————- /dev/sda1 ext4 / 79012107-aeb7-4f72-95ca-a9ffaa9f502b /dev/sda5 swap <swap> 34e355d7-dd93-45f7-9696-02c6d4ebb8e8 /dev/sdb1 ntfs /media/7EEFE87C38D4D6CF 7EEFE87C38D4D6CF