Raspberry Pi not updating via rpi-update - Raspberry Pi Forums
hello, have rpi 1 model b on installed raspbian , moved installation external hdd using guide: viewtopic.php?f=29&t=44177
time ago noticed problems openvpn service, cannot start properly: tracked problem down fact there no appropriate modules (tun in case) kernel (how did end in state?)
@ point tried updating, starting apt-get update, apt-get upgrade, apt-get dist-upgrade ran fine, without updating kernel or modules.
tried running rpi-update, downloaded new version of kernel, after reboot (and puzzles me bit) version uname -a reports it's still: linux raspberrypi 3.18.7+ #755 preempt thu feb 12 17:14:31 gmt 2015 armv6l gnu/linux.
@ point remembered installed raspbian on sd card , moved external hdd, /boot partition (again i'm bit puzzled) not in output of df -h: /etc/fstab tells me /boot should there: sd card firmly inserted in slot: how fix mess here?
i'd able to:
time ago noticed problems openvpn service, cannot start properly:
code: select all
root@raspberrypi:/home/pi# service openvpn start [....] starting virtual private network daemon: serversiocsifaddr: no such device : error while getting interface flags: no such device siocsifdstaddr: no such device : error while getting interface flags: no such device siocsifmtu: no such device failed!
code: select all
root@raspberrypi:/home/pi# uname -a linux raspberrypi 3.18.7+ #755 preempt thu feb 12 17:14:31 gmt 2015 armv6l gnu/linux root@raspberrypi:/home/pi# cd /dev/net root@raspberrypi:/dev/net# ls tun root@raspberrypi:/dev/net# ls -l total 0 crw-rw-rwt 1 root root 10, 200 jan 1 1970 tun root@raspberrypi:/dev/net# modinfo tun libkmod: error ../libkmod/libkmod.c:554 kmod_search_moddep: not open moddep file '/lib/modules/3.18.7+/modules.dep.bin' error: module alias tun not found. root@raspberrypi:/dev/net# cd /lib/modules/ root@raspberrypi:/lib/modules# ls -a . .. 4.1.7+ 4.1.7-v7+
tried running rpi-update, downloaded new version of kernel, after reboot (and puzzles me bit) version uname -a reports it's still: linux raspberrypi 3.18.7+ #755 preempt thu feb 12 17:14:31 gmt 2015 armv6l gnu/linux.
@ point remembered installed raspbian on sd card , moved external hdd, /boot partition (again i'm bit puzzled) not in output of df -h:
code: select all
root@raspberrypi:/home/pi# df -h filesystem size used avail use% mounted on rootfs 459g 8.9g 427g 3% / /dev/root 459g 8.9g 427g 3% / devtmpfs 87m 0 87m 0% /dev tmpfs 19m 212k 18m 2% /run tmpfs 5.0m 0 5.0m 0% /run/lock tmpfs 37m 0 37m 0% /run/shm
code: select all
root@raspberrypi:/home/pi# cat /etc/fstab proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/sda1 / ext4 defaults,noatime 0 1 # swapfile not swap partition, no using swapon|off here on, use dphys-swapfile swap[on|off]
code: select all
root@raspberrypi:/home/pi# lsblk name maj:min rm size ro type mountpoint sda 8:0 0 465.8g 0 disk └─sda1 8:1 0 465.8g 0 part / mmcblk0 179:0 0 7.3g 0 disk ├─mmcblk0p1 179:1 0 56m 0 part └─mmcblk0p2 179:2 0 2.7g 0 part
i'd able to:
- figure out why on earth there's no /boot partition sd card though sd recognized , listed in fstab
upgrade pi
start openvpn
are there files in /boot directory? guess, sounds copied on sda, including /boot, can't used mount point. if so, move in /boot temp directory, make sure /boot empty, mount /dev/mmcblk0p1. can re-run rpi-update.
raspberrypi
Comments
Post a Comment