Live booting an SD card

2 Likes

Is it the .img.xz file that I need?

1 Like

To be clear, you understand that you are doing that on another computer (typically a desktop or laptop), not on the phone itself?

If ā€œyesā€ then what distro and version do you have on your desktop / laptop?

Sounds odd. The certificate works for me, and gives

Validity
Not Before    Sat, 24 May 2025 19:54:03 GMT
Not After       Fri, 22 Aug 2025 19:54:02 GMT

i.e. comfortably within the validity period - and the CAs up the chain are likewise. You could, I guess, get the error that you got if the time on your computer is wrong. Please check the time.

But you shouldn’t be getting unmet dependencies anyway.


I understand that you may now wish to persevere with booting from SD card now that you have got past the issue of choosing an ISO for the wrong CPU architecture (x86 v ARM).

That will work but you need to unxz the file yourself before doing anything with it.

1 Like

Thank you very much! I’m now able to boot from the card. Now I have a real noob question: how do I overwrite the hard drive of the phone from this image?

2 Likes

I did not understand that, no.

It looks like the phone’s date and time went awry amid my tinkering today, so that could indeed be the cause here, though I’ve been having the issues with updating for many months, seemingly as a result of trying to configure anbox. If I don’t get things working from my SD card I’ll pursue this avenue.

I didn’t do that, but I assume since the file that I burned to my card is bootable that it must have been done under the hood by my disks utility.

2 Likes

Actually, yes, you are right. If you use Gnome Disks to restore a disk image then the disk image can have been compressed (as a .xz file) and Gnome Disks will then automatically behind the scenes decompress the disk image before use.

As such, I should have written: That will work but you need to unxz the file yourself before doing anything with it except restoring it with Gnome Disks.

I could be wrong but I don’t think Gnome Disks can create such a compressed disk image. So this may be an inconsistency in behaviour and leads to …

Also note that disk images created in certain ways may be compressed but the compression was not done with xz in which case I suspect that Gnome Disks won’t recognise or handle automatically the decompression when you restore the disk image.

1 Like

Should I simply copy the data on the card over to the phone’s hard drive with dd or a similar command?

1 Like

In the absence of a response from the person who is suggesting that you take this approach … what I would do, once booted from SD card, is get the same (compressed) disk image file onto the SD card and then use Gnome Disks to restore the disk image onto the eMMC drive. That is, use what you know how to do and what works. However dd should be fine too but then see my earlier comment about needing to unxz.

I haven’t tested this though. In fact, I have never booted from SD card. My SD card is not bootable and contains only user data (media). I use Jumpdrive and/or reflash for this kind of thing - which is fine. We are all different. :wink:

2 Likes

ā€œI’m not.ā€

1 Like