[Arm-dev] move CentOS from SD-Card to SSD on Cubietruck

Mon Nov 21 17:57:41 UTC 2016
Andreas Reschke <arm_ml at rirasoft.de>

Am 21.11.2016 um 13:40 schrieb Michael Schumacher:
> Hi Andreas,
> 
> I did pretty much what you plan to do. You need to have the "/boot"
> partition on the SD-card and the "/" partition on your SSD.
> I make my comments in you list below:
> 
> Monday, November 21, 2016, 12:25:54 PM, you wrote:
> 
> 
> amrd> 1. dd CentOS-Userland-7-armv7hl-Minimal-1511-CubieTruck.img.xz to 
> amrd> SD-Card
> 
> correct.
> 
> use another PC and connect the SD-card and you SSD. Use GParted to
> move your root and swap partition to the SSD. Keep the /boot partition
> on the SD-card. You may want to resize the /root partition to some
> 16-32GByte.
> 
> amrd> 2. delete all Partions on SD-Card
> 
> dont't!
> 
> keep all partition on the SD-card. Modify
> /boot/extlinux/extlinux.conf and change the corresponding items. Use
> uuid-addresses to direct to the correct root partition on the ssd.
> Boot the system and check if it correctly starts from the SSD and not
> from the SD-disk. It it runs correctly, remove the /root and swap
> partition from the SD-disk. Use GParted to resize the /boot partition
> to use the whole SD-disk.
> 
> You will need the SD-card anyway to boot the system, but there is not
> much R/W access to that partition except at boot time, so the speed
> increase is significant.
> 
> I had to go through this process, because the /boot partition is too
> small to go through a successful kernel update. "yum update" wanted to
> update the kernel, it ran out of /boot-space and corrupted my system.
> If you need more details, I can supply more information later today. I
> don't have access to the system right now.
> 
>  best regards
> ---
> Michael Schumacher
> 
> _______________________________________________
> Arm-dev mailing list
> Arm-dev at centos.org
> https://lists.centos.org/mailman/listinfo/arm-dev
> 

Thanks for your help. No I've a running system with /boot on SD-Card and
all other filesystem on SSD.

A few RPMs from the coming c71611 testing are also installed.

Greetings
Andreas