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
  Tow Boot install help Paulie420 4 86 09-23-2022, 02:38 PM
Last Post: Paulie420
  manjaro on pinebook pro low audio quality over jack alcck 1 76 09-22-2022, 11:31 AM
Last Post: petersen77
  Fix for Armbian not booting on PBP from eMMC agreenbhm 1 306 09-13-2022, 05:01 AM
Last Post: akront
  Manjaro update: wxgtk dependency issue Vinay 5 226 09-09-2022, 12:03 PM
Last Post: Vinay
  Error trying to update Manjaro software boosterh 5 322 08-31-2022, 10:28 PM
Last Post: shulamy
  6/22 run of PBPs - is reimaging eMMC with new OS possible still? elitegamercody 25 981 08-31-2022, 04:30 PM
Last Post: wdt
  Help with Kali Linux wifi not working but works with Manjaro PineSupporter 2 640 08-25-2022, 02:15 PM
Last Post: Niko
  Debian emmc installer db579 6 427 08-23-2022, 06:13 AM
Last Post: db579
  Manjaro Gnome 22.06 pamac update fail/soft-bricked-OS u974615 5 272 08-21-2022, 12:00 PM
Last Post: u974615
  what is the magic dd incantation to copy the system from the sd card to the emmc? geokon 18 1,057 08-18-2022, 11:26 PM
Last Post: calinb

Forum Jump:


Users browsing this thread: 1 Guest(s)