Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Restore root file system on second sd card

Featured Replies

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

  • Author

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?

 

  • Author

Thank you! It worked.

 

It would probably more convenient to change the UUID on the root fs of my backup card. I guess I'll try it next time.

 

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.