Trouble with SDCard's, for RPi

Message
Author
User avatar
handy
Posts: 614
Joined: Mon Apr 23, 2018 2:00 pm

Trouble with SDCard's, for RPi

#1 Post by handy »

I've finally got around to attempting to upgrade my Pi-4 with the latest MX-23.1_rpi.img. Haven't done anything with the Pi's for quite some time apart from usage. So my old memory has me relearning things again.

Anyway, I've used the following on an unused 16GB SDCard:

Code: Select all

sudo dd bs=4M if=mx23.1_rpi.img of=/dev/sdb status=progress conv=fsync
There were no errors, it automatically mounted in my computer & I could look inside of the 2 directories. All seems fine.

I stick the SD into the Pi & it boots up, then has a kernel panic - Failed to execute /init ?

So I tried using another new SDCard, this time via the Pi-imager. It gives me an error:
Write error while trying to zero out last part of card. Card could be advertising wrong capacity (possible counterfeit).
The first card that I used also had GParted giving errors when I looked at it there. Something about a partition being outside the disk - from memory.
I expect that I'll get the same response from GParted too.

If anyone has any ideas about what the problem is I'd be happy to read them. I may be making an obvious mistake, dunno?
MSI: MAG B560 TORP', i5, RAM 16GB, GTX 1070 Ti 12GB, M2 238GB + USB, MX-23 Fb to Openbx
Lenovo: Ideapad 520S, i5, RAM 8GB, GPU i620, HDD 1TB, MX-23 Fb - Openbx
Clevo: P150SM-A, i7, RAM 16GB, nVidia 8600, 2x 1TB HDD & M.2 256 GB, MX-23 Fb - Openbx

User avatar
handy
Posts: 614
Joined: Mon Apr 23, 2018 2:00 pm

Re: Trouble with SDCard's, for RPi

#2 Post by handy »

I should mention that these are Verbatim cards that I have used previously, all bought from a reputable electronics firm - Jaycar Electronics.

I also did the sha256sum mx23.1_rpi.img & the numbers were identical.

The kernel panic says the following - I photographed & transcribed it:

Code: Select all

Failed to execute /init (error -2)
kernel panic - not syncing: no working init found. Try passing init= option to kernel. See Linux Documentation...
I've got the rest of it it - call trace & all the other stuff if it is of any use to anyone?
MSI: MAG B560 TORP', i5, RAM 16GB, GTX 1070 Ti 12GB, M2 238GB + USB, MX-23 Fb to Openbx
Lenovo: Ideapad 520S, i5, RAM 8GB, GPU i620, HDD 1TB, MX-23 Fb - Openbx
Clevo: P150SM-A, i7, RAM 16GB, nVidia 8600, 2x 1TB HDD & M.2 256 GB, MX-23 Fb - Openbx

User avatar
Jerry3904
Administrator
Posts: 23043
Joined: Wed Jul 19, 2006 6:13 am

Re: Trouble with SDCard's, for RPi

#3 Post by Jerry3904 »

I highly recommend that you try using MX Live USB Maker or RPi's Imager; I've never had a problem with either of them over a couple of years of intense RPi testing.

FWIW: I only use Samsung or San Disk sd cards b/c they keep coming to the top of evaluation charts.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

Post Reply

Return to “General”