Roberto Rodrigues Posted August 31 Share Posted August 31 (edited) Hi all, I have been using armbian jammy on my potato without issues. But since the weekend it only boots to initramfs and says can't find mmcblk1p1 I put the sdcard a live gparted and partitions are and verified. In initramfs I can find in /dev the mmcblk0p1 but not the mmcblk1p1 Now how can I change the boot or the name of the device? Board: Le Potato Edited August 31 by Roberto Rodrigues Wring tag 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted August 31 Share Posted August 31 Moved. Since the topic is tagged as "solved" would you mind sharing your solution? 0 Quote Link to comment Share on other sites More sharing options...
Roberto Rodrigues Posted August 31 Author Share Posted August 31 That is only tag available. I can't put another one. This issue isn't solved at all. 0 Quote Link to comment Share on other sites More sharing options...
Roberto Rodrigues Posted August 31 Author Share Posted August 31 Another info, in initramfs I created a symlink to the missed file ln /dev/mmcblk0p1 /dev/mmcblk1p1 After having the link created I typed exec init and it started to boot, but off course it fails, because the initramfs gets cleaned. So where the hell is where I change the name is the mmc file to boot? Best regards 0 Quote Link to comment Share on other sites More sharing options...
Roberto Rodrigues Posted September 2 Author Share Posted September 2 Is there anyone who can at least explain me how is the boot on armbian lepotato configurable? Is it grub, I know already it isn't but just to exemplify, I wanna change the config of the boot of possible at least? 0 Quote Link to comment Share on other sites More sharing options...
Solution Gunjan Gupta Posted September 4 Solution Share Posted September 4 This is interesting one. Kind of like how sd card names are different between different version of RPi. You haven't mentioned the image you are using. But from the post I am deducing it was working fine for you until you installed an update? I am not 100% sure as this is not a device I work with. But generally the root device is set in a file called armbianEnv.txt. Here is something for you to try mount your root partition mount /dev/mmcblk0p1 /mnt check if /mnt/boot/armbianEnv.txt exists ls /mnt/boot/armbianEnv.txt if it doesn't exists, create it. Replace <Your UUID> with UUID shown in output of blkid command echo "rootdev=UUID="<Your UUID>" > /mnt/boot/armbianEnv.txt unmount your root partition umount /mnt and reboot 0 Quote Link to comment Share on other sites More sharing options...
Roberto Rodrigues Posted September 12 Author Share Posted September 12 Many Thanks Gunjan Gupta It really worked the adding of the line echo Indeed i had done some updates, but i don't remember if i did any to kernel or something like that. The line echo had to be changed to like echo rootdev=UUID="<Your UUID>" >> /mnt/boot/armbianEnv.txt Because the file existed, but had no line to boot the sdcard. Thanks once again. Hope this helps others. 1 Quote Link to comment Share on other sites More sharing options...
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.