LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-30-2014, 06:47 AM   #1
neotello
LQ Newbie
 
Registered: Dec 2014
Posts: 1

Rep: Reputation: Disabled
Problem with chroot "Exec Format Error"


Hi all,

First at all, thanks to read the thread. I have a problem with chroot. I want to deploy a system of 32bits from livecd that contains a 64bit distribution. Well the basic problem is that i can't do chroot in a jail of a 32bit system from a 64bits livecd. I test this with out any problem in normal 64bits server. I know that isn't possible do chroot in a 64bit jail from a 32bits system, but doing chroot in a 32 jail from a 64 bit system shouldn't be problematic, no?

Thanks for your time, any help are welcome.
 
Old 12-30-2014, 07:44 AM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
I don't have any personal experience of using it, but in Debian the schroot package is used to run 32-bit chroots in 64-bit systems:
https://packages.debian.org/wheezy/schroot
https://www.debian.org/doc/manuals/d..._chroot_system

Sounds like you're talking about a BSD system though so I may be completely wrong here.
 
Old 01-01-2015, 01:16 AM   #3
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 676

Rep: Reputation: 137Reputation: 137
Quote:
Originally Posted by neotello View Post
Hi all,

First at all, thanks to read the thread. I have a problem with chroot. I want to deploy a system of 32bits from livecd that contains a 64bit distribution. Well the basic problem is that i can't do chroot in a jail of a 32bit system from a 64bits livecd. I test this with out any problem in normal 64bits server. I know that isn't possible do chroot in a 64bit jail from a 32bits system, but doing chroot in a 32 jail from a 64 bit system shouldn't be problematic, no?

Thanks for your time, any help are welcome.
May be kernel on your live cd not support i386 executables?
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux chroot under OpenBSD /bin/bash: Exec format error nolretou *BSD 9 06-23-2014 06:40 AM
Exec Format error on chroot business_kid Fedora 3 10-07-2012 09:51 AM
chroot: cannot execute /bin/sh: Exec format error jnojr Linux - General 8 06-24-2012 01:52 AM
chroot: cannot run command `/bin/bash': Exec format error snakeo2 Linux - Newbie 6 09-28-2010 04:41 AM
kldload keeps giving "Exec format error" jd121 *BSD 1 07-21-2003 12:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:26 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
Open Source Consulting | Domain Registration