Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • mosjka1
    Participant
      Post 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.dat

      Ich
      Participant
        Post count: 38

        cp -r /tmp/hs /
        Error: cp: cannot create regular file `/hs/bin/hs_main´: Text file busy

        What can I do ?

        mosjka1
        Participant
          Post count: 41

          cp -r -f /tmp/hs/* /hs
          cp -r -f /tmp/lib/* /lib
          cp -r -f /tmp/usr/* /usr

          or

          cp -r -f /tmp/hs/* /hs & cp -r -f /tmp/lib/* /lib & cp -r -f /tmp/usr/* /usr

          Paul
          Participant
            Post count: 52

            thanks, successfully update my test vm :-)

            Terminator
            Participant
              Post count: 2

              Hi,

              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 Winger
              Participant
                Post count: 6

                I 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

                Terminator
                Participant
                  Post count: 2

                  Thanks for your help.

                  How xcan i boot in safemode?

                  Do you also have an howto dd from vm to cf card?

                  greetings

                  Slawek
                  Participant
                    Post count: 4

                    Problem “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,

                    tminimax
                    Participant
                      Post count: 4

                      all 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?

                      Marino
                      Participant
                        Post count: 3

                        What 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?

                        Marino
                        Participant
                          Post count: 3

                          Sorry, 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?

                          snoopier
                          Participant
                            Post count: 15

                            hi,

                            why so complicated :-)

                            only 2 files are changed from V4.2 to V4.4.
                            /hs/bin/hs_main
                            /hs/bin/hstk

                            so 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.
                            reboot

                            this works in vm AND on real hw (alix)

                            dont forget to upload project with V4.4

                            best regards

                            tminimax
                            Participant
                              Post count: 4

                              @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

                              snoopier
                              Participant
                                Post count: 15

                                mhhh

                                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…

                                tminimax
                                Participant
                                  Post count: 4

                                  @snoopier:
                                  i updated from 4.2, yes
                                  i tried both, last try only the 2 files

                                Viewing 15 posts - 1 through 15 (of 21 total)
                                • You must be logged in to reply to this topic.