Question about Jails

2010-02-27 Thread Graeme Dargie
Hello List,

 

I understand this is possible but cant seem to find any how to`s or
guides out on the net, I would like to set up a jail running FreeBSD 8.0
i386 on a system that is running FreeBSD 8.0 amd64. I know this may
sound somewhat odd but I have a program that I need to run that just
will not compile under amd64.

 

Regards

 

Graeme

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question about Jails

2010-02-27 Thread Gökşin Akdeniz

 I understand this is possible but cant seem to find any how to`s or
 guides out on the net, I would like to set up a jail running FreeBSD 8.0
 i386 on a system that is running FreeBSD 8.0 amd64.

JAILS requires host and client systems source code in sync. So that makes it 
impossible to run a jail -i386- on -AMD64- host. You can only build a i386 
jail if and only if the host is i386.




signature.asc
Description: This is a digitally signed message part.


Re: Question about Jails

2010-02-27 Thread Tim Judd
On 2/27/10, Gökşin Akdeniz goksin.akde...@gmail.com wrote:

 I understand this is possible but cant seem to find any how to`s or
 guides out on the net, I would like to set up a jail running FreeBSD 8.0
 i386 on a system that is running FreeBSD 8.0 amd64.

 JAILS requires host and client systems source code in sync. So that makes it
 impossible to run a jail -i386- on -AMD64- host. You can only build a i386
 jail if and only if the host is i386.





Won't the lib32 subsystem allow the i386 jail to work with an amd64
host?  Or have I misunderstood the lib32 subsystem completely?  I have
no amd64 systems to work with, as I have only i386 at home.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question about Jails

2010-02-27 Thread Glen Barber
Hi,

Graeme Dargie wrote: 
 Hello List,
 
  
 
 I understand this is possible but cant seem to find any how to`s or
 guides out on the net, I would like to set up a jail running FreeBSD 8.0
 i386 on a system that is running FreeBSD 8.0 amd64. I know this may
 sound somewhat odd but I have a program that I need to run that just
 will not compile under amd64.
 

You want to set the TARGET for buildworld, which will create
/usr/obj/i386.  Use TARGET again for installworld to install from that obj
directory.

  make TARGET=i386 buildworld
  make TARGET=i386 DESTDIR=/usr/jails/myi386jail installworld

Regards,

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org