Table des matières

Raspberry Pi

Sources:

Distributions

Own Distrib Builder

Matériels

Emulation/Virtualisation

Projets

Apps

MPD

Repository

Interne

Externe

Optimisations

https://korben.info/f2fs-systeme-de-fichiers-pense-raspberry-pi-linstaller.html

http://www.instructables.com/id/Ultimate-Raspberry-Pi-Configuration-Guide/

Upgrade

Récupérez 1 GB d’espace

Si vous utilisez Rapsbian sur votre Raspberry Pi, vous ne le savez peut être pas, mais il est possible de libérer 1 GB d'espace sur la carte SD assez facilement. En effet, LibreOffice, Wolfram, Minecraft et Sonic qui sont présents par défaut dans l'OS bouffent un max de place.

Il faut purger et désinstaller les applications comme ceci :

sudo apt-get autoremove –purge wolfram-engine minecraft-pi sonic-pi libreoffice*

Terminez ensuite avec un petit :

sudo apt-get clean

MOTD

https://github.com/gagle/raspberrypi-motd

Enable ssh

http://blogmotion.fr/diy/raspberry-pi-activer-ssh-boot-15707

Utiliser une horloge RTC

Wifi

AP ou Hotspot

AdWare Blocking

DNS

Boot Splash

http://beunlike.com/raspberry-pi-ajouter-un-ecran-de-demarrage/

No-Wire

http://blog.self.li/post/63281257339/raspberry-pi-part-1-basic-setup-without-cables

RetroPIE

Reduce Usage

Plus d'écran de veille

http://www.framboise314.fr/interdire-lecran-noir-de-jessie-lite/

Read-Only

http://david.mercereau.info/raspberrypi-raspbian-en-lecture-seul-readonly-pour-preserver-la-carte-sd/

Git Server

http://www.instructables.com/id/GitPi-A-Private-Git-Server-on-Raspberry-Pi/?ALLSTEPS

PIXEL

LegoCAD

Power

http://korben.info/raspberry-pi-enlever-petit-carre-arc-ciel.html

Access over USB

Nextcloud

cyclon robotics

Light Web Server

Peritel -> VGA

https://www.journaldulapin.com/2017/03/21/peritel-vga-raspberry/

Supervision screen

http://blogmotion.fr/diy/chromium-demarrage-raspberry-pi-15683

Security cam

Netcat Pipe

https://learn.adafruit.com/raspipe-a-raspberry-pi-pipeline-viewer-part-2/networked-pipes-with-netcat

Network-manager

https://raspberrypi.stackexchange.com/questions/29783/how-to-setup-network-manager-on-raspbian

IMG only used space

Use dd, with the count option.

In your case you were using fdisk so I will take that approach. Your “sudo fdisk -l “produced:

  Disk /dev/sda: 64.0 GB, 64023257088 bytes
  255 heads, 63 sectors/track, 7783 cylinders
  Units = cylinders of 16065 * 512 = 8225280 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0x0000e4b5
  Device Boot      Start         End      Blocks   Id  System
  /dev/sda1   *           1          27      209920   83  Linux
  Partition 1 does not end on cylinder boundary.
  /dev/sda2              27         525     4000768    5  Extended
  Partition 2 does not end on cylinder boundary.
  /dev/sda5              27         353     2621440   83  Linux
  /dev/sda6             353         405      416768   83  Linux
  /dev/sda7             405         490      675840   83  Linux
  /dev/sda8             490         525      282624   83  Linux

The two things you should take note of are 1) the unit size, and 2) the “End” column. In your case you have cylinders that are equal to 8225280 Bytes. In the “End” column sda8 terminates at 525 (which is 525[units]*16065*512 = ~4.3GB)

dd can do a lot of things, such as starting after an offset, or stopping after a specific number of blocks. We will do the latter using the count option in dd. The command would appear as follows:

  sudo dd if=/dev/sda of=/your_directory/image_name.iso bs=8225280 count=526

Where -bs is the block size (it is easiest to use the unit that fdisk uses, but any unit will do so long as the count option is declared in these units), and count is the number of units we want to copy (note that we increment the count by 1 to capture the last block).

IFTTT

https://thepihut.com/blogs/raspberry-pi-tutorials/using-ifttt-with-the-raspberry-pi

AirPrint Server

http://linuxwin.com/cups-airprint-on-raspberry-pi/

Command-not-found bug

https://raspberrypi.stackexchange.com/questions/95292/update-command-not-found-gives-keyerror-rpi-after-upgrading-to-rapsbian-b

Email IP on boot

https://medium.com/@oliverscheer/where-is-my-raspberry-pi-let-your-pi-send-you-an-email-with-its-ip-address-3a4feba7bef4