Problem with DD
#1
Sad 
Hello everyone. I have a problem with making backup through dd.
Example:
Through PINE installer on windows i installed some image of Linux on SD card.
Then on linux machine through dd command (dd if=/dev/mmcblk0p conv=sync bs=64K | gzip ~/image.img.gz) i made image of this SD card.
Then i copied (gunzip -c ~/image.img.gz |dd of=/dev/mmcblk0o conv=sync bs=64K) image from my file to SD card.
And this doesn't work, system is not loading. 
Gparted cant read what kind of FS using partitions after making copy on SD card.
Has anyone encountered this?
  Reply
#2
Suspect you have a problem with your devices: my RP64 has /dev/mmcblk0 and /dev/mmcblk0p1 etc
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
  Reply
#3
If you made a block copy of a running system with the block device mounted, you're doing a very bad thing, as there is no guarantee of that state being consistent in any way while your block copy is ongoing.

Occasional Linux Kernel Contributor, Avid Wiki Updater, Ask Me About Quartz64
Open Hardware Quartz64 Model A TOSLink Adapter
Pi-bus GPIO Extender For ROCKPro64 And Quartz64 Model A
Plebian GNU/Linux
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem with compiling ayufans linux kernel voegelit 4 6,835 01-14-2020, 07:38 AM
Last Post: patstew
  Reboot problem on latest ayufan and 4.4 /dev/null 2 4,424 11-27-2019, 04:23 AM
Last Post: dukla2000
  DLNA and/or Plex problem with RockPro64 aldrick 10 10,750 10-20-2019, 10:34 PM
Last Post: aldrick
  Problem transferring rootfs to HDD alexvs 1 2,602 10-09-2019, 08:53 AM
Last Post: alexvs
  Reboot problem Drago 1 3,057 08-30-2018, 09:51 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 2 Guest(s)