Can't boot on raspberry

Hi! I’ve tried to write many openSuse images on an SD for the raspberry using:

 xzcat [image].raw.xz | dd bs=4M of=/dev/sdX iflag=fullblock oflag=direct status=progress; sync

but i get stuck here:
https://i.ibb.co/wJVrPRg/error.jpg

What can i do?

Hi
What model Raspberry Pi and image are you using? Do you have a TTL serial cable to connect via USB from a second computer over USB and the likes of minicom? Have you done as suggested and hook up the ethernet cable?

Hi, i don’t have a TTL cable and the raspberry is a Pi 3B+. Iìve tried with Leap Jeos, Leap LQXT, Tumbleweed Jeos.

Hi
Let me test the latest Tumbleweed JeOS, did you connect an ethernet cable?

Nope, no cable connected.

Raspbian light is booting fine?

Yes, raspbian boot fine

Hi
Try connecting an ethernet cable…

Looks like the openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2020.03.25-Snapshot20200421.raw.xz image is foobar, drops to maintenance prompt…

The Leap-15.1-ARM-JeOS-raspberrypi3.aarch64-2019.05.17-Snapshot1.105 comes up fine…


sha256sum -c openSUSE-Leap-15.1-ARM-JeOS-raspberrypi3.aarch64-2019.05.17-Snapshot1.105.raw.xz.sha256
openSUSE-Leap-15.1-ARM-JeOS-raspberrypi3.aarch64-2019.05.17-Snapshot1.105.raw.xz: OK
sha256sum: WARNING: 14 lines are improperly formatted

xzcat openSUSE-Leap-15.1-ARM-JeOS-raspberrypi3.aarch64-2019.05.17-Snapshot1.105.raw.xz | dd bs=4M of=/dev/sdb iflag=fullblock oflag=direct

571+0 records in
571+0 records out
2394947584 bytes (2.4 GB, 2.2 GiB) copied, 367.807 s, 6.5 MB/s

minicom


Welcome to minicom 2.7.1

OPTIONS: I18n 
Port /dev/ttyUSB0, 11:39:29

Press CTRL-A Z for help on special keys

MMC:   mmc@7e202000: 0, mmc@7e300000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial
Out:   vidconsole
Err:   vidconsole
Net:   No ethernet found.
starting USB...
USB0:   scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:2...
** Invalid partition 3 **
Scanning mmc 0:1...                                                                                                                                                                            
Found EFI removable media binary efi/boot/bootaa64.efi                                                                                                                                         
libfdt fdt_check_header(): FDT_ERR_BADMAGIC                                                                                                                                                    
Scanning disk mmc@7e202000.blk...                                                                                                                                                              
Card did not respond to voltage select!                                                                                                                                                        
Scanning disk mmc@7e300000.blk...                                                                                                                                                              
Disk mmc@7e300000.blk not ready                                                                                                                                                                
Found 3 disks                                                                                                                                                                                  
FDT memrsv map 0: Failed to add to map                                                                                                                                                         
1281888 bytes read in 57 ms (21.4 MiB/s)                                                                                                                                                       
libfdt fdt_check_header(): FDT_ERR_BADMAGIC                                                                                                                                                    
FDT memrsv map 0: Failed to add to map                                                                                                                                                         
## Starting EFI application at 00080000 ...                                                                                                                                                    
Welcome to GRUB!                                                                                                                                                                               
                                                                                                                                                                                               
Waiting for Ethernet connection... done.                                                                                                                                                       
Please press 't' to show the boot menu on this console                                                                                                                                         
error: terminal `gfxterm' isn't found.                                                                                                                                                         
EFI stub: Booting Linux Kernel...                                                                                                                                                              
EFI stub: EFI_RNG_PROTOCOL unavailable, no randomness supplied                                                                                                                                 
EFI stub: Using DTB from configuration table                                                                                                                                                   
EFI stub: Exiting boot services and installing virtual address map...                                                                                                                          
                                                                                                                                                                                               
Welcome to openSUSE Leap 15.1 dracut-044-lp151.2.9.1 (Initramfs)!                                                                                                                              
                                                                          
....
....

Welcome to openSUSE Leap 15.1 - Kernel 4.12.14-lp151.28.36-default (ttyS0).                                                                                                                    
                                                                                                                                                                                               
                                                                                                                                                                                               
localhost login:

Hi
Re-did the Tumbleweed image and it seems fine now… boots up without issue.

O.O … i’m trying to write the image with another card reader. Are you using the

xzcat [image].raw.xz | dd bs=4M of=/dev/sdX iflag=fullblock oflag=direct status=progress; sync 

command?

Hi
No progress and run the sync command when finished;


xzcat openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2020.03.25-Snapshot20200421.raw.xz | dd bs=4M of=/dev/sdb iflag=fullblock oflag=direct

524+1 records in
524+1 records out
2198863872 bytes (2.2 GB, 2.0 GiB) copied, 331.362 s, 6.6 MB/s

sync

xzcat openSUSE-Leap-15.1-ARM-JeOS-raspberrypi3.aarch64-2019.05.17-Snapshot1.105.raw.xz | dd bs=4M of=/dev/sdb iflag=fullblock oflag=direct

571+0 records in
571+0 records out
2394947584 bytes (2.4 GB, 2.2 GiB) copied, 367.807 s, 6.5 MB/s

sync

I also use wipefs -a to delete the partitions and sdb before laying down the image. I also check the sha256sum…

I’ve not understood why, but decompress the xz and write raw image with gnome-disks did the trick. Now it works, thanks :smiley: