User Tools

Site Tools


raspberry-pi:raspbian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
raspberry-pi:raspbian [2018/12/23 23:55]
josep
raspberry-pi:raspbian [2019/01/14 21:18] (current)
josep
Line 48: Line 48:
  
 https://​raspberrypi.stackexchange.com/​questions/​2169/​how-do-i-force-the-raspberry-pi-to-turn-on-hdmi https://​raspberrypi.stackexchange.com/​questions/​2169/​how-do-i-force-the-raspberry-pi-to-turn-on-hdmi
 +
 +===== Force specific HDMI resolution =====
 +Add this to **/​boot/​config.txt**
 +<​code>​
 +hdmi_group=1
 +hdmi_mode=16
 +</​code>​
 +
 +Tip: you can check the current state with **tvservice -s**
 +
 +List of resolutions:​ https://​www.raspberrypi.org/​documentation/​configuration/​config-txt/​video.md
  
 ===== Missing man pages ===== ===== Missing man pages =====
Line 101: Line 112:
 w w
 </​code>​ </​code>​
 +
 +Also, the **UUID** of the partition (different from the previous one) can be modified with:
 +<​code>​
 +sudo tune2fs /dev/sde5 -U <​UUID>​
 +</​code>​
 +
 +===== Automount USB drived =====
 +<​code>​
 +sudo aptitude install usbmount
 +</​code>​
 +
 +Create an override for **systemd-udevd**:​
 +<​code>​
 +sudo systemctl edit systemd-udevd
 +</​code>​
 +
 +And add the following in the editor that opens:
 +<​code>​
 +[Service]
 +MountFlags=shared
 +</​code>​
 +
 +===== Increase systemd service timeout =====
 +
 +Set this in the file **/​etc/​systemd/​system.conf**:​
 +
 +<​code>​
 +DefaultTimeoutStartSec=infinity
 +</​code>​
 +
 +This will avoid timing out the fsck filesystem check on boot.
 +
 +  * https://​serverfault.com/​questions/​927982/​fsck-on-boot-leads-to-systemd-dependency-failure-and-subsequent-boot-failure
 +  * https://​raspberrypi.stackexchange.com/​questions/​88721/​how-to-avoid-fsck-at-boot-timing-out
  
 ===== References ===== ===== References =====
   * https://​jmeosbn.github.io/​blog/​minimal-raspbian-pi/​   * https://​jmeosbn.github.io/​blog/​minimal-raspbian-pi/​
   * http://​angryelectron.com/​udisks-glue-initscript/​   * http://​angryelectron.com/​udisks-glue-initscript/​
 +  * https://​www.raspberrypi.org/​forums/​viewtopic.php?​f=29&​t=44177
 +  * https://​elinux.org/​RPi_Resize_Flash_Partitions
  
raspberry-pi/raspbian.1545605718.txt.gz · Last modified: 2018/12/23 23:55 by josep