Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 14:07 < josch> vkoskiv: you mean if you wan to port an existing system to a different SoM?
- 14:20 < vkoskiv> Yeah, I'd like to keep my install if possible
- 14:23 < josch> vkoskiv: i'm in the same boat a you, just for a different SoM :)
- 14:23 < josch> vkoskiv: do you also have your / on nvme and /boot on emmc?
- 14:25 < vkoskiv> Yes. / on encrypted lvm on the nvme, then /boot on emmc
- 14:26 < josch> okay, same setup over here
- 14:27 < josch> i shall write down the exact steps once my ls1028a arrives but here is what i plan on doing:
- 14:27 < josch> boot the system from sd-card, luksOpen my lvm, mount the volume on /mnt
- 14:27 < josch> then mount /boot from emmc into /mnt/boot, mount /proc and /sys as well
- 14:28 < josch> edit /mnt/etc/fstab to have the correct entry for /boot
- 14:29 < josch> either write the correct value for your board into /etc/flash-kernel/machine or just delete the file
- (it is only useful for switching from single to dual on imx8mq as flash-kernel will otherwise use the
- value from /proc/device-tree/model)
- 14:29 < josch> then chroot into /mnt and run update-initramfs -u as well as flash-kernel
- 14:29 < josch> and in my case: u-boot-update because i use u-boot-menu
- 14:30 < josch> maybe i forgot a step but i have to try this out
- 15:13 < vkoskiv> I'll document my findings as well when I start working on swapping
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement