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.

Clone SATA drive from HDD to SSD

Featured Replies

Hi,

 

I own a Orange PI Plus 2 with SATA support. Until now without success I tried to migrate from a SD boot / HDD root setup, which is my current well working situation, to a SD boot / SSD root setup. I created two partitions on the SSD created a swap device on sda1 and root device on sda2 like on the HDD. Performed mkswap on /dev/sda1 and copied the HDD root filesystem to the SSD root file system to be /dev/sda2 using ' find . -print | cpio -pdvm' on a spare laptop with two SATA ports. I even copied the UUID from the root partition of the HDD to the root partition of the SSD.

 

Next I configured the system by changing the root device in armbianEnv.txt back to the SD card and issued the mkimage command as mentioned at the bottom of the boot.cmd file to create the boot.scr to go with that. Rebooting back to SD card boot and root went all fine while having the SSD connected to the SATA cable. I'm able to mount the filesystem on the /dev/sda2 of the SSD and all contents is there.

 

Next, in attempt to reach the desired SD card boot / SSD root setup, when issuing another mkimage with the root partition in armbianEnv.txt pointing to the UUID of the SSD, the system continually boots, fails and boots again et cetera.

 

What am I overlooking here ? Any clues ?

 

Kind regards,

Heymen

  Hey all, same question, slightly different take.

 

  I have a SD to SSD boot setup that works.  I'm able to make a 'DD' copy of the SD that also boots the SDD.  I'd like to make a backup of my SSD but obviously don't want to make a 'DD' copy of that.  Instead I plugged the SSD into my pc

and make a 'tar.gz' backup.

  Now, I have a second SSD  partitioned and mkfs'd same as orig.  Also duped UUID using tunefs.  I de-Ark'd the files to the SSD.  SSD is mountable on pc and browsable.  Plugged backup SSD into pi but get same boot sequence

as original poster :(

 

 

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.