Closed sidey79 closed 6 years ago
I'll check that next week. Did you build the installer by yourself or used the latest release?
I used the latest Release .
try a different SD-card.
I have currently no other available. But with Release 2.0 IT works
Remarkable. I've built from the devel
branch this weekend several times without any issues.
I saw this issue when I was doing a reinstall, so it definitely exists. The issue is also reproducible every time.
Yes, that ist exactly what i tried. Reinstall a cortupted System on a new SD card
I was doing a reinstall as described here since I was updating my installer-config.txt.
https://github.com/FooDeas/raspberrypi-ua-netinst#reinstalling-or-replacing-an-existing-system
I just did two installs from the devel
branch using f2fs and they worked fine.
If you build from the devel it will include 4.9.80-v7+ modules so you will not see this issue. It will only happen with the pre-built images.
Just tried to reinstall from devel branch. It worked once, did not work the second time around:
depmod: can't change directory to 'lib/modules/4.14.30-v7+': No such file or directory modprobe: can't change directory to '4.14.30-v7+': No such file or directory ... Applying new partition table... OK Initializing /boot as vfat... OK Copying /boot files in... OK Loading f2fs module... Error: The installation could not be completed!
The RPF kernel was just updated from 4.9.x to 4.14.x, but I was able to build and use an installer today with the new kernel, so I don't think that's the problem.
I think it is. If one does not do a new build when the kernel changes, it will cause issues with reinstall. These updates were available for my rpi3, but I did not do the update because of reinstall:
libraspberrypi-bin 1.20180328-1
libraspberrypi0 1.20180328-1
raspberrypi-bootloader 1.20180328-1
raspberrypi-kernel 1.20180328-1
raspberrypi-sys-mods 20180328+1
After the reinstall, the second reinstall attempt failed, probably because the ua-netinst upgraded the packages. I guess the reinstall is using the upgraded kernel and that causes the failure.
It appears that something has changed recently and now the cpio
package must be explicitly installed, otherwise the build.sh script produces a broken installer. Please confirm that you have that package installed.
The cpio
package is not installed on my setup. I will check with the release version with cpio
installed to see if that makes a difference. Thank you for the info.
Edit: I actually misunderstood you. The missing cpio does not explain why the release from last December fails to reinstall.
The cpio
package has not been part of a default installation for a long time.
When I developed my script to build the installer on a RPi automagically I always made sure to first install git
, curl
, zip
and cpio
. Usually the first three are already present when I start a build.
I'll prepare a RC of the latest devel. I think that will fix this problem.
Or is this a duplicate of #147?
Please test with the pre-release: v2.2.0 RC1
The pre-release installer hangs on a clean install when it is installing libjavascriptcoregtk-4.0-18. I am installing these packages:
packages=apticron,curl,dnsutils,emacs,emacs-goodies-el,gettext,git,git-crypt,git-doc,gitk,git-gui,htop,jq,locate,make,meld,ntpdate,nullmailer,telnet,xauth,yadm,zsh,zsh-doc
EDIT:
This was caused by something else than your installer. The RC works.
https://github.com/FooDeas/raspberrypi-ua-netinst/blob/d50d417d22d8fd4ba47af24fca153f517d6dda80/scripts/opt/raspberrypi-ua-netinst/install.sh#L1503
Script hangs on release 2.1.0 while trying to load f2fs module.
Bevore it can't change to the right verson of the libs. 4.9.59 is on the filesystem but it tries for /lib/modules/4.9.24-v7 which doesn't exists