-
AuthorPosts
-
mosjka1Participant2015-12-12 at 18:41Post count: 41
update method the same like (4.3) http://www.roelbroersma.nl/forums/topic/hs-update-4-3/#post-1741
upload firmware.dat to HS eg /home/temp directory a) rename firmware.dat file to firmware.zip b) extract INITRD file from firmware.zip (eg unzip) c) rename INITRD to INITRD.gz d) gzip -d INITRD.gz e) cpio -i < ./INITRD f) copy listed directories (/hs /lib /usr) to / g) restart HS, upload new project
Version 4.4
http://www.megafileupload.com/e2M7/firmware.datIchParticipant2015-12-12 at 21:47Post count: 38cp -r /tmp/hs /
Error: cp: cannot create regular file `/hs/bin/hs_main´: Text file busyWhat can I do ?
mosjka1Participant2015-12-13 at 00:25Post count: 41cp -r -f /tmp/hs/* /hs
cp -r -f /tmp/lib/* /lib
cp -r -f /tmp/usr/* /usror
cp -r -f /tmp/hs/* /hs & cp -r -f /tmp/lib/* /lib & cp -r -f /tmp/usr/* /usr
PaulParticipant2015-12-13 at 11:30Post count: 52thanks, successfully update my test vm :-)
TerminatorParticipant2015-12-23 at 22:49Post count: 2Hi,
i tried to update from 4.0 to 4.4 like mentioned in your first post.
All works fine but if i try:
cp -r -f /tmp/lib/* /lib
i get:
Kernel Panic – not syncing: Try to kill init!
If i reboot the System the startscreen displays Version 4.4 but i dont know if he copyed all files from lib?
Any idea?
fox_wingerParticipant2015-12-25 at 15:24Post count: 6I had the same issue when i tried it on the hardware.
I updated my VMware successfully and just used DD to copy it all to my CF card, inserted into the server and it worked perfectly.You can also try to boot your server into safe mode and copy the files then
TerminatorParticipant2015-12-25 at 23:42Post count: 2Thanks for your help.
How xcan i boot in safemode?
Do you also have an howto dd from vm to cf card?
greetings
SlawekParticipant2015-12-31 at 01:28Post count: 4Problem “Kernel Panic – not syncing: Try to kill init!” could be related with order copy operation of directories, please copy with following order:
hs, lib and last usr, Noticed this same issue, usually when some library (libselinux.so.1) are overwritten, please try copy with mentioned order,
Regards,tminimaxParticipant2016-04-24 at 12:21Post count: 5all seems to be good, but after copying the files an automated reboot will occur and after that the machine would do a permanent Loop boot because of a permission error?
MarinoParticipant2016-06-24 at 15:19Post count: 3What are the consequences if there is a kernel panic?
I’ve just updated successfully a test VM. My Alix1D was next. This was done with terminal on Mac via SSH. When copying the lib-Folder, the SSH connection was disconnected. Expert 4.2 says, that the FW ist not the same. Expert 4.4 with imported Project worked with transfer. After that I changed the usr-folder too.
At the moment everythig seems to be working normal.
Should I restore my backup or is there no problem when everything is working?
MarinoParticipant2016-06-24 at 15:22Post count: 3Sorry, I can not edit my post.
Is it possible to unpack everything, shutdown the system and copying the 3 folders manually on the CF-Card? So that the system is not running during the copy-process?snoopierParticipant2016-07-08 at 13:46Post count: 15hi,
why so complicated :-)
only 2 files are changed from V4.2 to V4.4.
/hs/bin/hs_main
/hs/bin/hstkso extract INITRD with cpio as describted above then
move or rename old 2 files e.g to hs_main.bak ….
and copy with cp -r -f only the new 2 files.
rebootthis works in vm AND on real hw (alix)
dont forget to upload project with V4.4
best regards
tminimaxParticipant2016-07-08 at 18:52Post count: 5@snoopier:
after a reboot i end into an “permission error” and that will cause a permantent reboot.also setting full rights to the two copied files will not solve the problem
any ideas?
–> can you upload a hs 4.4 vmware image somewhere?
thanks
snoopierParticipant2016-07-11 at 14:01Post count: 15mhhh
you update from V4.2 ?
do you login with winscp and user root ?
do you extract the ramdisk with cpio on the target or copied only the 2 files ?
you double checked user rights from old and new files inclusive user/groups with ls -la ?
i have no idea why this should not work for you :-(
if you extract with gz and cpio the user right are still correct no need to chmod…
tminimaxParticipant2016-07-23 at 19:35Post count: 5@snoopier:
i updated from 4.2, yes
i tried both, last try only the 2 files -
AuthorPosts
- You must be logged in to reply to this topic.