[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building i386 Disk on AMD64 -- chroot Fails: Exec format error



On Fri, Apr 06, 2007 at 10:42:10PM +0200, Matt Miller wrote:
> I've attached an external hard drive to my etch AMD64 box, and I want to
> build an etch i386 system on it.  I partitioned the drive, and used
> debootstrap to lay down a minimal i386 system on the drive.  The problem
> is that I want to chroot into that system to do some more stuff, but the
> chroot fails:
> 
> mmiller@xpc1:~$ sudo chroot /mnt/debinst /bin/bash chroot: cannot run
> command `/bin/bash': Exec format error
> 
> So, what's next?  Don't I need to be able to get into that i386 system
> and install a kernel and do some other things?  Can this type of cross-
> system build be done?
maybe the output of 'mount' command shows 'noexec' for that partition?
-- 
|  .''`.  == Debian GNU/Linux == |       my web site:           |
| : :' :      The  Universal     |mysite.verizon.net/kevin.mark/|
| `. `'      Operating System    | go to counter.li.org and     |
|   `-    http://www.debian.org/ |    be counted! #238656       |
|  my keyserver: subkeys.pgp.net |     my NPO: cfsg.org         |
|join the new debian-community.org to help Debian!              |
|_______  Unless I ask to be CCd, assume I am subscribed _______|

Attachment: signature.asc
Description: Digital signature


Reply to: