Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CuBox-i: compile+install on laptop then move system on SD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Matte88
n00b
n00b


Joined: 15 Aug 2009
Posts: 54
Location: VE-NICE

PostPosted: Sun Jul 06, 2014 9:48 pm    Post subject: CuBox-i: compile+install on laptop then move system on SD Reply with quote

Hi all!

I just received from SoliRun a CuBox-i4Pro and I found this wiki entry: http://wiki.gentoo.org/wiki/Cubox-i

Is there a way to install Gentoo on laptop's hdd, compiling locally in my laptop (Intel 2nd gen i3) using the power of its CPU and then simply move the whole installed system on the SD card and then boot the Cubox?

Asking this because:
a) I want to speed up the whole process using the much powered CPU of my laptop instead of the CuBOX CPU;
b) read/write operations on SD card reduced at minimum

Thanks!
_________________
-Complichiamo le cose per semplificarci la vita-
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9464

PostPosted: Sun Jul 06, 2014 10:18 pm    Post subject: Reply with quote

If the CuBox had a compatible CPU, this would be as easy as installing a chroot. Since it does not, you will need to cross-compile all the relevant packages and install them into a separate area on the host. Some packages do not cross-compile easily or at all.
Back to top
View user's profile Send private message
Matte88
n00b
n00b


Joined: 15 Aug 2009
Posts: 54
Location: VE-NICE

PostPosted: Mon Jul 07, 2014 9:28 pm    Post subject: Reply with quote

So... The ARM on which I'd like having Gentoo running is this the CuBox-i4Pro http://www.solid-run.com/products/cubox-i-mini-computer/cubox-i-specifications/.

Can you please tell me something about this cross-compiling and what are the "risks" of packages that couldn't be installed at all?

I read something about on internet and I also found this link: http://landley.net/aboriginal/presentation.html but I think I didn't understand cross-compiling at all... :roll:
_________________
-Complichiamo le cose per semplificarci la vita-
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9464

PostPosted: Mon Jul 07, 2014 10:51 pm    Post subject: Reply with quote

Some packages have badly designed build systems that assume they can use the same compiler both to build the code to be installed and to build helpers that are run during the build. Such systems fail when cross-compiling because the code to be installed and the code to run during the build require different CPU architectures. Generally, if the cross-compile build completes successfully, then the resulting code should run correctly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum