Slackware - ARM This forum is for the discussion of Slackware ARM. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-01-2015, 09:25 PM
|
#1
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
chroot to arm with qemu
Has anyone been successful in setting up a chroot for slackwarearm? I tried following this guide here,but I am still getting the dreaded:
Code:
chroot: failed to run command '/bin/bash': No such file or directory
I have tried other tutorials that I have found on Google, but still have not been successful.
I even tried this one, but still no luck.
Before I throw in the towel, wanted to come here and see if anyone could help. Thanks! 
|
|
|
06-03-2015, 06:23 AM
|
#2
|
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,331
|
Have you populated a filesystem with arm executables? Does its bin directory contain bash?
|
|
|
06-03-2015, 01:06 PM
|
#3
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
Original Poster
|
It turned out that qemu-arm-static was not being built as a static binary. Once I did that, everything was fine. However, even using chroot, compiling programs is still painfully slow.
|
|
|
06-03-2015, 01:27 PM
|
#4
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,677
|
Quote:
Originally Posted by stormtracknole
It turned out that qemu-arm-static was not being built as a static binary. Once I did that, everything was fine. However, even using chroot, compiling programs is still painfully slow.
|
Well it's being emulated, after all. It's faster to build natively than inside QEMU. A Banana Pi is a cheap and fast ARM machine.
|
|
|
06-03-2015, 01:34 PM
|
#5
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
Original Poster
|
Quote:
Originally Posted by drmozes
Well it's being emulated, after all. It's faster to build natively than inside QEMU. A Banana Pi is a cheap and fast ARM machine.
|
I may have to give that a try. Thank you for pointing that out. 
|
|
|
06-03-2015, 01:37 PM
|
#6
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
Original Poster
|
I did recently purchase a raspberry pi 2 b and it's pretty good. Much faster than building on qemu or chroot. I may just get extra sd drives and keep a clone to quickly restore.
|
|
|
All times are GMT -5. The time now is 12:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|