ploubi

  • Posts

    3
  • Joined

  • Last visited

Reputation Activity

  1. Like
    ploubi got a reaction from aprayoga in How can I move the root filesystem manually from sata drive to eMMC   
    Hello,
     
    After I first installed my Helios64, I feared the 16Gb eMMC would be quickly filled.
    So when I used nand-sata-install, I chose to boot from eMMC but to have the root filesystem on a 500Gb sata drive.
     
    I have now second thoughts about it, since I realized that the OS take less than 8Gb, AND I'd like to add a 5th disk to my raid
    Halas nand-sata-install doesn't seem to work on an already moved filsystem.
     
    lsblk show this for the eMMC and the root partition
    peyo@helios64:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465,8G 0 disk └─sda1 8:1 0 465,8G 0 part / ... mmcblk2 179:0 0 14,6G 0 disk └─mmcblk2p1 179:1 0 14,4G 0 part /media/mmcboot  
    And /etc/fstab shows this
     
    UUID=f2d7d6e7-902c-44dc-bdae-aedeb4495385 /media/mmcboot ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro,x-gvfs-hide 0 1 /media/mmcboot/boot /boot none bind 0 0 UUID=0fcd9a2c-9a46-4a5e-a0f5-e407bd34e8fb / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro,x-gvfs-hide 0 1 ... And in /media I have this
    peyo@helios64:~$ ll /media/ total 8 drwxr-xr-x 3 root root 4096 déc. 6 11:31 mmcboot drwxr-xr-x 2 root root 4096 déc. 6 11:31 mmcroot  
     
    Would it be so simple as
    1 - rsync all that's on my present / (except for the NFS export and /tmp)?
    2 - changin /etc/fstab to this
    UUID=f2d7d6e7-902c-44dc-bdae-aedeb4495385 / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro,x-gvfs-hide 0 1 3 - reboot (with crossed fingers)
     
    Thanks for you help