User Tools

Site Tools


operating_systems:raspbian:clean_installation

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
operating_systems:raspbian:clean_installation [2019/05/20 12:23] – [Resize / manualy and create /media/data partition] maferreiraoperating_systems:raspbian:clean_installation [2019/05/24 07:34] – [dhclient can't create lease file] maferreira
Line 75: Line 75:
     /dev/mmcblk0p3  6.7G   31M  6.3G   1% /media/data     /dev/mmcblk0p3  6.7G   31M  6.3G   1% /media/data
  
 +===== dhclient can't create lease file =====
 +    # mkdir -p /media/data/var/lib/dhcp
 +    # touch /media/data/var/lib/dhcp/dhclient.leases
 +    # ln -s /media/data/var/lib/dhcp/dhclient.leases /var/lib/dhcp/dhclient.leases
 +
 +    # vi /etc/dhcp/dhclient-enter-hooks.d/samba
 +    # netbios_setup (comment the function call)
 ===== Update raspbian packages and install needed packages ===== ===== Update raspbian packages and install needed packages =====
     # apt update     # apt update
Line 94: Line 101:
              
     # reboot     # reboot
-<note important>**REBOOT** your raspberry pi **AFTER** adding each line to **FSTAB**</note>+<note warning>**REBOOT** your raspberry pi **AFTER** adding each line to **FSTAB**</note>
  
 Systemd-hostnamed doest not start Systemd-hostnamed doest not start
Line 154: Line 161:
     /dev/mmcblk0p1  /boot           vfat    defaults,ro          0       2     /dev/mmcblk0p1  /boot           vfat    defaults,ro          0       2
  
-<note important>**REBOOT** your raspberry pi **AFTER** adding each line to **FSTAB**</note>+<note warning>**REBOOT** your raspberry pi **AFTER** adding each line to **FSTAB**</note>
  
 Systemd manual: https://freedesktop.org/software/systemd/man/systemd.exec.html#id-1.20.8 Systemd manual: https://freedesktop.org/software/systemd/man/systemd.exec.html#id-1.20.8