Jump to content

Jordi

Members
  • Posts

    6
  • Joined

  • Last visited

  1. Dear friends, my system has come back to life. As I explained before, I had an armbian 5.14 Debian Jessy Desktop, and after a september 2018 update, when I rebooted the sistem, it didn't boot again. Before trying anything, I booted from a µSD and made an image of my system ( dd if=/dev/mmblck1 bs=10M of=/mnt/pendrive/image.img ). Then I tried the solutions proposed here, but didn't work for my system. I tried copying /boot files from 5.14 distribution and from new distributions.. I tried with the files that I found on the installation without being updated and also with the updated versions, but any combination worked for me. I don't have much idea about these issues.. but I have a friend and he's a master. My friend's first plan was related with downgrading the u-boot to an older version, but it didn't work, so I won't spent time on it. The second plan worked! The result is not a clean installation.. but it boots.. and lets me access all my services. My server is working.. I'll install a new server on other machine with a clean installation. The idea was : 1) Boot wit a µSD card with a new installation of 5.14 Armbian Jessy Desktop on my OrangePiPlus2 2) Move the installation to the emmc nand-sata-install 3) Boot from emmc 4) Mark as 'hold' the packages related with the boot process (to perform an apt-get update && apt-get upgrade without affecting to these packages, because it's upgrade makes my system fail - we tried and we confirm it) apt-mark hold linux-u-boot-orangepiplus-default apt-mark hold uboot-tols apt-mark hold linux-image-sun8i 5) Now yes, we can update the system apt-get update && apt-get upgrade 6) The system is now updated (not the packages marked as hold) and boots properly 7) Boot from the µSD in order to have complete acces to the emmc files 8) Mount the image we made at the beginning, with the old system (with all our info, but with the /boot damaged) losetup -o 1048576 /dev/loop0 /mnt/pendrive/image.img mnt /dev/loop0 /img/ 8) And now, with rsync, we copy all the files from our old system to the new one, which is upgraded (emmc is mounted on /media) rsync -avpAHX --numeric-ids /img/bin/* /media/bin Important: don't use the -delete modifier.. we need to keep the 3.4.112 files from the new installation (the old installation was upgraded and these files were deleted!) Repeat this rsync command with all these directories: bin - etc - home - lib - opt - root - sbin - selinux - srv - usr - var - mnt - media (in other words: all but dev - proc - run - sys - tmp) 9) Unmount everything (you'll need to execute first losetup -d /dev/loop0 10) My friend edited the file etc/fstab file on the emmc, and he changed the mmblck1 on the first line for mmblck0 (I'm not sure it's necessary.. but he changed) -- Added later BEGIN -- 11) It's important to repeat the hold operations in order to protect the packages we don't want to be updated (the packages database has been replaced with the rsync copy) apt-mark hold linux-u-boot-orangepiplus-default apt-mark hold uboot-tols apt-mark hold linux-image-sun8i -- Added later END -- And ... it worked ! I was really worried.. it was a pitty to loose my server.. My current installation is not clean at all.. but it works, and it allows me to run all the services to be able to do a manual migration process to a new installation. I appreciate so much all the support you gave me on this thread.. Thanks ! Jordi, from Barcelona
  2. Hello! I'm using the Armbian_5.14_Orangepiplus_Debian_jessie_3.4.112_desktop distribution ( we look for the file on the /boot directory, but it was not there ) I'll wait until monday.. my collegue has a plan, I trust my collegue Thanks a lot
  3. @hannibal1986, @Guidalpi Thanks a lot ! Unfortunately, this file does not exist on my installation ! (brand new installation, but from an older distribution !) My collegue has a plan.. he told me he think he'll be able to solve it, but untill monday we won't meet.. so we'll have to wait I'll keep you updated
  4. Thanks a lot Guidalpi ! Unfortunately it did'nt work in my case. I think I've tested every possible combinations of boot files on my system.. and for the moment I've not found the right one.. Fortunately, a friend of mine (a master !) is helping me with this problem. If we (he) find the solution I'll inform here. Is easily reproducible: - I have an OrangePiPlus2 - I use the original installation I installed for my system: Armbian_5.14_Orangepiplus_Debian_jessie_3.4.112_desktop (I have the image) - And then: 1) I burn the image it into a µsd card with Etcher 2) I boot from this µsd on my OPiPlus2 3) I run nand-sata-install to move the installation to the emmc 4) Shutdown, and remove the µsd card 5) Boot from the emmc installation, everything works ok (with kernel 3.4.112 - i see it on /boot) 6) I run apt-get update && apt-get upgrade -> I see the /boot folder and I see kernel has updated to 3.4.113 7) I reboot, and it doesn't work.. the screen remains black and nothing happens Does anybody know if this problem will be solved on a next upgrade ? If it's solved, I can repeat this process, and once I get a system running (based on 5.14 and updated) I'll recover my system Thank you !
  5. Hello ! Same problems on my OrangePiPlus2 .. everything worked fine, untill yesterday.. I ran apt-get update && apt-get upgrade, and when I rebooted, it won't turn on.. (nothing happens.. the screen remains turned off) I can boot my OP+2 with a SD card without problems, and once it's running, I can mount the emmc I have an old Armbian running on my OP+2 -> Armbian_5.14_Orangepiplus_Debian_jessie_3.4.112_desktop What have I done? 1) I made a backup of the /boot directory of my emmc before changing anything 2) I boot with an SD with Armbian_5.59_Orangepiplus_Debian_stretch_next_4.14.65 (the last version published I see) 2.1) I've copied all the /boot/boot.* files from SD to EMMC 2.2) Doesn't work -> but something changed.. my monitor turns on, in graphical mode, with a kind of garnet-color-background (but nothing happens) 3) I boot with an SD with Armbian_5.14_Orangepiplus_Debian_jessie_3.4.112_desktop (the one I've installed on my OP+2) 3.1) I've copied all the /boot/boot.* files from SD to EMMC 3.2) Doesn't work At this moment I'm completely lost :( All my hopes are on this thread . Thank you so much for your support ! Jordi (Barcelona)
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines