Restoring img file to eMMC
#1
Hi

I ran update/upgrade on my debian installation on eMMC yesterday which resulted in the system not booting anymore.
I have a backup image file of the eMMC which I did with gnome-disks but after booting a system from USB and trying to restore the image to eMMC the process is stuck on 0.0%. First I thought it might be calculating something, so I left the computer on all night, but when I woke up it was still at 0.0%. Is there perhaps some other way to restore the image to eMMC ? I don't have the USB->eMMC adapter unfortunately, otherwise I would have tried it to. Installing LUKS debian was a bit of a hassle, so inputs are appreciated if I can get it up and running again without having to go through the whole installation again.
#2
try using dd in terminal instead of something like Gnome Disks.
#3
I'm trying with dd now. Doing: dd if=/pathtoimg of=/dev/mmcblk1

I can see in 'top' that dd is running, but the program isn't outputing anything. Similar to how gnome-disks did (could also see it running with load in top).

Never used dd before, is it normal for it to not have any output during operation ?
#4
Nvm my question, I aborted it and saw 40gb copied so I guess its working quietly.
#5
add status=progress in your dd command next time so you can get some feedback. Without status=, there is no feedback(unless you issue a -USR1 systemcall in another terminal)
dd if=/pathtoimg of=/dev/mmcblk1 status=progress
#6
Thanks ya'all

Restoring with dd worked like a charm.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,369 12-13-2023, 07:22 PM
Last Post: trillobite
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 929 12-07-2023, 03:11 PM
Last Post: wdt
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 2,542 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Blank screen after Armbian 20.04 install to emmc? psychoacoustic 3 4,470 04-01-2023, 03:22 PM
Last Post: TRS-80
  Fix for Armbian not booting on PBP from eMMC agreenbhm 7 5,502 04-01-2023, 02:58 PM
Last Post: TRS-80
  My installation guide starting from messed up eMMC Besouro 0 1,198 12-19-2022, 01:01 PM
Last Post: Besouro
  newer ""emmc-installer" images (manjaro xfce) magistral 1 1,475 10-10-2022, 06:22 AM
Last Post: maxjrh
  6/22 run of PBPs - is reimaging eMMC with new OS possible still? elitegamercody 29 16,283 10-04-2022, 07:55 PM
Last Post: wdt
  Debian emmc installer db579 6 4,059 08-23-2022, 06:13 AM
Last Post: db579
  what is the magic dd incantation to copy the system from the sd card to the emmc? geokon 18 13,209 08-18-2022, 11:26 PM
Last Post: calinb

Forum Jump:


Users browsing this thread: 1 Guest(s)