Fresh Manjaro does not boot from eMMC
#1
Hi,

I put Tow-boot on the SPI. Then I flashed Manjaro-ARM-gnome-pbpro-22.02.img to a SD card, booted from it and used the manjaro-arm-installer to put Manjaro on my eMMC. I selected the minimal version with FDE. The installer finishes and I turned of the PBP. I removed the SD card and turned it on again. Tow-boot showed up and I pressed ESC to select to boot from eMMC (I guess this is not required since the eMMC is higher up in the boot order than the SD). Booting however fails each time and gives the errors that are visible in the following image: https://imgur.com/Wek8KNw
Did this happen to anyone else? I tried multiple times now with tow-boot and u-boot. I tried with the minimal and gnome versions with and without FDE. Can somebody help please?
  Reply
#2
(03-22-2022, 06:59 PM)pentamassiv Wrote: Hi,

I put Tow-boot on the SPI. Then I flashed Manjaro-ARM-gnome-pbpro-22.02.img to a SD card, booted from it and used the manjaro-arm-installer to put Manjaro on my eMMC. I selected the minimal version with FDE. The installer finishes and I turned of the PBP. I removed the SD card and turned it on again. Tow-boot showed up and I pressed ESC to select to boot from eMMC (I guess this is not required since the eMMC is higher up in the boot order than the SD). Booting however fails each time and gives the errors that are visible in the following image: https://imgur.com/Wek8KNw
Did this happen to anyone else? I tried multiple times now with tow-boot and u-boot. I tried with the minimal and gnome versions with and without FDE. Can somebody help please?

Hello,

I won't be able to help you but similar thing happened to me after I flashed Tow-boot on the SPI. Booting from a USB flash-drive or SD works though.
When listing block devices the eMMC is not showing. Unfortunately I'm out travelling and my USB adapter eMMC module is not with me.
I'll be back home in a couple of weeks and I'll try some things but right now I'm in a bad spot. I remember seeing some error messages showing up regarding the eMMC when booting NixOS from a USB flash-drive.
  Reply
#3
Hi Janoz,
it sounds like there are different underlying issues for our problems. My eMMC shows up when booting from the SD and I also had the same issue even before installing Tow-boot. Maybe the eMMC module became lose while you were traveling?
I don't want to be impolite, but I think it becomes confusing when different problems are discussed in the same thread. Could you possibly open a new thread for your issue?

Regarding my issue, I tried a few more things. Since the error complains about something being wrong with the GPT, I ran
Code:
sudo gdisk /dev/mmcblk2
followed by the commands p and w. I tried booting and it failed with the same error.

WoC suggested in the chat that I should try running gparted. I booted Manjaro from the SD card, installed gparted and mtools and ran gparted. I then checked the partitions. There were no errors or anything. I also decrypted the LUKS partition and checked it. No errors. I also compared the sizes between the partitions on the eMMC and the SD and they are the same sizes (except that the LUKS partition on the eMMC is bigger since the SD only has 16 GB).
  Reply
#4
p and w ??? that would do nothing really, v at least to see what gdisk 'thinks'
maybe i for information, then r -recovery and then v and maybe b (or maybe f)
if v (again) says everything OK, then w
  Reply
#5
(03-22-2022, 06:59 PM)pentamassiv Wrote: Hi,

I put Tow-boot on the SPI. Then I flashed Manjaro-ARM-gnome-pbpro-22.02.img to a SD card, booted from it and used the manjaro-arm-installer to put Manjaro on my eMMC. I selected the minimal version with FDE. The installer finishes and I turned of the PBP. I removed the SD card and turned it on again. Tow-boot showed up and I pressed ESC to select to boot from eMMC (I guess this is not required since the eMMC is higher up in the boot order than the SD). Booting however fails each time and gives the errors that are visible in the following image: https://imgur.com/Wek8KNw
Did this happen to anyone else? I tried multiple times now with tow-boot and u-boot. I tried with the minimal and gnome versions with and without FDE. Can somebody help please?

I currently have the exact same problem, except that I am trying to use the default U-Boot that comes with Manjaro and have nothing on my SPI. I have tried both directly flashing the EMMC and flashing the EMMC from the manjaro-arm-installer (KDE version both times). I have even tried completely zeroing out the EMMC before writing the image, but I still get errors similar to the ones in your photo. Finally, I gave up, and just use Manjaro from a MicroSD card.
  Reply
#6
Well,, you could do it manually, since you have a bootable uSD
gdisk emmc to match SD, expand fs later
then save emmc boot sector, 34 sectors for gpt,,, dd 1st 16M -> emmc, restore emmc bootsector
Then copy partitions, however you like (cp -a, gzip|zcat|dd, clonezilla externally)
then edit extlinux.conf, fstab (or boot.scr??) on emmc
if it doesn't work, you still have SD to fall back to
  Reply
#7
The exact same issue occurs to me as well. I assume it is either Manjaro issue or Tow-Boot issue.
  Reply
#8
I have the the same issue unfortunately, did anyone end up finding a solution?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Manjaro Sway Theme Broken Eighty8 1 168 03-08-2024, 08:41 AM
Last Post: tophneal
Question Manjaro with Full Disk Encryption and GRUB dumetrulo 1 1,607 02-02-2024, 02:45 AM
Last Post: frankkinney
  Manjaro network problem late 2023 acruhl 1 215 01-19-2024, 11:32 PM
Last Post: Kevin Kofler
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 1,917 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 1,979 12-11-2023, 03:47 AM
Last Post: calinb
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 291 12-07-2023, 03:11 PM
Last Post: wdt
  Boot Order in Pinebook Pro food 8 993 11-23-2023, 07:37 AM
Last Post: KC9UDX
  Manjaro ARM: enabling external monitors & fixing Broadcom WiFi after updating trifleneurotic 2 746 11-14-2023, 10:57 AM
Last Post: trifleneurotic
  Manjaro [ARM Stable Update] 2021-07-23 issues Bocanila 1 1,913 08-21-2023, 09:10 PM
Last Post: vanessadonald
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 1,853 08-21-2023, 09:08 PM
Last Post: vanessadonald

Forum Jump:


Users browsing this thread: 1 Guest(s)