Jump to content

System on SD card, how to move it to HDD


Go to solution Solved by Werner,

Recommended Posts

Hi. I have my orange PI OPT 3 LTS  running Ubuntu..

The system is installed in /dev/mmcblk0 (I believe that's the SD card?), and I just checked with gparted that it still has the Android it came with on /dev/mmcblk2 (I believe that's the internal memory?)

 

Anyway, I would like to move Ubuntu to the external USB HDD I added.  I created a /dev/sdb2 for it in ext4.

I launched nand-sata-install a few times, but I'm afraid of picking the wrong options.. Which options should I pick to ensure that it does not destroy my Ubuntu installation in the process?

 

Many thanks,

-t

 

 

 

Edited by turgut kalfaoglu
Link to comment
Share on other sites

As a followup, I easily migrated the OS to the HDD.. Here is what I did:

 

  • First I used gparted to shrink the current HDD partition and created a 50GB partition (just shrink the current partition by 50GB, wait 6 hours (it took that long!) and create a partition in the new blank space.
  • I had some mounted partitions to the root folder, like /media  and /media2  .. I removed them from fstab, because I couldn't unmount them (gave errors), I just rebooted the machine.
  • I launched the nand_sata_install and followed the prompts..
  • Waited about 15 minutes, it was done, rebooted. Done!
Edited by turgut kalfaoglu
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines