Jump to content


  • Posts

  • Joined

  • Last visited

  1. Whoop, it works, thanks! I've followed the (non-boot) parts in your tutorial. thus I created a single partition on the SSD, formatted it with LUKS/ext4 and copied the rootfs over to my SSD. I've performed some steps on the original (source) OS as well, such as installing dropbear, copying the authorized keys and editing the crypttab and fstab (basically step 9) + update initramfs. After rebooting and configuring the new rootfs such as providing new root password etc. I've added two lines to the fstab on the new or target-rootfs: UUID=old-rootfs-uuid-here /oldfs ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 2 /oldfs/boot /boot none bind 0 0 Now the new system is aware of the boot folder. When I run update-initramfs on the new rootfs, the boot folder is updated accordingly. Not sure if this is the best way to do it, suggestions and improvements are welcome. When starting the newly copied system for the first time, I noticed that I couldn't use ssh to login for the first time (with root + password "1234"). Is this expected behaviour?
  2. Thank you for the comprehensive tutorial! Instead of installing the encrypted system on an SD/eMMC I'd like to move the rootfs to my SSD and keep the boot partition on the SD-card (I'm using the Odroid HC4, unfortunately can't boot directly from SSD). Is it sufficient to edit the armbianEnv.txt-file in the SD-card's boot-partition? Do you have any suggestions on this?
  3. Good to see so many responses (indicates an active community :)) @Green Daddythanks for your step-by-step-guide! My HC4 is happy with the provided solution.
  4. Thanks for your response. Thus I could flash a separate boot loader to an SD-card? Which boot loader do I need?
  5. My current HC4-setup consists of 1 SSD and 1 HDD. The SSD contains the most recent Armbian-image (Buster-based) (https://redirect.armbian.com/odroidhc4/Buster_current). Long story short: it won't boot from SSD, and Google tells me it is because Armbian is not compatible with Petiboot. Armbian suggests the following solution: "Important: To be able to boot clean Armbian mainline based u-boot / kernel experiences, you need to remove incompatible Petitboot loader that is shipped with the board. From the Petitboot, go for “Exit to shell” and these commands to remove the Petitboot:" # flash_eraseall /dev/mtd0 # flash_eraseall /dev/mtd1 # flash_eraseall /dev/mtd2 # flash_eraseall /dev/mtd3 "This will make your SPI flash memory empty and would start from SD on next boot." However, it doesn't mention whether this works for booting from an SSD. Does it? And if not, is there a possibility of booting Armbian from an SSD without using an SD-card? Thanks in advance! P.S. I found the following (unresolved) related question: https://www.reddit.com/r/ODroid/comments/moxxhl/uboot_from_sata_on_hc4/
  • Create New...