bderleta Posted February 14 Posted February 14 (edited) Hello, I'm trying to install Armbian using `armbian-install` on NVMe, with bootloader on eMMC. I have installed 64GB Foresee eMMC module and 256GB WD SN530 2242 SSD. When I boot from SD card, both storages are detected. Using fdisk, I made them both `dos` (mbr) partitioned. Then I invoke `armbian-install`, it proceeds without any problems using eMMC+sata/nvme/usb option, and I have now 512 MB boot partition on eMMC, the rest of eMMC space as secondary, f2fs partition, and ext4 partition nvme0n1p1 containing the rest of the system. I power the system off, take the SD card out, and boot again.. and I'm stuck in initramfs. From it, I can mount the nvme0n1p1 manually without problems, so the partition is readable and mountable. When I mount nvme0n1p1 as `/` and try to `exit` from initramfs, I am getting kernel panic, but I don't know if it's related or not. It seems to be not a PSU issue (I tried a few 5V 2-3A), not an SD card issue (the system boots and works fine from it), nor the eMMC issue (I installed the system onto the 64GB eMMC only, without nvme, and it worked as well). Tried installing both Armbian_community_24.5.0-trunk.6_Orangepi3b_bookworm_legacy_5.10.160_minimal and Armbian_23.11.1_Orangepi3b_bookworm_edge_6.6.2, both exhibit the same behavior. What's wrong with me and what can I do to fix the boot? I searched for solutions around, but did not find any similar... Edited February 14 by bderleta 0 Quote
joekhoobyar Posted February 26 Posted February 26 I'm trying the same config at the moment, will let you know 0 Quote
Solution joekhoobyar Posted February 26 Solution Posted February 26 For me, the following works: Foresee 64GB EMMC, 512GB NVME (no SD card) Running armbian-install, choosing Boot from SD + system on SATA/USB/NVME Rebooting Perhaps when you were resizing, repartitioning, etc., your boot volume, something got messed up? 0 Quote
bderleta Posted February 26 Author Posted February 26 (edited) Meanwhile, I managed to do it another way: - "Boot from eMMC / system on eMMC" via armbian-install -> that creates two partitions on eMMC, one boot, one rootfs - fdisk, mkfs.ext4 on nvme, rsync all files from rootfs eMMC partition to nvme - note down UUID of nvme partition from blkid, replace it in /etc/fstab and /boot/armbianEnv.txt, reboot - nuke rootfs partition on eMMC as it's not used anymore Did you boot from eMMC? You mention no SD card, yet somehow you could run armbian prior to install it; or PXE boot? Edited February 26 by bderleta 1 Quote
joekhoobyar Posted March 1 Posted March 1 I used a cheap eMMC to SD adapter to write the armbian image directly the EMMC rather than an SD card. That's how I usually install armbian. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.