Jump to content

Odroid HC1 - OS / Armbian on hdd ?


kris777

Recommended Posts

Is it possible to transfer the entire Armbian system from SD card to HDD? ... it is known that the SD card has a lower endurance than such a HDD dist (write, read etc.)
I tried to transfer the system in such a way that I first upgraded the kernel to the newest one on the SD card and then moved the system files to a partition on the HDD:

mount /dev/sda1 /mnt
time tar --one-file-system -cpf - / | (cd /mnt && tar -xpf -)

then knowing the sda1 partition information and ID

lsblk -f

then knowing the sda1 partition information and ID
I changed the UUID / HDD number in two locations

nano /boot/boot.ini
Quote

# default settings, will be overwritten from armbianEnv.txt
setenv macaddr "01:1b:06:77:7a:44"
setenv rootdev "UUID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxxxxxxxx"
setenv rootfstype "ext4"
setenv console "both"
setenv bootlogo "false"
setenv verbosity "1"

and

nano /etc/fstab
Quote

UUID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxxxxxxxx / ext4 defaults,noatime,commit=600,errors=remount-ro 0 1
tmpfs /tmp tmpfs defaults,nosuid 0 0

after rebooting the system ... surprisingly it works OK, but actually the samba / ftp network (server vsftpd).
The update also seems to work OK, i.e.
apt update / apt upgrade ...
However, there are programs that cause the Armbian system to stop working completely, eg transmission when downloading files to the HDD? ... restarting the system helps, but is it the fault of the transmission program itself copied from the SD card or maybe the Armbian system cannot work properly on the HDD? ...
or maybe something else needs to be done to correctly transfer the system from the SD card to the HDD?

if I restore the settings and boot from the SD card, Armbian / transmission / download works OK? I haven't checked the option of uninstalling transmission from the system to HDD yet and setting everything up again ... but will it help? 

Edited by kris777
Link to comment
Share on other sites

I did it with a tool built into the Armbian system ... the system has been moved to the sda1 partition, so far it works OK.
 

nand-sata-install

There is also a possibility that something is wrong with the hardware, maybe HC1 / power supply, etc., I have to look for.

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