M
M
Mykhailo D2016-07-28 11:06:52
linux
Mykhailo D, 2016-07-28 11:06:52

Why doesn't it start after cloning OS to SD via dd?

I recorded Armbian on an SD card under Orange PI 2. The entire OS is on one partition. I created a user, configured it myself (removed the xfce taskbar, install several programs) decided to clone the image: sudo dd if=/dev/sdb1 of=/../../armbian.img
After writing armbian.img to another SD: sudo I run dd if=/../armbian.img of=/dev/sda1 on the same device - error during user login. And when you look at /home/ from the computer, then after cloning you can see this
3e4e690a39154cea9fe4e3c24766268b.jpg
How to copy the image correctly so that the users in the home are copied correctly?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Puma Thailand, 2016-07-28
@opium

try making a clone of sdb and not sdb1

Y
Yuri Chudnovsky, 2016-07-28
@Frankenstine

There are two options:
1) Forgot to unmount /dev/sda1 before running dd (when creating the image, when rolling the image, or both) and got a mess from the data of the old FS and the new one;
2) Broken card.

M
Mykhailo D, 2016-07-28
@mihanik1337

did not help, I attached a photo of the errors https://goo.gl/TCESph ... Unmounted, copied from sdb, rewrote back to unmounted sdb with the same bs=1M. I did everything as you wrote, in the end the same thing ...
The file system on the rob. OS using fdisk - 83 (Native Linux fs type: ext2, ext3, ext4)
Formatted a new flash drive with ext4

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question