LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-25-2012, 07:29 PM   #1
lonesoac0
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 89

Rep: Reputation: 4
Live-Build


Hello all,

I recently ordered a BeagleBoard-xM. I know that it has ARM architecture. I am building a custom Debian OS with live-build. My question is: How can I build an ARM compiled Debian on i386 using live-build?
 
Old 01-25-2012, 08:57 PM   #2
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,899

Rep: Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623
Quote:
Originally Posted by lonesoac0 View Post
Hello all,

I recently ordered a BeagleBoard-xM. I know that it has ARM architecture. I am building a custom Debian OS with live-build. My question is: How can I build an ARM compiled Debian on i386 using live-build?
From the Debian Live lb config man page

Quote:
-a|--architectures ARCHITECTURE
defines the architecture of the to be build image. By default, this
is set to the host architecture. Note that you cannot crossbuild
for another architecture if your host system is not able to execute
binaries for the target architecture natively. For example, build-
ing amd64 images on i386 and vice versa is possile if you have a
64bit capable i386 processor and the right kernel. But building
powerpc images on an i386 system is not possible.
So in answer to your question you can't do it, also I'm not sure ARM is even supported in Live Build.
 
Old 01-25-2012, 10:13 PM   #3
lonesoac0
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 89

Original Poster
Rep: Reputation: 4
Hmmmm.....I have read that live build does take the architecture of the host system as default and builds the system based off the host info. Since Debian does have ARM OS ports then it must have software repos that have pre-compiled ARM software too. So a possible new game plan is to wait for my BeagleBoard to show up, install a Mini-Debian onto it, and then use live-build on it. I think it might work. Not quite sure...lol
 
Old 01-25-2012, 11:48 PM   #4
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,899

Rep: Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623
You can only build a system that will run on the host system. So an x86-64 will successfully build an x86 but you can't build anything an x86-64 can't run natively and likewise you can't build anything on an x86 that it wont run natively.

Here is the Debian Packages page for a search on Live. You can see that yes it should work on ARM architectures but you will need an ARM compatible machine to create an ARM live system on.
 
Old 01-25-2012, 11:59 PM   #5
lonesoac0
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 89

Original Poster
Rep: Reputation: 4
Yeah man, that is where my BeagleBoard-xM comes into play. So as soon as my BeagleBoard gets here I will try it out!!
 
Old 01-26-2012, 12:26 AM   #6
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,899

Rep: Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623
Good luck, if you need any help with Live Build just ask here on on the Live build list
 
Old 01-26-2012, 05:51 PM   #7
lonesoac0
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 89

Original Poster
Rep: Reputation: 4
OMG! OMG! My BeagleBoard came today!
 
Old 01-26-2012, 08:43 PM   #8
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,899

Rep: Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623
Quote:
Originally Posted by lonesoac0 View Post
OMG! OMG! My BeagleBoard came today!
Excitement plus
 
Old 08-31-2012, 08:28 AM   #9
valdez151
LQ Newbie
 
Registered: Aug 2012
Posts: 4

Rep: Reputation: Disabled
Someone builded that with live-build?
 
  


Reply

Tags
arm, i386, livecd-creator


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Resuming build with lfs live-cd grumpy.biatch Linux From Scratch 9 01-01-2011 01:58 AM
different ways to build a live distribution rhodan1 Linux - Distributions 5 11-17-2010 08:25 PM
How to build a Slax live cd? JosephS Linux - Distributions 4 05-22-2009 03:15 AM
Trying to build live CD-need LQ Guru's help linus72 Linux - Newbie 2 03-22-2009 08:48 PM
Want to build my own Slackware Live CD ! perry Slackware 15 09-13-2007 09:52 PM


All times are GMT -5. The time now is 09:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration