Jump to content

HC4 re-use system in SATA


Go to solution Solved by Igge,

Recommended Posts

Posted

Good evening,

 

Is it possible to "re-use" the system on SATA ? And how would I do that.

 

I use a HC4 with SD card, a SSD and a HDD 

I flashed the SD card with Armbian_20.11.1_Odroidhc4_buster_current_5.9.12.img.xz

then used armbian-config to Boot from SD - system on SATA.  (sdb2)

also I installed PiHole, OMV ...

 

Due to an power failure the HC4 was not booting anymore.

With a newly flashed SD card its booting again, but of course its not using the system on sdb2 

When using armbian-config it would erase by sdb2 before 

Could I somehow use the system which still should be on sdb2 instead of starting from beginning?

 

thanks for your help

best Regards

Igge

Posted

I'm guessing.
Check the sata device name.
 

blkid

Then in /boot/armbianEnv.txt
Change rootdev with your sata device name.
Let me know if it works.

Posted

Unfortunately this is not working, 

I changed the rootdev UUID from the current one of mmcblk1p1 to the one of my sdb2 in /boot/armbianEnv.txt using nano.

When I reboot, board is not booting at all now.

 

I will flash the SD card again.

Posted
4 hours ago, Igge said:

I changed the rootdev UUID from the current one of mmcblk1p1 to the one of my sdb2 in /boot/armbianEnv.txt using nano.

sdb2 is not the UUID. It should be something like :
 

UUID=12346d03-4127-4fc2-9536-4e14f386acfa

 

Posted

Hi Nico,

thanks for your help. Sorry to answer only now, I needed to wait 24 hours to be able to write again.

 

What you describe is what I did 

blkid showed for /dev/mmcblk1p1: UUID="719e2259-339c-4a64-8012-cdd30ffc7dfc"

 

This UUID was the one mentioned in /boot/armbianEnv.txt

 

And I changed it to the UUID of /dev/sdb2: UUID="bd07f3d4-1caa-443d-b91a-07e4057b41f6"

 

didnt work

 

  • Solution
Posted

I managed to get it done,

on top of your advise I needed to change the UUID as well in the fstab

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

Important Information

Terms of Use - Privacy Policy - Guidelines