Jump to content

Recommended Posts

Posted

Hello,

 

I would like to recover my Armbian root file system on a second sd card. On the second sd card there is a slightly older Armbian version installed. Unfortunately my efforts ended up in a boot loop with the second card.

 

Here is what I did:

 

  • backup current Armbian
tar czpf ~/tmp/backupArm.tgz  --exclude=dev/* --exclude=proc/* --exclude=run/* --exclude=tmp/* --exclude=mnt/* .

 

  • restore backup on second card
tar xvzf ~/tmp/backupArm.tgz  

 

Both cards use MBR partition style. Partition starts at sector 2048.

 

Here are my SD cards details:

 

  • current (source)
fdisk -l /dev/sde
Disk /dev/sde: 29.3 GiB, 31440502784 bytes, 61407232 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc6a8c537

Device     Boot Start      End  Sectors Size Id Type
/dev/sde1        2048 60793151 60791104  29G 83 Linux
  • second (target)
fdisk -l /dev/sde
Disk /dev/sde: 28.8 GiB, 30908350464 bytes, 60367872 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x72530afd

Device     Boot Start      End  Sectors  Size Id Type
/dev/sde1        2048 59160511 59158464 28.2G 83 Linux

 

Any idea is welcome.

 

Regards,

Bernhard

Posted

First - sorry for my late reaction, but I thought the system would mail me if somebody answers my question.

 

Second - stupid me - I use normally old style device names or labels in fstab, so I didn't thought of the partitions UUID.  Is it enough to change the file armbianEnvt.txt or is there a second step to make it active?

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines