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
  • PinePhone BraveHeart now v1.2b 3/32Gb daily driver, Tow-boot with pmOS/SXMO on eMMC
  • PinePhone Pro Explorer Edition, Tow-boot on SPI, Arch/SXMO on eMMC
  • ROCKPro64 v2.1 2GB, 16Gb eMMC retired in favour of a fruity upgrade
  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 7,174 01-14-2020, 07:38 AM
Last Post: patstew
  Reboot problem on latest ayufan and 4.4 /dev/null 2 4,621 11-27-2019, 04:23 AM
Last Post: dukla2000
  DLNA and/or Plex problem with RockPro64 aldrick 10 11,230 10-20-2019, 10:34 PM
Last Post: aldrick
  Problem transferring rootfs to HDD alexvs 1 2,729 10-09-2019, 08:53 AM
Last Post: alexvs
  Reboot problem Drago 1 3,212 08-30-2018, 09:51 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 1 Guest(s)